From dbd9c7bfab23e588841138d2adc248ff80ccfbe3 Mon Sep 17 00:00:00 2001 From: "rniwa@webkit.org" Date: Mon, 9 May 2016 17:48:49 +0000 Subject: [PATCH] Focusing a shadow host places the slot content after the shadow DOM content https://bugs.webkit.org/show_bug.cgi?id=154770 Reviewed by Antti Koivisto. Add a regression test now that the bug has been fixed. * fast/shadow-dom/shadow-layout-after-focus-expected.html: Added. * fast/shadow-dom/shadow-layout-after-focus.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@200581 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- LayoutTests/ChangeLog | 13 ++++ .../shadow-layout-after-focus-expected.html | 7 +++ .../fast/shadow-dom/shadow-layout-after-focus.html | 70 ++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 LayoutTests/fast/shadow-dom/shadow-layout-after-focus-expected.html create mode 100644 LayoutTests/fast/shadow-dom/shadow-layout-after-focus.html diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index 4484c30..85ea877 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,5 +1,18 @@ 2016-05-09 Ryosuke Niwa + Focusing a shadow host places the slot content after the shadow DOM content + https://bugs.webkit.org/show_bug.cgi?id=154770 + + + Reviewed by Antti Koivisto. + + Add a regression test now that the bug has been fixed. + + * fast/shadow-dom/shadow-layout-after-focus-expected.html: Added. + * fast/shadow-dom/shadow-layout-after-focus.html: Added. + +2016-05-09 Ryosuke Niwa + REGRESSION (198056): Unable to use edit buttons on WordPress https://bugs.webkit.org/show_bug.cgi?id=157475 diff --git a/LayoutTests/fast/shadow-dom/shadow-layout-after-focus-expected.html b/LayoutTests/fast/shadow-dom/shadow-layout-after-focus-expected.html new file mode 100644 index 0000000..e704d24 --- /dev/null +++ b/LayoutTests/fast/shadow-dom/shadow-layout-after-focus-expected.html @@ -0,0 +1,7 @@ + + + +

Test passes if you see a single 100px by 100px green box below.

+
+ + diff --git a/LayoutTests/fast/shadow-dom/shadow-layout-after-focus.html b/LayoutTests/fast/shadow-dom/shadow-layout-after-focus.html new file mode 100644 index 0000000..be3a5e4 --- /dev/null +++ b/LayoutTests/fast/shadow-dom/shadow-layout-after-focus.html @@ -0,0 +1,70 @@ + + + + +

Test passes if you see a single 100px by 100px green box below.

+
+
FAIL - misplaced
+
+
+ + + -- 1.8.3.1