Closed Bug 1470028 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 11594 - Don't clear non-layout-object style for PseudoElements.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:
>  Don't clear non-layout-object style for PseudoElements.
>  
>  They are only used for storing an extra ComputedStyle for
>  display:contents pseudo elements as the ComputedStyle for rendering uses
>  a display:inline with only properties inherited for the parent element.
>  
>  Bug: 854563
>  Change-Id: I4dd3d99b0dee0b538645d005b36347b469799244
>  Reviewed-on: https://chromium-review.googlesource.com/1107802
>  WPT-Export-Revision: 7432356746c2f1bf50a05e9ec6c038af019bb1e7
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Ran 1 tests and 9 subtests
OK     : 1
PASS   : 5
FAIL   : 4

New tests that have failures or other problems:
/css/cssom/getComputedStyle-pseudo.html
    Dynamically change to display: contents on pseudo-elements: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e0fdd32d8a99
[wpt PR 11594] - Don't clear non-layout-object style for PseudoElements., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/12135f1f3488
[wpt PR 11594] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/e0fdd32d8a99
https://hg.mozilla.org/mozilla-central/rev/12135f1f3488
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.