Closed Bug 1449819 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10228 - CSS: Add WPT tests for basic ::part() functionality.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fergal Daly <fergal@chromium.org> wrote:
>  CSS: Add WPT tests for basic ::part() functionality.
>  
>  Tests cover the following:
>  - Simple - Part in selected host is styled
>  - Host Stylesheet - Part in selected host is not styled by ::part in a stylesheet inside the host
>  - Different Host - Part is not styled when host is not selected
>  - Inner Host
>   - Part in outer host is styled by document style sheet
>   - Part in inner host is not styled by document style sheet
>  - Compound Positive - Compound selector for host works
>  - Compound Negative - Non-matching compound selector for host does not style
>  - All Hosts
>   - ::part with host selector styles in first host
>   - ::part with host selector styles in second host
>  - Chaining Negative - ::part cannot be chained to reach elements in the inner host
>  
>  
>  Bug: 805271
>  Change-Id: I8c16ae09547bd833dbcc1eb0afb8be91a40c0a8e
>  
>  Reviewed-on: https://chromium-review.googlesource.com/983833
>  WPT-Export-Revision: a7498c7d696fcfeda57a8309202f5cbf1f7baeb7
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 8 tests and 8 subtests
OK     : 8
FAIL   : 8

New tests that have failures or other problems:
/css/css-shadow-parts/all-hosts.html
    CSS Shadow Parts - All Hosts: FAIL
/css/css-shadow-parts/chaining-negative.html
    CSS Shadow Parts - Chaining Negative: FAIL
/css/css-shadow-parts/compound-negative.html
    CSS Shadow Parts - Compound Negative: FAIL
/css/css-shadow-parts/compound-positive.html
    CSS Shadow Parts - Compound Positive: FAIL
/css/css-shadow-parts/different-host.html
    CSS Shadow Parts - Different Host: FAIL
/css/css-shadow-parts/host-stylesheet.html
    CSS Shadow Parts - Host Stylesheet: FAIL
/css/css-shadow-parts/inner-host.html
    CSS Shadow Parts - Inner Host: FAIL
/css/css-shadow-parts/simple.html
    CSS Shadow Parts - Simple: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b77aba04cf62
[wpt PR 10228] - CSS: Add WPT tests for basic ::part() functionality., a=testonly
https://hg.mozilla.org/mozilla-central/rev/b77aba04cf62
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.