From 88c7a0a97894ee598bd22d396694f7e79c9aaca5 Mon Sep 17 00:00:00 2001 From: Kazuhito Hokamura Date: Sat, 8 Jun 2013 12:22:42 +0900 Subject: [PATCH 1/2] shadow-dom: Add reftest for styles --- .../not-apply-in-shadow-root-001-ref.html | 27 +++++++++++++ .../styles/not-apply-in-shadow-root-001.html | 39 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 shadow-dom/styles/not-apply-in-shadow-root-001-ref.html create mode 100644 shadow-dom/styles/not-apply-in-shadow-root-001.html diff --git a/shadow-dom/styles/not-apply-in-shadow-root-001-ref.html b/shadow-dom/styles/not-apply-in-shadow-root-001-ref.html new file mode 100644 index 00000000000000..ea5583fe33417b --- /dev/null +++ b/shadow-dom/styles/not-apply-in-shadow-root-001-ref.html @@ -0,0 +1,27 @@ + + + + +Shadow DOM Test + + + + +

Test passes if CSS rules declared in an enclosing tree must not apply in a shadow tree.

+
+ + diff --git a/shadow-dom/styles/not-apply-in-shadow-root-001.html b/shadow-dom/styles/not-apply-in-shadow-root-001.html new file mode 100644 index 00000000000000..8be1877b96b774 --- /dev/null +++ b/shadow-dom/styles/not-apply-in-shadow-root-001.html @@ -0,0 +1,39 @@ + + + + +Shadow DOM Test - Tests CSS rules must not apply in a shadow root + + + + + + + + +

Test passes if CSS rules declared in an enclosing tree must not apply in a shadow tree.

+
+ + + From 2afc620fb76e4e2ed0b459b4fe7626a1b3427e60 Mon Sep 17 00:00:00 2001 From: Kazuhito Hokamura Date: Sat, 8 Jun 2013 16:32:21 +0900 Subject: [PATCH 2/2] shadow-dom: fix message --- shadow-dom/styles/not-apply-in-shadow-root-001-ref.html | 2 +- shadow-dom/styles/not-apply-in-shadow-root-001.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shadow-dom/styles/not-apply-in-shadow-root-001-ref.html b/shadow-dom/styles/not-apply-in-shadow-root-001-ref.html index ea5583fe33417b..fdcc6e5ba2129a 100644 --- a/shadow-dom/styles/not-apply-in-shadow-root-001-ref.html +++ b/shadow-dom/styles/not-apply-in-shadow-root-001-ref.html @@ -21,7 +21,7 @@ -

Test passes if CSS rules declared in an enclosing tree must not apply in a shadow tree.

+

Test passes if following box is green.

diff --git a/shadow-dom/styles/not-apply-in-shadow-root-001.html b/shadow-dom/styles/not-apply-in-shadow-root-001.html index 8be1877b96b774..30ac794666d9a4 100644 --- a/shadow-dom/styles/not-apply-in-shadow-root-001.html +++ b/shadow-dom/styles/not-apply-in-shadow-root-001.html @@ -25,7 +25,7 @@ -

Test passes if CSS rules declared in an enclosing tree must not apply in a shadow tree.

+

Test passes if following box is green.