From bd50a31be6802df98269bbc0d2ae31d9b3316e92 Mon Sep 17 00:00:00 2001 From: Aliaksandr Kalenik Date: Sun, 10 Nov 2024 19:04:18 +0100 Subject: [PATCH] Tests/LibWeb: Import CSS floats tests from WPT --- .../float-no-content-beside-001-ref.html | 20 ++ .../css/CSS2/floats/float-nowrap-1.html | 24 +++ .../css/CSS2/floats/float-nowrap-3-ref.html | 29 +++ .../css/CSS2/floats/float-nowrap-5-ref.html | 5 + .../css/CSS2/floats/float-root-ref.html | 11 ++ .../float-table-align-left-quirk-ref.html | 34 ++++ ...ositioned-child-with-static-inset-ref.html | 32 ++++ .../floats-in-table-caption-001-ref.html | 17 ++ .../floats-line-wrap-shifted-001-ref.html | 23 +++ .../CSS2/floats/floats-placement-005-ref.html | 26 +++ .../floats-placement-vertical-001-ref.xht | 21 +++ .../floats-placement-vertical-003-ref.xht | 12 ++ .../floats-placement-vertical-004-ref.xht | 11 ++ .../floats-rule3-outside-left-001-ref.xht | 6 + .../floats-rule3-outside-left-002-ref.xht | 5 + .../floats-rule3-outside-right-001-ref.xht | 5 + .../floats-rule3-outside-right-002-ref.xht | 5 + .../floats-rule7-outside-left-001-ref.xht | 5 + .../floats-rule7-outside-right-001-ref.xht | 5 + .../floats-wrap-bfc-001-left-overflow-ref.xht | 19 ++ .../floats-wrap-bfc-001-left-table-ref.xht | 17 ++ ...floats-wrap-bfc-001-right-overflow-ref.xht | 19 ++ .../floats-wrap-bfc-001-right-table-ref.xht | 17 ++ .../floats/floats-wrap-bfc-002-left-ref.xht | 19 ++ .../floats/floats-wrap-bfc-002-right-ref.xht | 19 ++ .../floats-wrap-bfc-003-left-overflow-ref.xht | 17 ++ .../floats-wrap-bfc-003-left-table-ref.xht | 17 ++ ...floats-wrap-bfc-003-right-overflow-ref.xht | 17 ++ .../floats-wrap-bfc-003-right-table-ref.xht | 17 ++ .../CSS2/floats/floats-wrap-bfc-004-ref.xht | 60 ++++++ .../CSS2/floats/floats-wrap-bfc-005-ref.xht | 37 ++++ .../CSS2/floats/floats-wrap-bfc-006-ref.xht | 177 ++++++++++++++++++ .../CSS2/floats/floats-wrap-bfc-007-ref.xht | 110 +++++++++++ .../floats-wrap-bfc-outside-001-ref.xht | 20 ++ .../floats-wrap-bfc-with-margin-001-ref.html | 121 ++++++++++++ .../floats-wrap-bfc-with-margin-002-ref.html | 96 ++++++++++ .../floats-wrap-bfc-with-margin-003-ref.html | 124 ++++++++++++ .../floats-wrap-bfc-with-margin-010-ref.html | 43 +++++ .../floats/floats-wrap-top-below-001l-ref.xht | 22 +++ .../floats/floats-wrap-top-below-001r-ref.xht | 22 +++ .../floats/floats-wrap-top-below-002l-ref.xht | 21 +++ .../floats/floats-wrap-top-below-002r-ref.xht | 21 +++ .../floats/floats-wrap-top-below-003l-ref.xht | 20 ++ .../floats/floats-wrap-top-below-003r-ref.xht | 20 ++ .../floats-zero-height-wrap-001-ref.xht | 10 + ...t-out-of-block-formatting-context-ref.html | 8 + ...overflow-scroll-float-paint-order-ref.html | 4 + .../overhanging-float-paint-order-ref.html | 3 + .../ref-filled-green-100px-square.xht | 18 ++ .../ref-filled-green-100px-square.xht | 18 ++ .../ref-filled-green-200px-square.html | 13 ++ .../CSS2/floats/adjoining-floats-dynamic.html | 35 ++++ .../floats/block-in-inline-become-float.html | 23 +++ ...-anonymous-block-with-overflow-hidden.html | 12 ++ .../floats/float-no-content-beside-001.html | 23 +++ .../css/CSS2/floats/float-nowrap-2.html | 25 +++ .../css/CSS2/floats/float-nowrap-3.html | 28 +++ .../css/CSS2/floats/float-nowrap-5.html | 16 ++ .../css/CSS2/floats/float-nowrap-6.html | 16 ++ .../css/CSS2/floats/float-nowrap-7.html | 26 +++ .../css/CSS2/floats/float-nowrap-8.html | 24 +++ .../css/CSS2/floats/float-nowrap-9.html | 28 +++ .../css/CSS2/floats/float-paint-relayout.html | 11 ++ .../css/CSS2/floats/float-root.html | 13 ++ .../floats/float-table-align-left-quirk.html | 36 ++++ ...float-under-flatten-under-preserve-3d.html | 10 + ...ly-positioned-child-with-static-inset.html | 35 ++++ .../floated-table-wider-than-specified.html | 15 ++ .../floats/floats-in-table-caption-001.html | 24 +++ .../floats/floats-line-wrap-shifted-001.html | 44 +++++ .../css/CSS2/floats/floats-placement-001.html | 12 ++ .../css/CSS2/floats/floats-placement-002.html | 16 ++ .../css/CSS2/floats/floats-placement-003.html | 14 ++ .../css/CSS2/floats/floats-placement-004.html | 9 + .../css/CSS2/floats/floats-placement-005.html | 34 ++++ .../css/CSS2/floats/floats-placement-006.html | 38 ++++ .../css/CSS2/floats/floats-placement-007.html | 39 ++++ .../css/CSS2/floats/floats-placement-008.html | 40 ++++ .../floats/floats-placement-vertical-001a.xht | 24 +++ .../floats/floats-placement-vertical-001b.xht | 24 +++ .../floats/floats-placement-vertical-001c.xht | 24 +++ .../floats/floats-placement-vertical-003.xht | 16 ++ .../floats/floats-placement-vertical-004.xht | 15 ++ .../floats/floats-rule3-outside-left-001.xht | 30 +++ .../floats/floats-rule3-outside-left-002.xht | 30 +++ .../floats/floats-rule3-outside-right-001.xht | 30 +++ .../floats/floats-rule3-outside-right-002.xht | 30 +++ .../floats/floats-rule7-outside-left-001.xht | 32 ++++ .../floats/floats-rule7-outside-right-001.xht | 32 ++++ .../floats-wrap-bfc-001-left-overflow.xht | 33 ++++ .../floats/floats-wrap-bfc-001-left-table.xht | 33 ++++ .../floats-wrap-bfc-001-right-overflow.xht | 33 ++++ .../floats-wrap-bfc-001-right-table.xht | 33 ++++ .../floats-wrap-bfc-002-left-overflow.xht | 34 ++++ .../floats/floats-wrap-bfc-002-left-table.xht | 34 ++++ .../floats-wrap-bfc-002-right-overflow.xht | 34 ++++ .../floats-wrap-bfc-002-right-table.xht | 34 ++++ .../floats-wrap-bfc-003-left-overflow.xht | 33 ++++ .../floats/floats-wrap-bfc-003-left-table.xht | 33 ++++ .../floats-wrap-bfc-003-right-overflow.xht | 33 ++++ .../floats-wrap-bfc-003-right-table.xht | 33 ++++ .../css/CSS2/floats/floats-wrap-bfc-004.xht | 85 +++++++++ .../css/CSS2/floats/floats-wrap-bfc-005.xht | 43 +++++ .../css/CSS2/floats/floats-wrap-bfc-006.xht | 174 +++++++++++++++++ .../css/CSS2/floats/floats-wrap-bfc-007.xht | 113 +++++++++++ .../css/CSS2/floats/floats-wrap-bfc-008.html | 30 +++ .../floats/floats-wrap-bfc-outside-001.xht | 23 +++ .../floats-wrap-bfc-with-margin-001.html | 114 +++++++++++ ...s-wrap-bfc-with-margin-001a.tentative.html | 127 +++++++++++++ ...ts-wrap-bfc-with-margin-002.tentative.html | 112 +++++++++++ ...ts-wrap-bfc-with-margin-003.tentative.html | 147 +++++++++++++++ .../floats-wrap-bfc-with-margin-004.html | 10 + .../floats-wrap-bfc-with-margin-005.html | 10 + ...ts-wrap-bfc-with-margin-006.tentative.html | 32 ++++ ...ts-wrap-bfc-with-margin-007.tentative.html | 31 +++ ...ts-wrap-bfc-with-margin-008.tentative.html | 30 +++ ...ts-wrap-bfc-with-margin-009.tentative.html | 31 +++ .../floats-wrap-bfc-with-margin-010.html | 46 +++++ .../floats/floats-wrap-top-below-bfc-001l.xht | 26 +++ .../floats/floats-wrap-top-below-bfc-001r.xht | 26 +++ .../floats/floats-wrap-top-below-bfc-002l.xht | 24 +++ .../floats/floats-wrap-top-below-bfc-002r.xht | 24 +++ .../floats/floats-wrap-top-below-bfc-003l.xht | 24 +++ .../floats/floats-wrap-top-below-bfc-003r.xht | 24 +++ .../floats-wrap-top-below-inline-001l.xht | 26 +++ .../floats-wrap-top-below-inline-001r.xht | 26 +++ .../floats-wrap-top-below-inline-002l.xht | 24 +++ .../floats-wrap-top-below-inline-002r.xht | 24 +++ .../floats-wrap-top-below-inline-003l.xht | 24 +++ .../floats-wrap-top-below-inline-003r.xht | 24 +++ .../floats/floats-zero-height-wrap-001.xht | 18 ++ .../floats/floats-zero-height-wrap-002.xht | 18 ++ .../floats/intrinsic-size-float-and-line.html | 10 + ...float-out-of-block-formatting-context.html | 13 ++ .../negative-margin-float-positioning.html | 8 + .../new-fc-beside-adjoining-float-2.html | 16 ++ .../floats/new-fc-beside-adjoining-float.html | 16 ++ .../new-fc-beside-float-with-margin-rtl.html | 9 + .../new-fc-beside-float-with-margin.html | 9 + .../new-fc-beside-float-with-min-width.html | 30 +++ .../css/CSS2/floats/new-fc-relayout.html | 15 ++ .../floats/new-fc-separates-from-float-2.html | 16 ++ .../floats/new-fc-separates-from-float-3.html | 14 ++ .../floats/new-fc-separates-from-float.html | 16 ++ .../overflow-scroll-float-paint-order.html | 49 +++++ .../floats/overhanging-float-paint-order.html | 43 +++++ ...remove-block-between-inline-and-float.html | 22 +++ ...ero-available-space-float-positioning.html | 8 + ...ro-width-floats-positioning.tentative.html | 11 ++ .../css/CSS2/floats/zero-width-floats.html | 12 ++ Tests/LibWeb/TestConfig.ini | 59 ++++++ .../computed-float-position-absolute.txt | 11 ++ .../floats/float-in-self-painting-inline.txt | 11 ++ .../CSS2/floats/float-no-interpolation.txt | 77 ++++++++ .../floats-saturated-position-crash.txt | 11 ++ .../css/CSS2/floats/hit-test-floats-001.txt | 11 ++ .../css/CSS2/floats/hit-test-floats-002.txt | 11 ++ .../css/CSS2/floats/hit-test-floats-003.txt | 11 ++ .../css/CSS2/floats/hit-test-floats-004.txt | 11 ++ .../css/CSS2/floats/hit-test-floats-005.txt | 11 ++ .../list-item-taller-than-opportunity-001.txt | 11 ++ .../floats/remove-float-in-first-line.txt | 11 ++ .../remove-float-then-abspos-in-inline.txt | 11 ++ .../floats/zero-space-between-floats-001.txt | 11 ++ .../floats/zero-space-between-floats-002.txt | 11 ++ .../floats/zero-space-between-floats-003.txt | 11 ++ .../floats/zero-space-between-floats-004.txt | 11 ++ .../computed-float-position-absolute.html | 28 +++ .../floats/float-in-self-painting-inline.html | 13 ++ .../CSS2/floats/float-no-interpolation.html | 30 +++ .../floats-saturated-position-crash.html | 18 ++ .../css/CSS2/floats/hit-test-floats-001.html | 21 +++ .../css/CSS2/floats/hit-test-floats-002.html | 14 ++ .../css/CSS2/floats/hit-test-floats-003.html | 15 ++ .../css/CSS2/floats/hit-test-floats-004.html | 16 ++ .../css/CSS2/floats/hit-test-floats-005.html | 17 ++ ...list-item-taller-than-opportunity-001.html | 17 ++ .../floats/remove-float-in-first-line.html | 30 +++ .../remove-float-then-abspos-in-inline.html | 31 +++ .../floats/zero-space-between-floats-001.html | 15 ++ .../floats/zero-space-between-floats-002.html | 16 ++ .../floats/zero-space-between-floats-003.html | 16 ++ .../floats/zero-space-between-floats-004.html | 16 ++ 183 files changed, 5216 insertions(+) create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-no-content-beside-001-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-1.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-3-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-5-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-root-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-table-align-left-quirk-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-with-absolutely-positioned-child-with-static-inset-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-in-table-caption-001-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-line-wrap-shifted-001-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-005-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-001-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-003-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-004-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-left-001-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-left-002-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-right-001-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-right-002-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule7-outside-left-001-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule7-outside-right-001-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-overflow-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-table-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-overflow-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-table-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-overflow-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-table-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-overflow-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-table-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-004-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-005-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-006-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-007-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-outside-001-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-002-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-003-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-010-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001l-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001r-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-002l-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-002r-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-003l-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-003r-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-zero-height-wrap-001-ref.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/negative-block-margin-pushing-float-out-of-block-formatting-context-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/overflow-scroll-float-paint-order-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/overhanging-float-paint-order-ref.html create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/reference/ref-filled-green-100px-square.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/reference/ref-filled-green-100px-square.xht create mode 100644 Tests/LibWeb/Ref/expected/wpt-import/css/reference/ref-filled-green-200px-square.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/adjoining-floats-dynamic.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/block-in-inline-become-float.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-in-inline-anonymous-block-with-overflow-hidden.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-no-content-beside-001.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-2.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-3.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-5.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-6.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-7.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-8.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-9.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-paint-relayout.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-root.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-table-align-left-quirk.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-under-flatten-under-preserve-3d.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-with-absolutely-positioned-child-with-static-inset.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floated-table-wider-than-specified.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-in-table-caption-001.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-line-wrap-shifted-001.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-001.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-002.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-003.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-004.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-005.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-006.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-007.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-008.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001a.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001b.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001c.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-003.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-004.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-left-001.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-left-002.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-right-001.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-right-002.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule7-outside-left-001.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule7-outside-right-001.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-overflow.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-table.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-overflow.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-table.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-overflow.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-table.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-overflow.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-table.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-overflow.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-table.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-overflow.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-table.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-004.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-005.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-006.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-007.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-008.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-outside-001.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001a.tentative.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-002.tentative.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-003.tentative.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-004.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-005.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-006.tentative.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-007.tentative.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-008.tentative.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-009.tentative.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-010.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-001l.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-001r.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-002l.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-002r.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-003l.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-003r.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-001l.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-001r.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-002l.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-002r.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-003l.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-003r.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-zero-height-wrap-001.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-zero-height-wrap-002.xht create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/intrinsic-size-float-and-line.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/negative-block-margin-pushing-float-out-of-block-formatting-context.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/negative-margin-float-positioning.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-adjoining-float-2.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-adjoining-float.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-margin-rtl.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-margin.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-min-width.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-relayout.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float-2.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float-3.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/overflow-scroll-float-paint-order.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/overhanging-float-paint-order.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/remove-block-between-inline-and-float.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-available-space-float-positioning.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-width-floats-positioning.tentative.html create mode 100644 Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-width-floats.html create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/computed-float-position-absolute.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/float-in-self-painting-inline.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/float-no-interpolation.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/floats-saturated-position-crash.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-001.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-002.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-003.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-004.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-005.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/list-item-taller-than-opportunity-001.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/remove-float-in-first-line.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/remove-float-then-abspos-in-inline.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-001.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-002.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-003.txt create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-004.txt create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/computed-float-position-absolute.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/float-in-self-painting-inline.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/float-no-interpolation.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/floats-saturated-position-crash.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-001.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-002.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-003.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-004.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-005.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/list-item-taller-than-opportunity-001.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/remove-float-in-first-line.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/remove-float-then-abspos-in-inline.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-001.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-002.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-003.html create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-004.html diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-no-content-beside-001-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-no-content-beside-001-ref.html new file mode 100644 index 00000000000..758f5875de5 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-no-content-beside-001-ref.html @@ -0,0 +1,20 @@ + + +CSS Floats — reference + + + +
Test passes if all three examples render the same:
+ +


