Closed Bug 1480047 Opened Last year Closed Last year

[wpt-sync] Sync PR 12252 - wrote web-platform test for bug 859692

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Momoko Sumida <momon@google.com> wrote:
>  wrote web-platform test for bug 859692
>  
>  :scope selector does not match if context object is a shadow root
>  
>  :scope does not work for shadow root, and when its direct child element or its descendants should get selected, :scope matches nothing.
>  :scope works fine for descendant elements within shadow root.
>  
>  Change-Id: I801706eb7891035dcb900588d5542bd48fa1c12a
>  Reviewed-on: https://chromium-review.googlesource.com/1158445
>  WPT-Export-Revision: 4f28e710291b6a8c5af58684a875f5bfcbc72c83
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 4 subtests
OK     : 1
PASS   : 2
FAIL   : 2

New tests that have failures or other problems:
/css/selectors/scope-selector.html
    Selecting descendants of shadow root with :scope should work: FAIL
    Selecting direct child of shadow root with :scope should work: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/337b6f0c1dc4
[wpt PR 12252] - Add WPT for :scope selector on shadow trees, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/ebb1c03e09cd
[wpt PR 12252] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/337b6f0c1dc4
https://hg.mozilla.org/mozilla-central/rev/ebb1c03e09cd
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.