You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 916cf37
Browse filesBrowse the repository at this point in the historyBrowse files
fix(css): keep a rule nested under a selector opening on a combinator when lowering (#22707)
* fix(css): keep a rule nested under a selector opening on a combinator when lowering
Lowering resolves nested rules innermost first, so a rule inside one whose
list opens on a combinator was written as :is(~b) c, which no engine
parses, and a list mixing selectors that name & with ones that do not lost
the parent the others imply. Such a parent is now written with & in every
selector, which the next level out fills in. Found in Swiper 14 on the
default browserslist.
* fix(css): trim only CSS whitespace off a nested selector when lowering
String#trim also takes U+1680 and the other Unicode spaces, which an
identifier carries as ordinary characters, so .b<U+1680> became .b.
* test: make two watch-timing cases robust to slow and lossy runners
hotspots-per-build bounded a 130 ms busy loop by wall clock, so a pause
inside the loop under Bun --smol failed it; it now compares the report
with the loop's own measured time, which still catches carried-over time.
The watch harness could not re-send a deletion macOS dropped, since the
retouch skipped files that no longer exist: it now deletes them again,
and counts a deleted file a build resolved as missing as seen.
0 commit comments