Supercalifragilisticexpialidocious

+ +
+ +


Supercalifragilisticexpialidocious

+ +
+ +


Supercalifragilisticexpialidocious

diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-1.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-1.html new file mode 100644 index 00000000000..656b9398e6b --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-1.html @@ -0,0 +1,24 @@ + +CSS Test: Floats in nowrap context + + + + + + +
+ Some text that overflows my parent. + +
diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-3-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-3-ref.html new file mode 100644 index 00000000000..e7556a21366 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-3-ref.html @@ -0,0 +1,29 @@ + +CSS Test: Floats in nowrap context + + + + + + +
+ Some + + text that overflows my parent. + + +
diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-5-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-5-ref.html new file mode 100644 index 00000000000..7f400841037 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-nowrap-5-ref.html @@ -0,0 +1,5 @@ + +CSS Test Reference + + +
Hello Kittie diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-root-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-root-ref.html new file mode 100644 index 00000000000..1f593f460a0 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-root-ref.html @@ -0,0 +1,11 @@ + + + + +

foo

+ diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-table-align-left-quirk-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-table-align-left-quirk-ref.html new file mode 100644 index 00000000000..6b46fb8eb9b --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-table-align-left-quirk-ref.html @@ -0,0 +1,34 @@ + + + + Reference: Check that the old IE quirk for <table align=left> is NOT implemented + + + + + +
+
1
+
2
+
+ +
+
1
+
2
+
+ +
+
1
+
2
+
+ +
+
1
+
2
+
+ + + diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-with-absolutely-positioned-child-with-static-inset-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-with-absolutely-positioned-child-with-static-inset-ref.html new file mode 100644 index 00000000000..7cab50fc04b --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/float-with-absolutely-positioned-child-with-static-inset-ref.html @@ -0,0 +1,32 @@ + + + + + + + + +
+
+
+
+
+ + diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-in-table-caption-001-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-in-table-caption-001-ref.html new file mode 100644 index 00000000000..91ddca772b7 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-in-table-caption-001-ref.html @@ -0,0 +1,17 @@ + + + + + +Caption block containers are rendered same as normal block boxes + + +

