3.0.4
- FIX: Keep own and descendant text separate when combining
:-soup-contains()and:-soup-contains-own(). - FIX: Cache resolved directionality when matching
:dir()to avoid quadratic time on deeply nested
dir="auto"elements. - FIX: Fix
autohandling in regard to:dir()selector. When an element withdir="auto"(or a<bdi>)
contains no strong direction characters, it should be assumed as left-to-right and not assume the direction of the
parent. - FIX: Match numeric input ranges correctly when values or bounds use scientific notation.
- FIX: Fix
:in-rangeand:out-of-rangeraisingValueErrorforweekinputs whose week-year is 10000 or
greater. - FIX: Fix
:nth-last-child(an+b of S)matching the wrong elements when the first sibling tested does not
matchS. - FIX:
escape()now only leaves non-ASCII identifier code points unescaped, as defined by the CSS specification.
All other non-ASCII characters are escaped. - FIX: Allow unescaped U+0080 - U+009F characters in identifiers to match browser behavior.
- FIX: Fix
:in-rangeand:out-of-rangetreatingtimeanddatetime-localvalues with seconds as
invalid.