Closed Bug 1626701 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 22615 - Implement basic support for 'revert'

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anders Hartvoll Ruud <andruud@chromium.org> wrote:

Implement basic support for 'revert'

CascadeMap now holds the cascaded declarations for the user-agent, user,
and author origins separately. The 'revert' keyword is resolved to
the cascaded value for the target origin before being applied to
ComputedStyle. (This can happen recursively up to the kUserAgent origin.

Note that 'revert' will not yet work to/from surrogates (css-logical
properties), nor in @keyframes.

Bug: 579788
Change-Id: I98b40d596867129e486035f9cd9f20e7b7cbe08e

Reviewed-on: https://chromium-review.googlesource.com/2130268
WPT-Export-Revision: 92c38412c5667eed4ee7540d0864f3bb220c3ac8

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/62c23adf7d82
[wpt PR 22615] - Implement basic support for 'revert', a=testonly
https://hg.mozilla.org/integration/autoland/rev/13be3aec73b8
[wpt PR 22615] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.