+The words floated and inline should be legible below, with inline appearing just +to the right of the border surrounding floated. +

+ +
+ floated +
+inline diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-line-wrap-shifted-001-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-line-wrap-shifted-001-ref.html new file mode 100644 index 00000000000..ab06bba5240 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-line-wrap-shifted-001-ref.html @@ -0,0 +1,23 @@ + + + + +
+ 1111
+ 2222 3333 +
+
+ + diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-005-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-005-ref.html new file mode 100644 index 00000000000..a286a4aeb75 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-005-ref.html @@ -0,0 +1,26 @@ + + +
+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-001-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-001-ref.xht new file mode 100644 index 00000000000..15ff213301a --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-001-ref.xht @@ -0,0 +1,21 @@ + +CSS Test: Test for float placement rules (reference) + + + + + +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty + + +

\ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-003-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-003-ref.xht new file mode 100644 index 00000000000..f89b9e768e1 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-003-ref.xht @@ -0,0 +1,12 @@ +CSS Test: Test for float placement rules (reference) + + + + +H +
+
+
+ + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-004-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-004-ref.xht new file mode 100644 index 00000000000..9e2cd4682e1 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-placement-vertical-004-ref.xht @@ -0,0 +1,11 @@ +CSS Test: Test for float placement rules (reference) + + + + +
+H
+
+ + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-left-001-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-left-001-ref.xht new file mode 100644 index 00000000000..a401cd41dae --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-left-001-ref.xht @@ -0,0 +1,6 @@ +Test for float placement around other float in BFC but outside containing block + +
+
+
+ \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-left-002-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-left-002-ref.xht new file mode 100644 index 00000000000..f16aba29c9d --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-left-002-ref.xht @@ -0,0 +1,5 @@ +Test for float placement around other float in BFC but outside containing block +
+
+
+ \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-right-001-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-right-001-ref.xht new file mode 100644 index 00000000000..14957416070 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-right-001-ref.xht @@ -0,0 +1,5 @@ +Test for float placement around other float in BFC but outside containing block +
+
+
+ \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-right-002-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-right-002-ref.xht new file mode 100644 index 00000000000..e95714e4668 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule3-outside-right-002-ref.xht @@ -0,0 +1,5 @@ +Test for float placement around other float in BFC but outside containing block +
+
+
+ \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule7-outside-left-001-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule7-outside-left-001-ref.xht new file mode 100644 index 00000000000..546e2ae41c1 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule7-outside-left-001-ref.xht @@ -0,0 +1,5 @@ +Test for float placement around other float in BFC but outside containing block +
+
+
+ \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule7-outside-right-001-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule7-outside-right-001-ref.xht new file mode 100644 index 00000000000..69e1a26a283 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-rule7-outside-right-001-ref.xht @@ -0,0 +1,5 @@ +Test for float placement around other float in BFC but outside containing block +
+
+
+ \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-overflow-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-overflow-ref.xht new file mode 100644 index 00000000000..9d4c968d1d6 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-overflow-ref.xht @@ -0,0 +1,19 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-table-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-table-ref.xht new file mode 100644 index 00000000000..4b3b439c6de --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-table-ref.xht @@ -0,0 +1,17 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + +
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-overflow-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-overflow-ref.xht new file mode 100644 index 00000000000..00fc8fe6b7b --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-overflow-ref.xht @@ -0,0 +1,19 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-table-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-table-ref.xht new file mode 100644 index 00000000000..0b98fa080f3 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-table-ref.xht @@ -0,0 +1,17 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + +
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-ref.xht new file mode 100644 index 00000000000..b118e94fc3e --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-ref.xht @@ -0,0 +1,19 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-ref.xht new file mode 100644 index 00000000000..bb3774567eb --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-ref.xht @@ -0,0 +1,19 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + +
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-overflow-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-overflow-ref.xht new file mode 100644 index 00000000000..41ed0d3d354 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-overflow-ref.xht @@ -0,0 +1,17 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + +
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-table-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-table-ref.xht new file mode 100644 index 00000000000..e9ddad7da12 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-table-ref.xht @@ -0,0 +1,17 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + +
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-overflow-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-overflow-ref.xht new file mode 100644 index 00000000000..42c7861d6c8 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-overflow-ref.xht @@ -0,0 +1,17 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + +
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-table-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-table-ref.xht new file mode 100644 index 00000000000..768355e7a4e --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-table-ref.xht @@ -0,0 +1,17 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + +
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-004-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-004-ref.xht new file mode 100644 index 00000000000..fede0e5f0ef --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-004-ref.xht @@ -0,0 +1,60 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-005-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-005-ref.xht new file mode 100644 index 00000000000..bb3190d0cb7 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-005-ref.xht @@ -0,0 +1,37 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + + +
+
+
50%
+
+ +
+
+
50%
+
+ +
+
+
50%
+
+ +
+
+
50%
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-006-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-006-ref.xht new file mode 100644 index 00000000000..59051f846a5 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-006-ref.xht @@ -0,0 +1,177 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
Caption
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+ +
Cell
+ +
+ +
+
+
+
+
+
+
+
+
+
+ +
Caption
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
Cell
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
Cell
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+ +
Caption
+
+ +
+
+
+
+
+
+
+
+
+
+
+ +
Cell
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
Caption
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-007-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-007-ref.xht new file mode 100644 index 00000000000..f67bd790c31 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-007-ref.xht @@ -0,0 +1,110 @@ + + CSS Test: Test for flow around floats (reference) + + + + + + + + + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-outside-001-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-outside-001-ref.xht new file mode 100644 index 00000000000..20ae62757d4 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-outside-001-ref.xht @@ -0,0 +1,20 @@ + +Testcase, bug 472252 + + + +test + + +
+
+
+
+ + + diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001-ref.html new file mode 100644 index 00000000000..8e079b1f178 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001-ref.html @@ -0,0 +1,121 @@ + + + +CSS Reference Case + + + + + + diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-002-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-002-ref.html new file mode 100644 index 00000000000..03b7d86acbc --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-002-ref.html @@ -0,0 +1,96 @@ + + + +CSS Reference Case + + + + + + diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-003-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-003-ref.html new file mode 100644 index 00000000000..ac45eb30bf4 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-003-ref.html @@ -0,0 +1,124 @@ + + + +CSS Reference Case + + + + + + diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-010-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-010-ref.html new file mode 100644 index 00000000000..b29df933eba --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-010-ref.html @@ -0,0 +1,43 @@ + +CSS Test Reference + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001l-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001l-ref.xht new file mode 100644 index 00000000000..85fd23f870f --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001l-ref.xht @@ -0,0 +1,22 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001r-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001r-ref.xht new file mode 100644 index 00000000000..915e532788d --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-001r-ref.xht @@ -0,0 +1,22 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-002l-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-002l-ref.xht new file mode 100644 index 00000000000..1b003f43999 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-002l-ref.xht @@ -0,0 +1,21 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-002r-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-002r-ref.xht new file mode 100644 index 00000000000..847ff9a096e --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-002r-ref.xht @@ -0,0 +1,21 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-003l-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-003l-ref.xht new file mode 100644 index 00000000000..028a65fb67f --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-003l-ref.xht @@ -0,0 +1,20 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + +
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-003r-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-003r-ref.xht new file mode 100644 index 00000000000..4155c67aeed --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-wrap-top-below-003r-ref.xht @@ -0,0 +1,20 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + +
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-zero-height-wrap-001-ref.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-zero-height-wrap-001-ref.xht new file mode 100644 index 00000000000..68139cdbe2d --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/floats-zero-height-wrap-001-ref.xht @@ -0,0 +1,10 @@ +Test for wrapping around zero-height floats + +
+ + + + + +
+ \ No newline at end of file diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/negative-block-margin-pushing-float-out-of-block-formatting-context-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/negative-block-margin-pushing-float-out-of-block-formatting-context-ref.html new file mode 100644 index 00000000000..09a0ed094f8 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/negative-block-margin-pushing-float-out-of-block-formatting-context-ref.html @@ -0,0 +1,8 @@ + + + + + + +
+ diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/overflow-scroll-float-paint-order-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/overflow-scroll-float-paint-order-ref.html new file mode 100644 index 00000000000..0fb53d4ecd3 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/overflow-scroll-float-paint-order-ref.html @@ -0,0 +1,4 @@ + +
+
+
diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/overhanging-float-paint-order-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/overhanging-float-paint-order-ref.html new file mode 100644 index 00000000000..d3bacec1155 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/floats/overhanging-float-paint-order-ref.html @@ -0,0 +1,3 @@ + +
+
diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/reference/ref-filled-green-100px-square.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/reference/ref-filled-green-100px-square.xht new file mode 100644 index 00000000000..239200d067d --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/CSS2/reference/ref-filled-green-100px-square.xht @@ -0,0 +1,18 @@ + + + + CSS Reftest Reference + + + + +

