diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/animations/display-interpolation.tentative.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/animations/display-interpolation.tentative.txt new file mode 100644 index 00000000000..b8cf1bf58a3 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/animations/display-interpolation.tentative.txt @@ -0,0 +1,24 @@ +Summary + +Harness status: OK + +Rerun + +Found 14 tests + +14 Pass +Details +Result Test Name MessagePass CSS Animations: property from [grid] to [flex] at (-0.3) should be [grid] +Pass CSS Animations: property from [grid] to [flex] at (0) should be [grid] +Pass CSS Animations: property from [grid] to [flex] at (0.3) should be [grid] +Pass CSS Animations: property from [grid] to [flex] at (0.5) should be [flex] +Pass CSS Animations: property from [grid] to [flex] at (0.6) should be [flex] +Pass CSS Animations: property from [grid] to [flex] at (1) should be [flex] +Pass CSS Animations: property from [grid] to [flex] at (1.5) should be [flex] +Pass Web Animations: property from [grid] to [flex] at (-0.3) should be [grid] +Pass Web Animations: property from [grid] to [flex] at (0) should be [grid] +Pass Web Animations: property from [grid] to [flex] at (0.3) should be [grid] +Pass Web Animations: property from [grid] to [flex] at (0.5) should be [flex] +Pass Web Animations: property from [grid] to [flex] at (0.6) should be [flex] +Pass Web Animations: property from [grid] to [flex] at (1) should be [flex] +Pass Web Animations: property from [grid] to [flex] at (1.5) should be [flex] \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/animations/display-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/animations/display-interpolation.txt new file mode 100644 index 00000000000..a077ab0aa85 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/animations/display-interpolation.txt @@ -0,0 +1,53 @@ +Summary + +Harness status: OK + +Rerun + +Found 42 tests + +28 Pass +14 Fail +Details +Result Test Name MessagePass CSS Transitions with transition-behavior:allow-discrete: property from [none] to [flex] at (-0.3) should be [flex] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [none] to [flex] at (0) should be [flex] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [none] to [flex] at (0.3) should be [flex] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [none] to [flex] at (0.5) should be [flex] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [none] to [flex] at (0.6) should be [flex] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [none] to [flex] at (1) should be [flex] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [none] to [flex] at (1.5) should be [flex] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [none] to [flex] at (-0.3) should be [flex] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [none] to [flex] at (0) should be [flex] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [none] to [flex] at (0.3) should be [flex] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [none] to [flex] at (0.5) should be [flex] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [none] to [flex] at (0.6) should be [flex] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [none] to [flex] at (1) should be [flex] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [none] to [flex] at (1.5) should be [flex] +Pass CSS Transitions: property from [none] to [flex] at (-0.3) should be [flex] +Pass CSS Transitions: property from [none] to [flex] at (0) should be [flex] +Pass CSS Transitions: property from [none] to [flex] at (0.3) should be [flex] +Pass CSS Transitions: property from [none] to [flex] at (0.5) should be [flex] +Pass CSS Transitions: property from [none] to [flex] at (0.6) should be [flex] +Pass CSS Transitions: property from [none] to [flex] at (1) should be [flex] +Pass CSS Transitions: property from [none] to [flex] at (1.5) should be [flex] +Pass CSS Transitions with transition: all: property from [none] to [flex] at (-0.3) should be [flex] +Pass CSS Transitions with transition: all: property from [none] to [flex] at (0) should be [flex] +Pass CSS Transitions with transition: all: property from [none] to [flex] at (0.3) should be [flex] +Pass CSS Transitions with transition: all: property from [none] to [flex] at (0.5) should be [flex] +Pass CSS Transitions with transition: all: property from [none] to [flex] at (0.6) should be [flex] +Pass CSS Transitions with transition: all: property from [none] to [flex] at (1) should be [flex] +Pass CSS Transitions with transition: all: property from [none] to [flex] at (1.5) should be [flex] +Fail CSS Animations: property from [none] to [flex] at (-0.3) should be [block] +Fail CSS Animations: property from [none] to [flex] at (0) should be [block] +Fail CSS Animations: property from [none] to [flex] at (0.3) should be [block] +Fail CSS Animations: property from [none] to [flex] at (0.5) should be [block] +Fail CSS Animations: property from [none] to [flex] at (0.6) should be [block] +Fail CSS Animations: property from [none] to [flex] at (1) should be [block] +Fail CSS Animations: property from [none] to [flex] at (1.5) should be [block] +Fail Web Animations: property from [none] to [flex] at (-0.3) should be [block] +Fail Web Animations: property from [none] to [flex] at (0) should be [block] +Fail Web Animations: property from [none] to [flex] at (0.3) should be [block] +Fail Web Animations: property from [none] to [flex] at (0.5) should be [block] +Fail Web Animations: property from [none] to [flex] at (0.6) should be [block] +Fail Web Animations: property from [none] to [flex] at (1) should be [block] +Fail Web Animations: property from [none] to [flex] at (1.5) should be [block] \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-blockify-dynamic.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-blockify-dynamic.txt new file mode 100644 index 00000000000..9597126e438 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-blockify-dynamic.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Fail +Details +Result Test Name MessageFail Dynamic changes to `display` causing blockification of children are handled correctly \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-computed-style.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-computed-style.txt new file mode 100644 index 00000000000..edb181db022 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-computed-style.txt @@ -0,0 +1,15 @@ +Summary + +Harness status: OK + +Rerun + +Found 5 tests + +5 Pass +Details +Result Test Name MessagePass Serialization of computed style value for display:contents +Pass display:contents element as inherit parent - explicit inheritance +Pass display:contents element as inherit parent - implicit inheritance +Pass Resolved value should be computed value, not used value, for display:contents +Pass display:contents is blockified for root elements \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-focusable-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-focusable-001.txt new file mode 100644 index 00000000000..c3f82efb74b --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-focusable-001.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Fail +Details +Result Test Name MessageFail element with display:contents is focusable \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-parsing-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-parsing-001.txt new file mode 100644 index 00000000000..a7a52c7c83f --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-parsing-001.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass Tests that the 'contents' value for the 'display' property is correctly parsed \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-svg-anchor-child.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-svg-anchor-child.txt new file mode 100644 index 00000000000..56112cb81d0 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-svg-anchor-child.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass Loading this page should not cause a crash. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-svg-switch-child.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-svg-switch-child.txt new file mode 100644 index 00000000000..56112cb81d0 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-contents-svg-switch-child.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass Loading this page should not cause a crash. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-first-line-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-first-line-001.txt new file mode 100644 index 00000000000..9d8878d554e --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-first-line-001.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Fail +Details +Result Test Name MessageFail display of first-letter and first-line \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-list-item-height-after-dom-change.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-list-item-height-after-dom-change.txt new file mode 100644 index 00000000000..e7535c04974 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-list-item-height-after-dom-change.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass List item height after DOM change. \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-math-on-non-mathml-elements.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-math-on-non-mathml-elements.txt new file mode 100644 index 00000000000..efb3b53bdce --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-math-on-non-mathml-elements.txt @@ -0,0 +1,21 @@ +Summary + +Harness status: OK + +Rerun + +Found 10 tests + +8 Pass +2 Fail +Details +Result Test Name MessageFail computed display on
+Pass computed display on
+Pass computed display on
+Pass computed display on
+Pass computed display on
+Fail computed display on +Pass computed display on +Pass computed display on +Pass computed display on +Pass computed display on \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-math-on-pseudo-elements-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-math-on-pseudo-elements-001.txt new file mode 100644 index 00000000000..3a4ebf37bff --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-math-on-pseudo-elements-001.txt @@ -0,0 +1,17 @@ +Summary + +Harness status: OK + +Rerun + +Found 6 tests + +1 Pass +5 Fail +Details +Result Test Name MessagePass computed display on ::before and ::after for
+Fail computed display on ::before and ::after for +Fail computed display on ::before and ::after for +Fail computed display on ::before and ::after for
+Fail computed display on ::before and ::after for +Fail computed display on ::before and ::after for \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-with-float-dynamic.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-with-float-dynamic.txt new file mode 100644 index 00000000000..c87f9271230 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-with-float-dynamic.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass computed style for float \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-with-float.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-with-float.txt new file mode 100644 index 00000000000..c87f9271230 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/display-with-float.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass computed style for float \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/inheritance.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/inheritance.txt new file mode 100644 index 00000000000..2935b629625 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/inheritance.txt @@ -0,0 +1,12 @@ +Summary + +Harness status: OK + +Rerun + +Found 2 tests + +2 Pass +Details +Result Test Name MessagePass Property display has initial value inline +Pass Property display does not inherit \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/parsing/display-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/parsing/display-computed.txt new file mode 100644 index 00000000000..0dc89b7d9a9 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/parsing/display-computed.txt @@ -0,0 +1,123 @@ +Summary + +Harness status: OK + +Rerun + +Found 112 tests + +88 Pass +24 Fail +Details +Result Test Name MessagePass Property display value 'grid' +Pass Property display value 'inline-grid' +Pass Property display value 'inline' +Pass Property display value 'block' +Pass Property display value 'list-item' +Pass Property display value 'inline-block' +Pass Property display value 'table' +Pass Property display value 'inline-table' +Pass Property display value 'table-row-group' +Pass Property display value 'table-header-group' +Pass Property display value 'table-footer-group' +Pass Property display value 'table-row' +Pass Property display value 'table-column-group' +Pass Property display value 'table-column' +Pass Property display value 'table-cell' +Pass Property display value 'table-caption' +Pass Property display value 'none' +Pass Property display value 'flex' +Pass Property display value 'inline-flex' +Pass Property display value 'contents' +Pass Property display value 'run-in' +Pass Property display value 'flow' +Pass Property display value 'flow-root' +Pass Property display value 'ruby' +Pass Property display value 'ruby-base' +Pass Property display value 'ruby-text' +Pass Property display value 'flow list-item' +Pass Property display value 'list-item flow' +Fail Property display value 'flow-root list-item' +Fail Property display value 'list-item flow-root' +Pass Property display value 'block flow' +Pass Property display value 'flow block' +Pass Property display value 'flow-root block' +Pass Property display value 'block flow-root' +Pass Property display value 'flex block' +Pass Property display value 'block flex' +Pass Property display value 'grid block' +Pass Property display value 'block grid' +Pass Property display value 'table block' +Pass Property display value 'block table' +Pass Property display value 'block ruby' +Pass Property display value 'ruby block' +Pass Property display value 'block list-item' +Pass Property display value 'list-item block' +Pass Property display value 'flow block list-item' +Pass Property display value 'block flow list-item' +Pass Property display value 'flow list-item block' +Pass Property display value 'block list-item flow' +Pass Property display value 'list-item block flow' +Pass Property display value 'list-item flow block' +Fail Property display value 'flow-root block list-item' +Fail Property display value 'block flow-root list-item' +Fail Property display value 'flow-root list-item block' +Fail Property display value 'block list-item flow-root' +Fail Property display value 'list-item block flow-root' +Fail Property display value 'list-item flow-root block' +Pass Property display value 'inline flow' +Pass Property display value 'flow inline' +Pass Property display value 'flow-root inline' +Pass Property display value 'inline flow-root' +Pass Property display value 'flex inline' +Pass Property display value 'inline flex' +Pass Property display value 'grid inline' +Pass Property display value 'inline grid' +Pass Property display value 'table inline' +Pass Property display value 'inline table' +Pass Property display value 'inline ruby' +Pass Property display value 'ruby inline' +Fail Property display value 'inline list-item' +Fail Property display value 'list-item inline' +Fail Property display value 'flow inline list-item' +Fail Property display value 'inline flow list-item' +Fail Property display value 'flow list-item inline' +Fail Property display value 'inline list-item flow' +Fail Property display value 'list-item inline flow' +Fail Property display value 'list-item flow inline' +Pass Property display value 'flow-root inline list-item' +Pass Property display value 'inline flow-root list-item' +Pass Property display value 'flow-root list-item inline' +Pass Property display value 'inline list-item flow-root' +Pass Property display value 'list-item inline flow-root' +Pass Property display value 'list-item flow-root inline' +Pass Property display value 'run-in flow' +Pass Property display value 'flow run-in' +Pass Property display value 'flow-root run-in' +Pass Property display value 'run-in flow-root' +Pass Property display value 'flex run-in' +Pass Property display value 'run-in flex' +Pass Property display value 'grid run-in' +Pass Property display value 'run-in grid' +Pass Property display value 'table run-in' +Pass Property display value 'run-in table' +Pass Property display value 'run-in ruby' +Pass Property display value 'ruby run-in' +Fail Property display value 'run-in list-item' +Fail Property display value 'list-item run-in' +Fail Property display value 'flow run-in list-item' +Fail Property display value 'run-in flow list-item' +Fail Property display value 'flow list-item run-in' +Fail Property display value 'run-in list-item flow' +Fail Property display value 'list-item run-in flow' +Fail Property display value 'list-item flow run-in' +Pass Property display value 'flow-root run-in list-item' +Pass Property display value 'run-in flow-root list-item' +Pass Property display value 'flow-root list-item run-in' +Pass Property display value 'run-in list-item flow-root' +Pass Property display value 'list-item run-in flow-root' +Pass Property display value 'list-item flow-root run-in' +Pass position absolute affects computed display +Pass position fixed affects computed display +Pass float left affects computed display +Pass float right affects computed display \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/parsing/display-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/parsing/display-invalid.txt new file mode 100644 index 00000000000..27c947199b5 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/parsing/display-invalid.txt @@ -0,0 +1,65 @@ +Summary + +Harness status: OK + +Rerun + +Found 55 tests + +55 Pass +Details +Result Test Name MessagePass e.style['display'] = "grid inline-grid" should not set the property value +Pass e.style['display'] = "none grid" should not set the property value +Pass e.style['display'] = "none flow" should not set the property value +Pass e.style['display'] = "none ruby" should not set the property value +Pass e.style['display'] = "none flow-root" should not set the property value +Pass e.style['display'] = "none list-item" should not set the property value +Pass e.style['display'] = "contents list-item" should not set the property value +Pass e.style['display'] = "list-item contents" should not set the property value +Pass e.style['display'] = "flow flow" should not set the property value +Pass e.style['display'] = "block block" should not set the property value +Pass e.style['display'] = "flow flow-root" should not set the property value +Pass e.style['display'] = "flow-root flow-root" should not set the property value +Pass e.style['display'] = "block inline" should not set the property value +Pass e.style['display'] = "flex ruby" should not set the property value +Pass e.style['display'] = "ruby flex" should not set the property value +Pass e.style['display'] = "inline inline" should not set the property value +Pass e.style['display'] = "flex flex" should not set the property value +Pass e.style['display'] = "grid flex" should not set the property value +Pass e.style['display'] = "ruby grid" should not set the property value +Pass e.style['display'] = "flex grid" should not set the property value +Pass e.style['display'] = "grid table" should not set the property value +Pass e.style['display'] = "table flex" should not set the property value +Pass e.style['display'] = "flex table" should not set the property value +Pass e.style['display'] = "ruby table" should not set the property value +Pass e.style['display'] = "table table" should not set the property value +Pass e.style['display'] = "table flow-root" should not set the property value +Pass e.style['display'] = "flow-root ruby" should not set the property value +Pass e.style['display'] = "list-item list-item" should not set the property value +Pass e.style['display'] = "list-item table" should not set the property value +Pass e.style['display'] = "flex list-item" should not set the property value +Pass e.style['display'] = "list-item grid" should not set the property value +Pass e.style['display'] = "flow flow list-item" should not set the property value +Pass e.style['display'] = "grid flow list-item" should not set the property value +Pass e.style['display'] = "flow list-item flow" should not set the property value +Pass e.style['display'] = "block list-item block" should not set the property value +Pass e.style['display'] = "list-item flow-root flow" should not set the property value +Pass e.style['display'] = "list-item block block" should not set the property value +Pass e.style['display'] = "list-item block list-item" should not set the property value +Pass e.style['display'] = "list-item flow-root list-item" should not set the property value +Pass e.style['display'] = "list-item flow-root block list-item" should not set the property value +Pass e.style['display'] = "list-item block flow-root list-item" should not set the property value +Pass e.style['display'] = "block list-item flow-root list-item" should not set the property value +Pass e.style['display'] = "flow-root list-item block list-item" should not set the property value +Pass e.style['display'] = "list-item ruby" should not set the property value +Pass e.style['display'] = "ruby list-item" should not set the property value +Pass e.style['display'] = "ruby ruby" should not set the property value +Pass e.style['display'] = "ruby flow" should not set the property value +Pass e.style['display'] = "flow ruby" should not set the property value +Pass e.style['display'] = "ruby flow-root" should not set the property value +Pass e.style['display'] = "grid ruby" should not set the property value +Pass e.style['display'] = "table ruby" should not set the property value +Pass e.style['display'] = "table-row flow" should not set the property value +Pass e.style['display'] = "flow table-row" should not set the property value +Pass e.style['display'] = "table-row-group flow-root" should not set the property value +Pass e.style['display'] = "flex table-row-group" should not set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/parsing/display-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/parsing/display-valid.txt new file mode 100644 index 00000000000..9fccb0333fb --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/parsing/display-valid.txt @@ -0,0 +1,119 @@ +Summary + +Harness status: OK + +Rerun + +Found 108 tests + +84 Pass +24 Fail +Details +Result Test Name MessagePass e.style['display'] = "grid" should set the property value +Pass e.style['display'] = "inline-grid" should set the property value +Pass e.style['display'] = "inline" should set the property value +Pass e.style['display'] = "block" should set the property value +Pass e.style['display'] = "list-item" should set the property value +Pass e.style['display'] = "inline-block" should set the property value +Pass e.style['display'] = "table" should set the property value +Pass e.style['display'] = "inline-table" should set the property value +Pass e.style['display'] = "table-row-group" should set the property value +Pass e.style['display'] = "table-header-group" should set the property value +Pass e.style['display'] = "table-footer-group" should set the property value +Pass e.style['display'] = "table-row" should set the property value +Pass e.style['display'] = "table-column-group" should set the property value +Pass e.style['display'] = "table-column" should set the property value +Pass e.style['display'] = "table-cell" should set the property value +Pass e.style['display'] = "table-caption" should set the property value +Pass e.style['display'] = "none" should set the property value +Pass e.style['display'] = "flex" should set the property value +Pass e.style['display'] = "inline-flex" should set the property value +Pass e.style['display'] = "contents" should set the property value +Pass e.style['display'] = "run-in" should set the property value +Pass e.style['display'] = "flow" should set the property value +Pass e.style['display'] = "flow-root" should set the property value +Pass e.style['display'] = "ruby" should set the property value +Pass e.style['display'] = "ruby-base" should set the property value +Pass e.style['display'] = "ruby-text" should set the property value +Pass e.style['display'] = "flow list-item" should set the property value +Pass e.style['display'] = "list-item flow" should set the property value +Fail e.style['display'] = "flow-root list-item" should set the property value +Fail e.style['display'] = "list-item flow-root" should set the property value +Pass e.style['display'] = "block flow" should set the property value +Pass e.style['display'] = "flow block" should set the property value +Pass e.style['display'] = "flow-root block" should set the property value +Pass e.style['display'] = "block flow-root" should set the property value +Pass e.style['display'] = "flex block" should set the property value +Pass e.style['display'] = "block flex" should set the property value +Pass e.style['display'] = "grid block" should set the property value +Pass e.style['display'] = "block grid" should set the property value +Pass e.style['display'] = "table block" should set the property value +Pass e.style['display'] = "block table" should set the property value +Pass e.style['display'] = "block ruby" should set the property value +Pass e.style['display'] = "ruby block" should set the property value +Pass e.style['display'] = "block list-item" should set the property value +Pass e.style['display'] = "list-item block" should set the property value +Pass e.style['display'] = "flow block list-item" should set the property value +Pass e.style['display'] = "block flow list-item" should set the property value +Pass e.style['display'] = "flow list-item block" should set the property value +Pass e.style['display'] = "block list-item flow" should set the property value +Pass e.style['display'] = "list-item block flow" should set the property value +Pass e.style['display'] = "list-item flow block" should set the property value +Fail e.style['display'] = "flow-root block list-item" should set the property value +Fail e.style['display'] = "block flow-root list-item" should set the property value +Fail e.style['display'] = "flow-root list-item block" should set the property value +Fail e.style['display'] = "block list-item flow-root" should set the property value +Fail e.style['display'] = "list-item block flow-root" should set the property value +Fail e.style['display'] = "list-item flow-root block" should set the property value +Pass e.style['display'] = "inline flow" should set the property value +Pass e.style['display'] = "flow inline" should set the property value +Pass e.style['display'] = "flow-root inline" should set the property value +Pass e.style['display'] = "inline flow-root" should set the property value +Pass e.style['display'] = "flex inline" should set the property value +Pass e.style['display'] = "inline flex" should set the property value +Pass e.style['display'] = "grid inline" should set the property value +Pass e.style['display'] = "inline grid" should set the property value +Pass e.style['display'] = "table inline" should set the property value +Pass e.style['display'] = "inline table" should set the property value +Pass e.style['display'] = "inline ruby" should set the property value +Pass e.style['display'] = "ruby inline" should set the property value +Fail e.style['display'] = "inline list-item" should set the property value +Fail e.style['display'] = "list-item inline" should set the property value +Fail e.style['display'] = "flow inline list-item" should set the property value +Fail e.style['display'] = "inline flow list-item" should set the property value +Fail e.style['display'] = "flow list-item inline" should set the property value +Fail e.style['display'] = "inline list-item flow" should set the property value +Fail e.style['display'] = "list-item inline flow" should set the property value +Fail e.style['display'] = "list-item flow inline" should set the property value +Pass e.style['display'] = "flow-root inline list-item" should set the property value +Pass e.style['display'] = "inline flow-root list-item" should set the property value +Pass e.style['display'] = "flow-root list-item inline" should set the property value +Pass e.style['display'] = "inline list-item flow-root" should set the property value +Pass e.style['display'] = "list-item inline flow-root" should set the property value +Pass e.style['display'] = "list-item flow-root inline" should set the property value +Pass e.style['display'] = "run-in flow" should set the property value +Pass e.style['display'] = "flow run-in" should set the property value +Pass e.style['display'] = "flow-root run-in" should set the property value +Pass e.style['display'] = "run-in flow-root" should set the property value +Pass e.style['display'] = "flex run-in" should set the property value +Pass e.style['display'] = "run-in flex" should set the property value +Pass e.style['display'] = "grid run-in" should set the property value +Pass e.style['display'] = "run-in grid" should set the property value +Pass e.style['display'] = "table run-in" should set the property value +Pass e.style['display'] = "run-in table" should set the property value +Pass e.style['display'] = "run-in ruby" should set the property value +Pass e.style['display'] = "ruby run-in" should set the property value +Fail e.style['display'] = "run-in list-item" should set the property value +Fail e.style['display'] = "list-item run-in" should set the property value +Fail e.style['display'] = "flow run-in list-item" should set the property value +Fail e.style['display'] = "run-in flow list-item" should set the property value +Fail e.style['display'] = "flow list-item run-in" should set the property value +Fail e.style['display'] = "run-in list-item flow" should set the property value +Fail e.style['display'] = "list-item run-in flow" should set the property value +Fail e.style['display'] = "list-item flow run-in" should set the property value +Pass e.style['display'] = "flow-root run-in list-item" should set the property value +Pass e.style['display'] = "run-in flow-root list-item" should set the property value +Pass e.style['display'] = "flow-root list-item run-in" should set the property value +Pass e.style['display'] = "run-in list-item flow-root" should set the property value +Pass e.style['display'] = "list-item run-in flow-root" should set the property value +Pass e.style['display'] = "list-item flow-root run-in" should set the property value \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-display/textarea-display.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/textarea-display.txt new file mode 100644 index 00000000000..5ee48d1d2e5 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-display/textarea-display.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass textarea has inline block display \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/animations/display-interpolation.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/animations/display-interpolation.html new file mode 100644 index 00000000000..f6c4005f338 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/animations/display-interpolation.html @@ -0,0 +1,20 @@ + + +display interpolation + + + + + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/animations/display-interpolation.tentative.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/animations/display-interpolation.tentative.html new file mode 100644 index 00000000000..4fc1bd58953 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/animations/display-interpolation.tentative.html @@ -0,0 +1,21 @@ + + +display interpolation + + + + + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-blockify-dynamic.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-blockify-dynamic.html new file mode 100644 index 00000000000..7c5ba6870f5 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-blockify-dynamic.html @@ -0,0 +1,34 @@ + + + + + + + + + + +
+ + +
+
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-computed-style.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-computed-style.html new file mode 100644 index 00000000000..917bd417221 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-computed-style.html @@ -0,0 +1,61 @@ + + +CSS Display: Computed style for display:contents + + + + + + + +
+
+
+ +
+
+
+
+ +
+
+
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-focusable-001.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-focusable-001.html new file mode 100644 index 00000000000..0921b4f6d37 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-focusable-001.html @@ -0,0 +1,45 @@ + +CSS Test (Display): Elements with display:contents should be focusable + + + + + + + + + + + + +
Hello
+ + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-parsing-001.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-parsing-001.html new file mode 100644 index 00000000000..b049dc9298d --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-parsing-001.html @@ -0,0 +1,43 @@ + + +Tests that the 'contents' value for the 'display' property is correctly parsed + + + + + +
+
+
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-svg-anchor-child.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-svg-anchor-child.html new file mode 100644 index 00000000000..8ff09dceb91 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-svg-anchor-child.html @@ -0,0 +1,20 @@ + + +CSS Display: display:contents on SVG anchor child + + + + + + + Text + + + + Text + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-svg-switch-child.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-svg-switch-child.html new file mode 100644 index 00000000000..77808dac3bb --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-contents-svg-switch-child.html @@ -0,0 +1,15 @@ + + +CSS Display: display:contents on SVG switch child + + + + + + + Text + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-first-line-001.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-first-line-001.html new file mode 100644 index 00000000000..02297c8ffde --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-first-line-001.html @@ -0,0 +1,42 @@ + + +CSS Display: first-line and first-letter pseudo-elements + + + + +
First letter is float and flex.
+
First letter is float but not flex.
+
First letter is flex but not float.
+
First letter not float or flex.
+
First line is float and flex.
+
First line is float but not flex.
+
First line is flex but not float.
+
First line is not float or flex.
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-list-item-height-after-dom-change.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-list-item-height-after-dom-change.html new file mode 100644 index 00000000000..c8fd9ff9e3b --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-list-item-height-after-dom-change.html @@ -0,0 +1,20 @@ + + +CSS Display: reflowing a display:list-item on dom changes - non-zero height + + + + +
    +
  • +
    Text
    +
  • +
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-math-on-non-mathml-elements.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-math-on-non-mathml-elements.html new file mode 100644 index 00000000000..3c7f7a52b93 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-math-on-non-mathml-elements.html @@ -0,0 +1,31 @@ + + +display: math display values on non-MathML compute to flow + + + + +
+ +
+
+
+
+
+ + + + + + + +
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-math-on-pseudo-elements-001.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-math-on-pseudo-elements-001.html new file mode 100644 index 00000000000..b1df0dd68f4 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-math-on-pseudo-elements-001.html @@ -0,0 +1,30 @@ + + +display: math and inline-math on pseudo elements compute to flow + + + + +
+
+ + +
+ + +
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-with-float-dynamic.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-with-float-dynamic.html new file mode 100644 index 00000000000..10844022a54 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-with-float-dynamic.html @@ -0,0 +1,40 @@ + + +Computed float value of flex/grid items + + + + + + +
+
+
+
+
+
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-with-float.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-with-float.html new file mode 100644 index 00000000000..2fc41279458 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/display-with-float.html @@ -0,0 +1,24 @@ + + +Computed float value of flex/grid items + + + + + + +
+
+
+
+
+
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/inheritance.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/inheritance.html new file mode 100644 index 00000000000..005d9c9e8b0 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/inheritance.html @@ -0,0 +1,21 @@ + + + + +Inheritance of CSS display property + + + + + + + + +
+
+
+ + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/parsing/display-computed.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/parsing/display-computed.html new file mode 100644 index 00000000000..53e71c4120e --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/parsing/display-computed.html @@ -0,0 +1,193 @@ + + + + +CSS Display: getComputedStyle().display + + + + + + + + + + + +
+ + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/parsing/display-invalid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/parsing/display-invalid.html new file mode 100644 index 00000000000..243bcf4189f --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/parsing/display-invalid.html @@ -0,0 +1,75 @@ + + + + +CSS Display: parsing display with invalid values + + + + + + + + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/parsing/display-valid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/parsing/display-valid.html new file mode 100644 index 00000000000..d4d2b1a3733 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/parsing/display-valid.html @@ -0,0 +1,141 @@ + + + + +CSS Display: parsing display with valid values + + + + + + + + + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-display/textarea-display.html b/Tests/LibWeb/Text/input/wpt-import/css/css-display/textarea-display.html new file mode 100644 index 00000000000..175f797104f --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-display/textarea-display.html @@ -0,0 +1,22 @@ + + + + +Display of textarea + + + + + + + + + + +