diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/offsetParent_element_test.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/offsetParent_element_test.txt new file mode 100644 index 00000000000..ad6d8d655a1 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/offsetParent_element_test.txt @@ -0,0 +1,8 @@ +Harness status: OK + +Found 2 tests + +1 Pass +1 Fail +Pass Valid the algorithm rule of offsetParent check step 1 +Fail Valid the algorithm rule of offsetParent check step 2 \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/scrollParent-shadow-tree.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/scrollParent-shadow-tree.txt new file mode 100644 index 00000000000..7766155ca97 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/scrollParent-shadow-tree.txt @@ -0,0 +1,9 @@ +Harness status: OK + +Found 4 tests + +4 Fail +Fail scrollParent skips intermediate closed shadow tree nodes +Fail scrollParent skips intermediate open shadow tree nodes +Fail scrollParent from inside closed shadow tree +Fail scrollParent from inside open shadow tree \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/scrollParent.txt b/Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/scrollParent.txt new file mode 100644 index 00000000000..3013b6c72af --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/cssom-view/scrollParent.txt @@ -0,0 +1,15 @@ +Harness status: OK + +Found 9 tests + +3 Pass +6 Fail +Fail scrollParent returns the nearest scroll container. +Fail hidden element is a scroll container. +Pass Element with no box has null scrollParent. +Fail scrollParent follows absolute positioned containing block chain. +Fail scrollParent follows fixed positioned containing block chain. +Pass scrollParent of element fixed to root is null. +Fail scrollParent of child in root viewport returns document scrolling element. +Fail scrollParent of fixed element contained within root is document scrolling element. +Pass scrollParent of body is null. \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/css/cssom-view/offsetParent_element_test.html b/Tests/LibWeb/Text/input/wpt-import/css/cssom-view/offsetParent_element_test.html new file mode 100644 index 00000000000..ff99f2652c7 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/cssom-view/offsetParent_element_test.html @@ -0,0 +1,182 @@ + + + +
++ + | +