Test passes if there is a filled green square and no red.

+
+ + diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/reference/ref-filled-green-100px-square.xht b/Tests/LibWeb/Ref/expected/wpt-import/css/reference/ref-filled-green-100px-square.xht new file mode 100644 index 00000000000..670b01f18af --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/reference/ref-filled-green-100px-square.xht @@ -0,0 +1,18 @@ + + + + CSS Reftest Reference + + + + +

Test passes if there is a filled green square and no red.

+
+ + diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/reference/ref-filled-green-200px-square.html b/Tests/LibWeb/Ref/expected/wpt-import/css/reference/ref-filled-green-200px-square.html new file mode 100644 index 00000000000..d8d71f86201 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/reference/ref-filled-green-200px-square.html @@ -0,0 +1,13 @@ + + +CSS Reftest Reference + + +

Test passes if there is a filled green square and no red.

+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/adjoining-floats-dynamic.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/adjoining-floats-dynamic.html new file mode 100644 index 00000000000..b23725fb1ec --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/adjoining-floats-dynamic.html @@ -0,0 +1,35 @@ + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+ + +
+
+
+
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/block-in-inline-become-float.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/block-in-inline-become-float.html new file mode 100644 index 00000000000..1b84382f89a --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/block-in-inline-become-float.html @@ -0,0 +1,23 @@ + + + + + +

Test passes if there is a filled green square and no red.

+
+ +
+
+
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-in-inline-anonymous-block-with-overflow-hidden.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-in-inline-anonymous-block-with-overflow-hidden.html new file mode 100644 index 00000000000..99fc895e4e9 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-in-inline-anonymous-block-with-overflow-hidden.html @@ -0,0 +1,12 @@ + +CSS Test: A float wrapped in an anonymous block should be visible within a container with overflow: hidden. + + + +

Test passes if there is a filled green square and no red.

+
+
+ +
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-no-content-beside-001.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-no-content-beside-001.html new file mode 100644 index 00000000000..163a9931f71 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-no-content-beside-001.html @@ -0,0 +1,23 @@ + + +CSS Floats — narrow containing block + + + + + + +
Test passes if all three examples render the same:
+ +

Supercalifragilisticexpialidocious

+ +
+ +

Supercalifragilisticexpialidocious

+ +
+ +


Supercalifragilisticexpialidocious

diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-2.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-2.html new file mode 100644 index 00000000000..438ea34f970 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-2.html @@ -0,0 +1,25 @@ + +CSS Test: Floats in nowrap context + + + + + + +
+ Some text that + + overflows my parent. +
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-3.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-3.html new file mode 100644 index 00000000000..85e33e3826b --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-3.html @@ -0,0 +1,28 @@ + +CSS Test: Floats in nowrap context + + + + + + +
+ Some + + text that overflows my parent. + +
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-5.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-5.html new file mode 100644 index 00000000000..275e70038d5 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-5.html @@ -0,0 +1,16 @@ + +CSS Test: Floats in nowrap context + + + + + + +
KittieHello  diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-6.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-6.html new file mode 100644 index 00000000000..5595229e05f --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-6.html @@ -0,0 +1,16 @@ + +CSS Test: Floats in nowrap context + + + + + + +
Hello Kittie diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-7.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-7.html new file mode 100644 index 00000000000..8d3f14a6978 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-7.html @@ -0,0 +1,26 @@ + +CSS Test: Floats in nowrap context + + + + + + +
+ S
ome text that overflows my parent.
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-8.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-8.html new file mode 100644 index 00000000000..ca5875cf763 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-8.html @@ -0,0 +1,24 @@ + +CSS Test: Floats in nowrap context + + + + + + +
+ Some + text that overflows my parent. +
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-9.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-9.html new file mode 100644 index 00000000000..e82bcf6b70d --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-nowrap-9.html @@ -0,0 +1,28 @@ + +CSS Test: Floats in nowrap context + + + + + + +
+ Some + + text that overflows my parent. + +
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-paint-relayout.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-paint-relayout.html new file mode 100644 index 00000000000..b301984346e --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-paint-relayout.html @@ -0,0 +1,11 @@ + + + +

Test passes if there is a filled green square and no red.

+
+ +
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-root.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-root.html new file mode 100644 index 00000000000..694b8fcbdaf --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-root.html @@ -0,0 +1,13 @@ + + + + + + + +

foo

+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-table-align-left-quirk.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-table-align-left-quirk.html new file mode 100644 index 00000000000..02355ddeab6 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-table-align-left-quirk.html @@ -0,0 +1,36 @@ + + + + CSS2: Check that the old IE quirk for <table align=left> is NOT implemented + + + + + + + +
+
1
+
2
+
+ +
+
1
+
2
+
+ +
+
1
+
2
+
+ +
+
1
+
2
+
+ + + diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-under-flatten-under-preserve-3d.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-under-flatten-under-preserve-3d.html new file mode 100644 index 00000000000..4c59c2a82b6 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-under-flatten-under-preserve-3d.html @@ -0,0 +1,10 @@ + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-with-absolutely-positioned-child-with-static-inset.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-with-absolutely-positioned-child-with-static-inset.html new file mode 100644 index 00000000000..e4a002c686d --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/float-with-absolutely-positioned-child-with-static-inset.html @@ -0,0 +1,35 @@ + + + + + + + + + +
+
+
+
+
+ + diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floated-table-wider-than-specified.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floated-table-wider-than-specified.html new file mode 100644 index 00000000000..e174e5cf972 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floated-table-wider-than-specified.html @@ -0,0 +1,15 @@ + +Floated table that becomes wider than its specified width, due to wide contents + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-in-table-caption-001.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-in-table-caption-001.html new file mode 100644 index 00000000000..924869b2509 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-in-table-caption-001.html @@ -0,0 +1,24 @@ + + + + + + + +Caption block containers are rendered same as normal block boxes + + +

+The words floated and inline should be legible below, with inline appearing just +to the right of the border surrounding floated. +

+ + + + +
+
+ floated +
+ inline +
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-line-wrap-shifted-001.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-line-wrap-shifted-001.html new file mode 100644 index 00000000000..2b50ad03121 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-line-wrap-shifted-001.html @@ -0,0 +1,44 @@ + + + + + + + + + +
+ 1111 + + 2222 + +
+ + 3333 +
+
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-001.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-001.html new file mode 100644 index 00000000000..de08d0ddad6 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-001.html @@ -0,0 +1,12 @@ + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-002.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-002.html new file mode 100644 index 00000000000..be2e3eec884 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-002.html @@ -0,0 +1,16 @@ + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-003.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-003.html new file mode 100644 index 00000000000..2b11f21db85 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-003.html @@ -0,0 +1,14 @@ + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+ +
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-004.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-004.html new file mode 100644 index 00000000000..34ddb8e237a --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-004.html @@ -0,0 +1,9 @@ + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-005.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-005.html new file mode 100644 index 00000000000..a978527d75e --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-005.html @@ -0,0 +1,34 @@ + + + + +
+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-006.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-006.html new file mode 100644 index 00000000000..b620d476c1d --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-006.html @@ -0,0 +1,38 @@ + + +Test the inline-block does not overlap with the float-right element. + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-007.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-007.html new file mode 100644 index 00000000000..921a32f5226 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-007.html @@ -0,0 +1,39 @@ + + +Test the inline-block does not overlap with the float-left element. + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-008.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-008.html new file mode 100644 index 00000000000..f7459b2325b --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-008.html @@ -0,0 +1,40 @@ + + +Test the inline-block does not overlap with the float-right element. + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001a.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001a.xht new file mode 100644 index 00000000000..f33ad01fa90 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001a.xht @@ -0,0 +1,24 @@ + +CSS Test: Test for float placement rules + + + + + + + + +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty + + +

\ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001b.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001b.xht new file mode 100644 index 00000000000..1d0817a7c04 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001b.xht @@ -0,0 +1,24 @@ + +CSS Test: Test for float placement rules + + + + + + + + +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty + + +

\ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001c.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001c.xht new file mode 100644 index 00000000000..fe6571e37a7 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001c.xht @@ -0,0 +1,24 @@ + +CSS Test: Test for float placement rules + + + + + + + + +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty +

HelloKitty + + +

\ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-003.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-003.xht new file mode 100644 index 00000000000..2dccab2df94 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-003.xht @@ -0,0 +1,16 @@ +CSS Test: Test for float placement rules + + + + + + + + +H +
+
+
+ + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-004.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-004.xht new file mode 100644 index 00000000000..6eede71e022 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-004.xht @@ -0,0 +1,15 @@ +CSS Test: Test for float placement rules + + + + + + + +
+H +
+ + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-left-001.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-left-001.xht new file mode 100644 index 00000000000..48ee8889b9b --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-left-001.xht @@ -0,0 +1,30 @@ +CSS Test: float placement around other float in BFC but outside containing block + + + + + + + + + +
+ +
+ +
+ + +
+ +
+ +
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-left-002.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-left-002.xht new file mode 100644 index 00000000000..d9b63abb636 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-left-002.xht @@ -0,0 +1,30 @@ +CSS Test: float placement around other float in BFC but outside containing block + + + + + + + + + +
+ +
+ +
+ + +
+ +
+ +
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-right-001.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-right-001.xht new file mode 100644 index 00000000000..6d2561c62b6 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-right-001.xht @@ -0,0 +1,30 @@ +CSS Test: float placement around other float in BFC but outside containing block + + + + + + + + + +
+ +
+ +
+ + +
+ +
+ +
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-right-002.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-right-002.xht new file mode 100644 index 00000000000..8379e84d6ee --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-right-002.xht @@ -0,0 +1,30 @@ +CSS Test: float placement around other float in BFC but outside containing block + + + + + + + + + +
+ +
+ +
+ + +
+ +
+ +
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule7-outside-left-001.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule7-outside-left-001.xht new file mode 100644 index 00000000000..2ce85563231 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule7-outside-left-001.xht @@ -0,0 +1,32 @@ +CSS Test: float placement around other float in BFC but outside containing block + + + + + + + + + +
+ +
+ +
+ + +
+ +
+ +
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule7-outside-right-001.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule7-outside-right-001.xht new file mode 100644 index 00000000000..e7745ec83cc --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-rule7-outside-right-001.xht @@ -0,0 +1,32 @@ +CSS Test: float placement around other float in BFC but outside containing block + + + + + + + + + +
+ +
+ +
+ + +
+ +
+ +
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-overflow.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-overflow.xht new file mode 100644 index 00000000000..c3e183706bb --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-overflow.xht @@ -0,0 +1,33 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-table.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-table.xht new file mode 100644 index 00000000000..dc54207dc8d --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-left-table.xht @@ -0,0 +1,33 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-overflow.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-overflow.xht new file mode 100644 index 00000000000..cb48c2372a3 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-overflow.xht @@ -0,0 +1,33 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-table.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-table.xht new file mode 100644 index 00000000000..411c9dfd736 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-table.xht @@ -0,0 +1,33 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-overflow.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-overflow.xht new file mode 100644 index 00000000000..4ce96d76adb --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-overflow.xht @@ -0,0 +1,34 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-table.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-table.xht new file mode 100644 index 00000000000..c6d9e9c6114 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-left-table.xht @@ -0,0 +1,34 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-overflow.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-overflow.xht new file mode 100644 index 00000000000..3f0ad51518f --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-overflow.xht @@ -0,0 +1,34 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-table.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-table.xht new file mode 100644 index 00000000000..d6cf9ff5cf8 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-table.xht @@ -0,0 +1,34 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-overflow.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-overflow.xht new file mode 100644 index 00000000000..1de5c4dd058 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-overflow.xht @@ -0,0 +1,33 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-table.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-table.xht new file mode 100644 index 00000000000..b57d3158faa --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-table.xht @@ -0,0 +1,33 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-overflow.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-overflow.xht new file mode 100644 index 00000000000..fb9e241c10f --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-overflow.xht @@ -0,0 +1,33 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-table.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-table.xht new file mode 100644 index 00000000000..c19ecc04292 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-table.xht @@ -0,0 +1,33 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-004.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-004.xht new file mode 100644 index 00000000000..9a50750275f --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-004.xht @@ -0,0 +1,85 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-005.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-005.xht new file mode 100644 index 00000000000..6aa474d9088 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-005.xht @@ -0,0 +1,43 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+
+
50%
+
+ +
+
+
50%
+
+ +
+
+
50%
+
+ +
+
+
50%
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-006.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-006.xht new file mode 100644 index 00000000000..1e140ba9d1b --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-006.xht @@ -0,0 +1,174 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + +
Caption
Cell
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + +
Caption
Cell
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + +
Caption
Cell
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + +
Caption
Cell
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-007.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-007.xht new file mode 100644 index 00000000000..be6eaf33414 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-007.xht @@ -0,0 +1,113 @@ + + CSS Test: Test for flow around floats + + + + + + + + + + + + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-008.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-008.html new file mode 100644 index 00000000000..d9ecee83a70 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-008.html @@ -0,0 +1,30 @@ + +CSS Test: BFC root after 2 floats + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-outside-001.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-outside-001.xht new file mode 100644 index 00000000000..ea7c9e6e7b4 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-outside-001.xht @@ -0,0 +1,23 @@ + + CSS Test: float + + + + + + + + + +
+
+
+
+ + + diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001.html new file mode 100644 index 00000000000..ff09b98d819 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001.html @@ -0,0 +1,114 @@ + + + +CSS Test: If a BFC's inline-axis margin is sufficiently negative such + that it inflates its border-box to be too large to fit alongside a float, + then it should be pushed below the float + + + + + + + + + + + diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001a.tentative.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001a.tentative.html new file mode 100644 index 00000000000..5b2fbe155bd --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001a.tentative.html @@ -0,0 +1,127 @@ + + + +CSS Test: If a BFC's inline-axis margin is sufficiently negative such + that it inflates its border-box to be too large to fit alongside a float, + then it should be pushed below the float + + + + + + + + + + + + + diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-002.tentative.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-002.tentative.html new file mode 100644 index 00000000000..e1a9686f2ce --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-002.tentative.html @@ -0,0 +1,112 @@ + + + +CSS Test: If a BFC's inline-axis margin is sufficiently negative such + that it inflates its border-box to be too large to fit alongside a float, + then it should be pushed below the float + + + + + + + + + + + + diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-003.tentative.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-003.tentative.html new file mode 100644 index 00000000000..fefb4ee251c --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-003.tentative.html @@ -0,0 +1,147 @@ + + + +CSS Test: BFCs with large margin, placed next to a float + + + + + + + + + + diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-004.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-004.html new file mode 100644 index 00000000000..1dd38231ffb --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-004.html @@ -0,0 +1,10 @@ + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-005.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-005.html new file mode 100644 index 00000000000..3c5be4fe783 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-005.html @@ -0,0 +1,10 @@ + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-006.tentative.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-006.tentative.html new file mode 100644 index 00000000000..36f7f82db83 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-006.tentative.html @@ -0,0 +1,32 @@ + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-007.tentative.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-007.tentative.html new file mode 100644 index 00000000000..1766ffb8c53 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-007.tentative.html @@ -0,0 +1,31 @@ + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-008.tentative.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-008.tentative.html new file mode 100644 index 00000000000..f4b5dc054e6 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-008.tentative.html @@ -0,0 +1,30 @@ + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-009.tentative.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-009.tentative.html new file mode 100644 index 00000000000..482c3f6e9f6 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-009.tentative.html @@ -0,0 +1,31 @@ + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-010.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-010.html new file mode 100644 index 00000000000..b15f4a63aca --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-010.html @@ -0,0 +1,46 @@ + +CSS Test: Float followed by a BFC root with a negative margin-top + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-001l.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-001l.xht new file mode 100644 index 00000000000..77be6e7396e --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-001l.xht @@ -0,0 +1,26 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-001r.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-001r.xht new file mode 100644 index 00000000000..b191cce8c9e --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-001r.xht @@ -0,0 +1,26 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-002l.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-002l.xht new file mode 100644 index 00000000000..b0f0dad682b --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-002l.xht @@ -0,0 +1,24 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-002r.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-002r.xht new file mode 100644 index 00000000000..349af5b1716 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-002r.xht @@ -0,0 +1,24 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-003l.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-003l.xht new file mode 100644 index 00000000000..c7c38244a2c --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-003l.xht @@ -0,0 +1,24 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-003r.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-003r.xht new file mode 100644 index 00000000000..ea5b081349f --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-003r.xht @@ -0,0 +1,24 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-001l.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-001l.xht new file mode 100644 index 00000000000..c96ad620dc6 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-001l.xht @@ -0,0 +1,26 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-001r.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-001r.xht new file mode 100644 index 00000000000..f6539bdfd7d --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-001r.xht @@ -0,0 +1,26 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-002l.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-002l.xht new file mode 100644 index 00000000000..576fb18628e --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-002l.xht @@ -0,0 +1,24 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-002r.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-002r.xht new file mode 100644 index 00000000000..8af588effde --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-002r.xht @@ -0,0 +1,24 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-003l.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-003l.xht new file mode 100644 index 00000000000..2becbb3c7e4 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-003l.xht @@ -0,0 +1,24 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-003r.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-003r.xht new file mode 100644 index 00000000000..4fecbf0ca0d --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-003r.xht @@ -0,0 +1,24 @@ + +CSS Test: Test for wrapping around floats whose top is below the top of what must wrap around them + + + + + + + + + +
+
+ + + + + + \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-zero-height-wrap-001.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-zero-height-wrap-001.xht new file mode 100644 index 00000000000..da04749436e --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-zero-height-wrap-001.xht @@ -0,0 +1,18 @@ +CSS Test: wrapping around zero-height floats + + + + + + +
+ +
+
+ + + + + +
+ \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-zero-height-wrap-002.xht b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-zero-height-wrap-002.xht new file mode 100644 index 00000000000..9c655d0dd26 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/floats-zero-height-wrap-002.xht @@ -0,0 +1,18 @@ +CSS Test: wrapping around zero-height floats + + + + + + +
+ +
+
+ + + + + +
+ \ No newline at end of file diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/intrinsic-size-float-and-line.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/intrinsic-size-float-and-line.html new file mode 100644 index 00000000000..f9342ba47a1 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/intrinsic-size-float-and-line.html @@ -0,0 +1,10 @@ + +Put float next to line in shrink-to-fit container + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/negative-block-margin-pushing-float-out-of-block-formatting-context.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/negative-block-margin-pushing-float-out-of-block-formatting-context.html new file mode 100644 index 00000000000..012cfd7c1ab --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/negative-block-margin-pushing-float-out-of-block-formatting-context.html @@ -0,0 +1,13 @@ + + + + + + + + +
+
+
+
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/negative-margin-float-positioning.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/negative-margin-float-positioning.html new file mode 100644 index 00000000000..7962e0d8124 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/negative-margin-float-positioning.html @@ -0,0 +1,8 @@ + + + +

Test passes if there is a filled green square.

+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-adjoining-float-2.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-adjoining-float-2.html new file mode 100644 index 00000000000..d8b90a15516 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-adjoining-float-2.html @@ -0,0 +1,16 @@ + +A new formatting context that fits beside an adjoining float, and thus pulls down the float with its top margin + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-adjoining-float.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-adjoining-float.html new file mode 100644 index 00000000000..03142d348d1 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-adjoining-float.html @@ -0,0 +1,16 @@ + +A new formatting context that fits beside an adjoining float, and thus pulls down the float with its top margin + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-margin-rtl.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-margin-rtl.html new file mode 100644 index 00000000000..9e685a720b0 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-margin-rtl.html @@ -0,0 +1,9 @@ + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-margin.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-margin.html new file mode 100644 index 00000000000..1e19272046c --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-margin.html @@ -0,0 +1,9 @@ + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-min-width.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-min-width.html new file mode 100644 index 00000000000..29d2dc8408e --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-beside-float-with-min-width.html @@ -0,0 +1,30 @@ + + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-relayout.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-relayout.html new file mode 100644 index 00000000000..56ccacb0184 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-relayout.html @@ -0,0 +1,15 @@ + +New formatting context relayout + + + +

Test passes if there is a filled green square.

+
+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float-2.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float-2.html new file mode 100644 index 00000000000..a83e7d63e38 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float-2.html @@ -0,0 +1,16 @@ + +A new formatting context that doesn't fit beside a float make the float non-adjoining + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float-3.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float-3.html new file mode 100644 index 00000000000..eec7e4b0fc4 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float-3.html @@ -0,0 +1,14 @@ + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float.html new file mode 100644 index 00000000000..8b6b46f9fd4 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float.html @@ -0,0 +1,16 @@ + +A new formatting context that doesn't fit beside a float make the float non-adjoining + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/overflow-scroll-float-paint-order.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/overflow-scroll-float-paint-order.html new file mode 100644 index 00000000000..2e0b57e5ee5 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/overflow-scroll-float-paint-order.html @@ -0,0 +1,49 @@ + +Overflow:scroll floating paint order + + + + +
+
+
+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/overhanging-float-paint-order.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/overhanging-float-paint-order.html new file mode 100644 index 00000000000..768d2397b2c --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/overhanging-float-paint-order.html @@ -0,0 +1,43 @@ + + + + + +
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/remove-block-between-inline-and-float.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/remove-block-between-inline-and-float.html new file mode 100644 index 00000000000..99945a4f5da --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/remove-block-between-inline-and-float.html @@ -0,0 +1,22 @@ + +Removing block between inline and float should put the two on the same line + + + +

