commit | 70d0ebbd7ac5740c95a6e982d48fa7a4bfec85a5 | [log] [tgz] |
---|---|---|
author | Fergal Daly <fergal@chromium.org> | Thu Apr 05 06:24:07 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 05 06:24:07 2018 |
tree | 11f68ad6afd66efddc5914b21d36e2c1606d75d0 | |
parent | 6963de52c51d7f46dc97eb2f6aad08ffe35f9d67 [diff] |
CSS: Add WPT tests for basic ::part() functionality. 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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .