aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-10-17 09:53:57 +0200
committerGitHub <noreply@github.com>2023-10-17 07:53:57 +0000
commit2c341d9e69f75919d9ddb252ccffe9e6ca381e8a (patch)
tree816c46ab8c1f86add0e2ead9680e7222a8216a09 /tests/wpt/meta
parent59ea908294eff1c7b9e1901df4d19cec2707eb8b (diff)
downloadservo-2c341d9e69f75919d9ddb252ccffe9e6ca381e8a.tar.gz
servo-2c341d9e69f75919d9ddb252ccffe9e6ca381e8a.zip
Allow raising FloatContext ceiling after processing box with overflow (#30539)
When a box has overflow, any floats placed in that box will lower the float ceiling into the overflow. If no float is placed in the box though, the ceiling should be the block position where the overflow starts. We already know where this is, because we might be passing a negative value for the new block position after processing a box (content_size - actual_size would be negative). This negative value never raises the ceiling though since a maximum is used. In the case that there is overflow, this change allows raising the ceiling, but never passed the lowest float. This necessitates keeping two values for the ceiling: one for floats and one for non-floats. Fixes #30304.
Diffstat (limited to 'tests/wpt/meta')
-rw-r--r--tests/wpt/meta/css/CSS2/margin-padding-clear/margin-collapse-104.xht.ini2
-rw-r--r--tests/wpt/meta/css/CSS2/zorder/z-index-020.xht.ini2
-rw-r--r--tests/wpt/meta/css/cssom-view/elementsFromPoint-simple.html.ini9
3 files changed, 0 insertions, 13 deletions
diff --git a/tests/wpt/meta/css/CSS2/margin-padding-clear/margin-collapse-104.xht.ini b/tests/wpt/meta/css/CSS2/margin-padding-clear/margin-collapse-104.xht.ini
deleted file mode 100644
index 05240ac99c1..00000000000
--- a/tests/wpt/meta/css/CSS2/margin-padding-clear/margin-collapse-104.xht.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[margin-collapse-104.xht]
- expected: FAIL
diff --git a/tests/wpt/meta/css/CSS2/zorder/z-index-020.xht.ini b/tests/wpt/meta/css/CSS2/zorder/z-index-020.xht.ini
deleted file mode 100644
index e896f829816..00000000000
--- a/tests/wpt/meta/css/CSS2/zorder/z-index-020.xht.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[z-index-020.xht]
- expected: FAIL
diff --git a/tests/wpt/meta/css/cssom-view/elementsFromPoint-simple.html.ini b/tests/wpt/meta/css/cssom-view/elementsFromPoint-simple.html.ini
index a4b894bcee4..5334b943293 100644
--- a/tests/wpt/meta/css/cssom-view/elementsFromPoint-simple.html.ini
+++ b/tests/wpt/meta/css/cssom-view/elementsFromPoint-simple.html.ini
@@ -1,12 +1,3 @@
[elementsFromPoint-simple.html]
- [elementsFromPoint for each corner of a simple div]
- expected: FAIL
-
- [elementsFromPoint for each corner of a div that is between another div and its pseudo-element]
- expected: FAIL
-
- [elementsFromPoint for each corner of a div that has a margin]
- expected: FAIL
-
[elementsFromPoint for each corner of a div with a 3d transform]
expected: FAIL