github web-platform-tests/wpt merge_pr_48518

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
5 months ago

[nesting] Empty CSSNestedDeclarations should not affect outer cssText

It's possible to get empty CSSNestedDeclarations rules using CSSOM,
and such rules serialize as the empty string. This causes "junk whitespace" in the serialization of outer rules, which is unattractive.
The CSSOM spec was therefore recently changed to ignore child rules
which serialize to empty strings.

Bug: 343463516
Change-Id: I71738906b3b7979654bd0b723a57e048d6ce2195
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5901835
Reviewed-by: Steinar H Gunderson sesse@chromium.org
Commit-Queue: Anders Hartvoll Ruud andruud@chromium.org
Cr-Commit-Position: refs/heads/main@{#1365466}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.