From 187b9ef431b5f055f15dd9f14cf6f74c1e51fa05 Mon Sep 17 00:00:00 2001 From: Shanmuga Pandi M Date: Fri, 24 Nov 2017 11:40:23 -0500 Subject: [PATCH] Upstream LayoutTests/html/dialog/*.html to WPT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Convert js-test.js based tests to testHarness based on test. And upstream to WPT. Bug: 761790 Change-Id: I97b896cce51fa33a8a17c73fb0ed8242249881ff Reviewed-on: https://chromium-review.googlesource.com/768430 Reviewed-by: Philip Jägenstedt Commit-Queue: Philip Jägenstedt Cr-Commit-Position: refs/heads/master@{#518911} --- .../abspos-dialog-layout.html | 223 ++++++++++++++++++ .../dialog-scrolled-viewport.html | 45 ++++ ...nert-does-not-match-disabled-selector.html | 35 +++ .../inert-node-is-unfocusable.html | 58 +++++ 4 files changed, 361 insertions(+) create mode 100644 html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html create mode 100644 html/semantics/interactive-elements/the-dialog-element/dialog-scrolled-viewport.html create mode 100644 html/semantics/interactive-elements/the-dialog-element/inert-does-not-match-disabled-selector.html create mode 100644 html/semantics/interactive-elements/the-dialog-element/inert-node-is-unfocusable.html diff --git a/html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html b/html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html new file mode 100644 index 00000000000000..e97ebee59f40d7 --- /dev/null +++ b/html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html @@ -0,0 +1,223 @@ + + + +Tests layout of absolutely positioned modal dialogs. + + + + +It is my dialog. +
+
+
+ diff --git a/html/semantics/interactive-elements/the-dialog-element/dialog-scrolled-viewport.html b/html/semantics/interactive-elements/the-dialog-element/dialog-scrolled-viewport.html new file mode 100644 index 00000000000000..8a59ba23e4331c --- /dev/null +++ b/html/semantics/interactive-elements/the-dialog-element/dialog-scrolled-viewport.html @@ -0,0 +1,45 @@ + + + + + + + + +
+ + +
+ + + diff --git a/html/semantics/interactive-elements/the-dialog-element/inert-does-not-match-disabled-selector.html b/html/semantics/interactive-elements/the-dialog-element/inert-does-not-match-disabled-selector.html new file mode 100644 index 00000000000000..b3b0c0a929732d --- /dev/null +++ b/html/semantics/interactive-elements/the-dialog-element/inert-does-not-match-disabled-selector.html @@ -0,0 +1,35 @@ + + + + + + + + + + + + + diff --git a/html/semantics/interactive-elements/the-dialog-element/inert-node-is-unfocusable.html b/html/semantics/interactive-elements/the-dialog-element/inert-node-is-unfocusable.html new file mode 100644 index 00000000000000..49d6690d6736fc --- /dev/null +++ b/html/semantics/interactive-elements/the-dialog-element/inert-node-is-unfocusable.html @@ -0,0 +1,58 @@ + + + + + + + + + +
+ + + + +
I'm editable
+ I'm tabindexed.
+ + Link + + + +