https://github.com/web-platform-tests/wpt
Revision f1a4e49db7174db444193a687b6581526b1903ab authored by Fergal Daly on 05 April 2018, 06:33:47 UTC, committed by Chromium WPT Sync on 05 April 2018, 06:33:47 UTC
https://drafts.csswg.org/css-shadow-parts/

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
Commit-Queue: Fergal Daly <fergal@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Takayoshi Kochi <kochi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548349}
1 parent 1d21646
History
Tip revision: f1a4e49db7174db444193a687b6581526b1903ab authored by Fergal Daly on 05 April 2018, 06:33:47 UTC
CSS: Add WPT tests for basic ::part() functionality.
Tip revision: f1a4e49
File Mode Size
resources
OWNERS -rw-r--r-- 44 bytes
body-basic-manual.html -rw-r--r-- 981 bytes
body-empty-manual.html -rw-r--r-- 1.2 KB
common.js -rw-r--r-- 1.5 KB
constructor-basic.html -rw-r--r-- 824 bytes
constructor-invalid.html -rw-r--r-- 718 bytes
event-onclick-manual.html -rw-r--r-- 870 bytes
event-onclose.html -rw-r--r-- 1019 bytes
event-onerror-default-manual.html -rw-r--r-- 1.0 KB
event-onerror-denied-manual.html -rw-r--r-- 970 bytes
event-onshow.html -rw-r--r-- 1014 bytes
icon-basic-manual.html -rw-r--r-- 1006 bytes
icon-empty-manual.html -rw-r--r-- 939 bytes
instance.html -rw-r--r-- 2.0 KB
interfaces.html -rw-r--r-- 3.1 KB
lang.html -rw-r--r-- 2.3 KB
permission.html -rw-r--r-- 535 bytes
requestPermission-denied-manual.html -rw-r--r-- 773 bytes
requestPermission-granted-manual.html -rw-r--r-- 566 bytes
shownotification-resolve-manual.https.html -rw-r--r-- 1.7 KB
tag-different-manual.html -rw-r--r-- 1.4 KB
tag-same-manual.html -rw-r--r-- 1.4 KB

back to top