Test passes if there is a filled green square and no red.

+ +
+
+
+
+
+
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-available-space-float-positioning.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-available-space-float-positioning.html new file mode 100644 index 00000000000..51240f8c2d8 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-available-space-float-positioning.html @@ -0,0 +1,8 @@ + + + +

Test passes if there is a filled green square.

+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-width-floats-positioning.tentative.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-width-floats-positioning.tentative.html new file mode 100644 index 00000000000..b6beca334e9 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-width-floats-positioning.tentative.html @@ -0,0 +1,11 @@ + +Zero width floats, and positioning with negative margins + + + +

Test passes if there is a filled green square.

+
+
+
+
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-width-floats.html b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-width-floats.html new file mode 100644 index 00000000000..0b560c12f59 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/CSS2/floats/zero-width-floats.html @@ -0,0 +1,12 @@ + +Zero width floats + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
diff --git a/Tests/LibWeb/TestConfig.ini b/Tests/LibWeb/TestConfig.ini index 65d9fde0b99..6e13e27c155 100644 --- a/Tests/LibWeb/TestConfig.ini +++ b/Tests/LibWeb/TestConfig.ini @@ -63,6 +63,65 @@ Ref/input/wpt-import/css/css-nesting/has-nesting.html Ref/input/wpt-import/css/css-nesting/host-nesting-003.html Ref/input/wpt-import/css/css-nesting/host-nesting-004.html Ref/input/wpt-import/css/css-nesting/nest-containing-forgiving.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-002r.xht +Ref/input/wpt-import/css/CSS2/floats/float-nowrap-3.html +Ref/input/wpt-import/css/CSS2/floats/overflow-scroll-float-paint-order.html +Ref/input/wpt-import/css/CSS2/floats/zero-width-floats-positioning.tentative.html +Ref/input/wpt-import/css/CSS2/floats/floats-zero-height-wrap-001.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-overflow.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-001l.xht +Ref/input/wpt-import/css/CSS2/floats/floats-zero-height-wrap-002.xht +Ref/input/wpt-import/css/CSS2/floats/float-nowrap-2.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001.html +Ref/input/wpt-import/css/CSS2/floats/remove-block-between-inline-and-float.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-003r.xht +Ref/input/wpt-import/css/CSS2/floats/float-nowrap-9.html +Ref/input/wpt-import/css/CSS2/floats/floats-placement-vertical-001c.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-outside-001.xht +Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float.html +Ref/input/wpt-import/css/CSS2/floats/float-nowrap-5.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-003r.xht +Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-right-001.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-010.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-008.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-002r.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-left-table.xht +Ref/input/wpt-import/css/CSS2/floats/float-no-content-beside-001.html +Ref/input/wpt-import/css/CSS2/floats/float-nowrap-8.html +Ref/input/wpt-import/css/CSS2/floats/new-fc-relayout.html +Ref/input/wpt-import/css/CSS2/floats/floats-placement-004.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-004.html +Ref/input/wpt-import/css/CSS2/floats/float-nowrap-7.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-003l.xht +Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float-2.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-002.tentative.html +Ref/input/wpt-import/css/CSS2/floats/new-fc-separates-from-float-3.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-inline-002l.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-006.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-003-right-table.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-003.tentative.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-005.html +Ref/input/wpt-import/css/CSS2/floats/float-nowrap-6.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-007.xht +Ref/input/wpt-import/css/CSS2/floats/floats-placement-005.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-005.xht +Ref/input/wpt-import/css/CSS2/floats/floats-rule3-outside-left-001.xht +Ref/input/wpt-import/css/CSS2/floats/floats-line-wrap-shifted-001.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-004.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-002l.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-table.xht +Ref/input/wpt-import/css/CSS2/floats/zero-width-floats.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-006.tentative.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-002-right-overflow.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-009.tentative.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-008.tentative.html +Ref/input/wpt-import/css/CSS2/floats/overhanging-float-paint-order.html +Ref/input/wpt-import/css/CSS2/floats/float-with-absolutely-positioned-child-with-static-inset.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-001r.xht +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-with-margin-001a.tentative.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-bfc-001-right-overflow.xht +Ref/input/wpt-import/css/CSS2/floats/floats-placement-003.html +Ref/input/wpt-import/css/CSS2/floats/floats-wrap-top-below-bfc-003l.xht ; WPT crash tests are not supported yet - and probably should go in a separate directory Text/input/wpt-import/css/css-nesting/delete-other-rule-crash.html diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/computed-float-position-absolute.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/computed-float-position-absolute.txt new file mode 100644 index 00000000000..66143659d5c --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/computed-float-position-absolute.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Fail +Details +Result Test Name MessageFail The computed value of float with absolute positioning when there is no box should be "none" \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/float-in-self-painting-inline.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/float-in-self-painting-inline.txt new file mode 100644 index 00000000000..c80890c4c86 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/float-in-self-painting-inline.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass Pass if not crashes \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/float-no-interpolation.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/float-no-interpolation.txt new file mode 100644 index 00000000000..61b19075fe6 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/float-no-interpolation.txt @@ -0,0 +1,77 @@ +Summary + +Harness status: OK + +Rerun + +Found 66 tests + +54 Pass +12 Fail +Details +Result Test Name MessageFail CSS Transitions with transition-behavior:allow-discrete: property from [initial] to [right] at (-0.3) should be [initial] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [initial] to [right] at (0) should be [initial] +Fail CSS Transitions with transition-behavior:allow-discrete: property from [initial] to [right] at (0.3) should be [initial] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [initial] to [right] at (0.5) should be [right] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [initial] to [right] at (0.6) should be [right] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [initial] to [right] at (1) should be [right] +Pass CSS Transitions with transition-behavior:allow-discrete: property from [initial] to [right] at (1.5) should be [right] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [initial] to [right] at (-0.3) should be [initial] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [initial] to [right] at (0) should be [initial] +Fail CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [initial] to [right] at (0.3) should be [initial] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [initial] to [right] at (0.5) should be [right] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [initial] to [right] at (0.6) should be [right] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [initial] to [right] at (1) should be [right] +Pass CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property from [initial] to [right] at (1.5) should be [right] +Pass CSS Transitions: property from [initial] to [right] at (-0.3) should be [right] +Pass CSS Transitions: property from [initial] to [right] at (0) should be [right] +Pass CSS Transitions: property from [initial] to [right] at (0.3) should be [right] +Pass CSS Transitions: property from [initial] to [right] at (0.5) should be [right] +Pass CSS Transitions: property from [initial] to [right] at (0.6) should be [right] +Pass CSS Transitions: property from [initial] to [right] at (1) should be [right] +Pass CSS Transitions: property from [initial] to [right] at (1.5) should be [right] +Pass CSS Transitions with transition: all: property from [initial] to [right] at (-0.3) should be [right] +Pass CSS Transitions with transition: all: property from [initial] to [right] at (0) should be [right] +Pass CSS Transitions with transition: all: property from [initial] to [right] at (0.3) should be [right] +Pass CSS Transitions with transition: all: property from [initial] to [right] at (0.5) should be [right] +Pass CSS Transitions with transition: all: property from [initial] to [right] at (0.6) should be [right] +Pass CSS Transitions with transition: all: property from [initial] to [right] at (1) should be [right] +Pass CSS Transitions with transition: all: property from [initial] to [right] at (1.5) should be [right] +Pass CSS Animations: property from [initial] to [right] at (-0.3) should be [initial] +Pass CSS Animations: property from [initial] to [right] at (0) should be [initial] +Pass CSS Animations: property from [initial] to [right] at (0.3) should be [initial] +Pass CSS Animations: property from [initial] to [right] at (0.5) should be [right] +Pass CSS Animations: property from [initial] to [right] at (0.6) should be [right] +Pass CSS Animations: property from [initial] to [right] at (1) should be [right] +Pass CSS Animations: property from [initial] to [right] at (1.5) should be [right] +Pass Web Animations: property from [initial] to [right] at (-0.3) should be [initial] +Pass Web Animations: property from [initial] to [right] at (0) should be [initial] +Pass Web Animations: property from [initial] to [right] at (0.3) should be [initial] +Pass Web Animations: property from [initial] to [right] at (0.5) should be [right] +Pass Web Animations: property from [initial] to [right] at (0.6) should be [right] +Pass Web Animations: property from [initial] to [right] at (1) should be [right] +Pass Web Animations: property from [initial] to [right] at (1.5) should be [right] +Fail CSS Transitions: property from [left] to [right] at (-1) should be [left] +Fail CSS Transitions: property from [left] to [right] at (0) should be [left] +Fail CSS Transitions: property from [left] to [right] at (0.4) should be [left] +Pass CSS Transitions: property from [left] to [right] at (0.5) should be [right] +Pass CSS Transitions: property from [left] to [right] at (1) should be [right] +Pass CSS Transitions: property from [left] to [right] at (1.5) should be [right] +Fail CSS Transitions with transition: all: property from [left] to [right] at (-1) should be [left] +Fail CSS Transitions with transition: all: property from [left] to [right] at (0) should be [left] +Fail CSS Transitions with transition: all: property from [left] to [right] at (0.4) should be [left] +Pass CSS Transitions with transition: all: property from [left] to [right] at (0.5) should be [right] +Pass CSS Transitions with transition: all: property from [left] to [right] at (1) should be [right] +Pass CSS Transitions with transition: all: property from [left] to [right] at (1.5) should be [right] +Pass CSS Animations: property from [left] to [right] at (-1) should be [left] +Pass CSS Animations: property from [left] to [right] at (0) should be [left] +Pass CSS Animations: property from [left] to [right] at (0.4) should be [left] +Pass CSS Animations: property from [left] to [right] at (0.5) should be [right] +Pass CSS Animations: property from [left] to [right] at (1) should be [right] +Pass CSS Animations: property from [left] to [right] at (1.5) should be [right] +Pass Web Animations: property from [left] to [right] at (-1) should be [left] +Pass Web Animations: property from [left] to [right] at (0) should be [left] +Pass Web Animations: property from [left] to [right] at (0.4) should be [left] +Pass Web Animations: property from [left] to [right] at (0.5) should be [right] +Pass Web Animations: property from [left] to [right] at (1) should be [right] +Pass Web Animations: property from [left] to [right] at (1.5) should be [right] \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/floats-saturated-position-crash.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/floats-saturated-position-crash.txt new file mode 100644 index 00000000000..ce39fda3fad --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/floats-saturated-position-crash.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass test passes if it does not crash \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-001.txt new file mode 100644 index 00000000000..9b5ae5d7843 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-001.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass hit-test-floats-001 \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-002.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-002.txt new file mode 100644 index 00000000000..0b255f77cc6 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-002.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass Hit test float \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-003.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-003.txt new file mode 100644 index 00000000000..d225cf9b5e4 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-003.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Fail +Details +Result Test Name MessageFail Miss float below something else \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-004.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-004.txt new file mode 100644 index 00000000000..e2fe4b7e8d5 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-004.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass Miss float below something else \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-005.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-005.txt new file mode 100644 index 00000000000..c2dad77ac3d --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/hit-test-floats-005.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass Miss clipped float \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/list-item-taller-than-opportunity-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/list-item-taller-than-opportunity-001.txt new file mode 100644 index 00000000000..ea9a38219f2 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/list-item-taller-than-opportunity-001.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass Layout should not crash \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/remove-float-in-first-line.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/remove-float-in-first-line.txt new file mode 100644 index 00000000000..6c39c1d3c26 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/remove-float-in-first-line.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass No crash or DCHECK failure \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/remove-float-then-abspos-in-inline.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/remove-float-then-abspos-in-inline.txt new file mode 100644 index 00000000000..6c39c1d3c26 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/remove-float-then-abspos-in-inline.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass No crash or DCHECK failure \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-001.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-001.txt new file mode 100644 index 00000000000..7584c3da0c2 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-001.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass #container 1 \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-002.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-002.txt new file mode 100644 index 00000000000..7584c3da0c2 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-002.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass #container 1 \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-003.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-003.txt new file mode 100644 index 00000000000..7584c3da0c2 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-003.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Pass +Details +Result Test Name MessagePass #container 1 \ No newline at end of file diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-004.txt b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-004.txt new file mode 100644 index 00000000000..15b53c110fe --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/CSS2/floats/zero-space-between-floats-004.txt @@ -0,0 +1,11 @@ +Summary + +Harness status: OK + +Rerun + +Found 1 tests + +1 Fail +Details +Result Test Name MessageFail #container 1 \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/computed-float-position-absolute.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/computed-float-position-absolute.html new file mode 100644 index 00000000000..769ce6bc1c1 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/computed-float-position-absolute.html @@ -0,0 +1,28 @@ + + +The computed value of float with absolute positioning when there is no box should be "none" + + + + + +
+
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/float-in-self-painting-inline.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/float-in-self-painting-inline.html new file mode 100644 index 00000000000..ea4ee84953f --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/float-in-self-painting-inline.html @@ -0,0 +1,13 @@ + +Floats in self-painting inline box should not crash + + + + + +
X
+
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/float-no-interpolation.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/float-no-interpolation.html new file mode 100644 index 00000000000..77ed9c3f1b9 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/float-no-interpolation.html @@ -0,0 +1,30 @@ + + + + + + + + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/floats-saturated-position-crash.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/floats-saturated-position-crash.html new file mode 100644 index 00000000000..cc8fde6ec13 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/floats-saturated-position-crash.html @@ -0,0 +1,18 @@ + + + + + +
+
+ text +
+
+
+
+
+
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-001.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-001.html new file mode 100644 index 00000000000..8a08fed6f58 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-001.html @@ -0,0 +1,21 @@ + + + + + + +
+ +
+ Link +
+
+
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-002.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-002.html new file mode 100644 index 00000000000..4754a472106 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-002.html @@ -0,0 +1,14 @@ + + + + +
+
+ + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-003.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-003.html new file mode 100644 index 00000000000..3342438bb2a --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-003.html @@ -0,0 +1,15 @@ + + + + +
+
+
+ + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-004.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-004.html new file mode 100644 index 00000000000..c105ada688c --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-004.html @@ -0,0 +1,16 @@ + + + + +
+
+
+
+ + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-005.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-005.html new file mode 100644 index 00000000000..d3cb56ea4ab --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/hit-test-floats-005.html @@ -0,0 +1,17 @@ + + + + +
+
+
+
+
+ + + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/list-item-taller-than-opportunity-001.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/list-item-taller-than-opportunity-001.html new file mode 100644 index 00000000000..a1d50411eb0 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/list-item-taller-than-opportunity-001.html @@ -0,0 +1,17 @@ + +List item taller than the first opportunity should not crash + + + + + + +
+
+
    +
  • +
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/remove-float-in-first-line.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/remove-float-in-first-line.html new file mode 100644 index 00000000000..c583a8411e0 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/remove-float-in-first-line.html @@ -0,0 +1,30 @@ + +Removing floats in ::first-line should not crash + + + + + + + +
text
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/remove-float-then-abspos-in-inline.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/remove-float-then-abspos-in-inline.html new file mode 100644 index 00000000000..5764bafc784 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/remove-float-then-abspos-in-inline.html @@ -0,0 +1,31 @@ + +Removing floats changed to positioned object should not crash + + + + + + + +
text
+ + diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-001.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-001.html new file mode 100644 index 00000000000..63ebbfcb33f --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-001.html @@ -0,0 +1,15 @@ + +A zero-width new formatting context should fit in a zero-width layout opportunity between floats + + + + + +
+
+
+
+
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-002.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-002.html new file mode 100644 index 00000000000..a157f2f88f7 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-002.html @@ -0,0 +1,16 @@ + +A zero-width new formatting context should fit in a zero-width layout opportunity between floats, above a 100% wide float + + + + + +
+
+
+
+
+
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-003.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-003.html new file mode 100644 index 00000000000..8ae6de026ba --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-003.html @@ -0,0 +1,16 @@ + +Zero-width new formatting context with clearance + + + + + +
+
+
+
+
+
+ diff --git a/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-004.html b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-004.html new file mode 100644 index 00000000000..04ad1d89540 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/CSS2/floats/zero-space-between-floats-004.html @@ -0,0 +1,16 @@ + +Zero-width new formatting context with clearance + + + + + +
+
+
+
+
+
+