Closed Bug 1871534 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 43777 - Traverse custom properties for cssText when expanding 'all' property

Categories

(Core :: DOM: CSS Object Model, task, P4)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 43777 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/43777
Details from upstream follow.

Rune Lillesveen <futhark@chromium.org> wrote:

Traverse custom properties for cssText when expanding 'all' property

The serializer for cssText when 'all' was expanded into longhands
traversed all standard properties, but custom property declarations were
ignored and just dropped.

When expanding 'all', first traverse the declarations in the property
set and serialize the custom property declaration before traversing all
standard longhands.

Bug: 1512204
Change-Id: I04df2078b6fbae71477ff0074364e290f4b65d9b
Reviewed-on: https://chromium-review.googlesource.com/5144971
WPT-Export-Revision: a1765f476ab897bab505bd6ae3563b8dece44f91

Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d5811d14e94a [wpt PR 43777] - Traverse custom properties for cssText when expanding 'all' property, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.