From 0a8e6486cc9e807a41d4fb86af49e7cd14c4024a Mon Sep 17 00:00:00 2001 From: Rob Buis Date: Thu, 9 Mar 2023 11:56:29 -0800 Subject: [PATCH] Re-import html/semantics/popovers WPT https://bugs.webkit.org/show_bug.cgi?id=253649 Reviewed by Tim Nguyen. Based on https://github.com/web-platform-tests/wpt/commit/4b6f1000423bf715aec0e3f15f60586ad0b2a073. * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-attribute-all-elements-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-attribute-all-elements.html: Added. * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-attribute-basic-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-attribute-basic.html: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-types-with-hints.tentative-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-types-with-hints.tentative.html: Added. * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/resources/popover-utils.js: (assertPopoverVisibility): (assertNotAPopover): * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/w3c-import.log: * LayoutTests/tests-options.json: Canonical link: https://commits.webkit.org/261454@main --- ...opover-attribute-all-elements-expected.txt | 186 ++++++++++++++++++ .../popover-attribute-all-elements.html | 39 ++++ .../popover-attribute-basic-expected.txt | 186 +----------------- .../popovers/popover-attribute-basic.html | 75 +------ ...er-types-with-hints.tentative-expected.txt | 11 ++ .../popover-types-with-hints.tentative.html | 184 +++++++++++++++++ .../popovers/resources/popover-utils.js | 56 ++++++ .../html/semantics/popovers/w3c-import.log | 1 + LayoutTests/tests-options.json | 3 + 9 files changed, 482 insertions(+), 259 deletions(-) create mode 100644 LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-attribute-all-elements-expected.txt create mode 100644 LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-attribute-all-elements.html create mode 100644 LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-types-with-hints.tentative-expected.txt create mode 100644 LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-types-with-hints.tentative.html diff --git a/LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-attribute-all-elements-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-attribute-all-elements-expected.txt new file mode 100644 index 000000000000..2705f4eca4a1 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-attribute-all-elements-expected.txt @@ -0,0 +1,186 @@ + +PASS A element should behave as a popover. +PASS A element should *not* behave as a popover. +PASS A element should behave as a popover. +PASS A element should *not* behave as a popover. +PASS A
element should behave as a popover. +PASS A
element should *not* behave as a popover. +FAIL A element should behave as a popover. assert_equals: After showPopover(), a popover should be visible: Expected this element to be visible expected true but got false +FAIL A element should *not* behave as a popover. assert_equals: A non-popover should start out visible: Expected this element to be visible expected true but got false +PASS A
element should behave as a popover. +PASS A
element should *not* behave as a popover. +PASS A