[wpt-sync] Sync PR 64158 - layout: Avoid negative size when stretching element that avoids floats
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64158 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64158
Details from upstream follow.
Oriol Brufau <obrufau@igalia.com> wrote:
layout: Avoid negative size when stretching element that avoids floats
Typically,
PlacementAmongFloatsguarantees that the inline size of the placement rect is big enough, but that may fail when dealing with huge sizes that need to be saturated toMAX_AU.It's the same underlying problem as in #<!-- nolink -->37362, and the solution is also flooring by zero.
Testing: Adding test
Fixes: #<!-- nolink -->49235Reviewed in servo/servo#49237
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Comment 1•25 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=114171
| Assignee | ||
Comment 2•24 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 78 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 49[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[GitHub] 879[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 900[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 134[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 142[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 1
PASS: 1
Safari
OK : 1
PASS: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-sizing/stretch/bfc-next-to-float-1.html [wpt.fyi]:
FAIL - /css/css-sizing/stretch/bfc-next-to-float-2.html [wpt.fyi]:
FAIL - /css/css-sizing/stretch/block-height-003.html [wpt.fyi]:
FAIL - /css/css-sizing/stretch/block-height-006.html [wpt.fyi]:
FAIL - /css/css-sizing/stretch/block-height-009.html [wpt.fyi]:
FAIL - /css/css-sizing/stretch/block-height-010.html [wpt.fyi]:
FAIL - /css/css-sizing/stretch/replaced-next-to-float-1.html [wpt.fyi]:
FAIL - /css/css-sizing/stretch/replaced-next-to-float-2.html [wpt.fyi]:
FAIL - /css/css-sizing/stretch/block-height-002.html [wpt.fyi]
- main > div > div 2:
FAIL
- main > div > div 2:
- /css/css-sizing/stretch/block-height-004.html [wpt.fyi]
- .inner 1:
FAIL - .inner 2:
FAIL - .inner 3:
FAIL - .inner 4:
FAIL - .inner 5:
FAIL - .inner 6:
FAIL - .inner 7:
FAIL
- .inner 1:
- /css/css-sizing/stretch/block-height-005.html [wpt.fyi]
- .float + div 1:
FAIL - .float + div 2:
FAIL - .float + div 3:
FAIL - .float + div 4:
FAIL
- .float + div 1:
- /css/css-sizing/stretch/block-height-007.html [wpt.fyi]
- .child 1:
FAIL - .child 3:
FAIL - .child 5:
FAIL - .child 7:
FAIL - .child 9:
FAIL - .child 11:
FAIL - .child 13:
FAIL - .child 15:
FAIL - .child 17:
FAIL - .child 19:
FAIL
- .child 1:
- /css/css-sizing/stretch/block-height-008.html [wpt.fyi]
- .child 2:
FAIL - .child 4:
FAIL - .child 6:
FAIL - .child 8:
FAIL - .child 10:
FAIL - .child 12:
FAIL - .child 14:
FAIL - .child 16:
FAIL - .child 18:
FAIL - .child 20:
FAIL - .child 22:
FAIL - .child 24:
FAIL - .child 26:
FAIL - .child 28:
FAIL - .child 30:
FAIL - .child 32:
FAIL - .child 34:
FAIL - .child 36:
FAIL - .child 38:
FAIL - .child 40:
FAIL - .child 42:
FAIL - .child 44:
FAIL - .child 46:
FAIL - .child 48:
FAIL - .child 50:
FAIL - .child 52:
FAIL - .child 54:
FAIL - .child 56:
FAIL - .child 58:
FAIL - .child 60:
FAIL - .child 62:
FAIL - .child 64:
FAIL - .child 66:
FAIL - .child 68:
FAIL - .child 70:
FAIL - .child 72:
FAIL - .child 74:
FAIL - .child 76:
FAIL - .child 78:
FAIL - .child 80:
FAIL - .child 82:
FAIL - .child 84:
FAIL - .child 86:
FAIL - .child 88:
FAIL - .child 90:
FAIL - .child 92:
FAIL - .child 94:
FAIL - .child 96:
FAIL - .child 98:
FAIL - .child 100:
FAIL - .child 102:
FAIL - .child 104:
FAIL - .child 106:
FAIL - .child 108:
FAIL - .child 110:
FAIL - .child 112:
FAIL - .child 114:
FAIL - .child 116:
FAIL - .child 118:
FAIL - .child 120:
FAIL - .child 122:
FAIL - .child 124:
FAIL - .child 126:
FAIL - .child 128:
FAIL - .child 130:
FAIL - .child 132:
FAIL - .child 134:
FAIL - .child 136:
FAIL - .child 138:
FAIL - .child 140:
FAIL - .child 142:
FAIL - .child 144:
FAIL - .child 146:
FAIL - .child 148:
FAIL - .child 150:
FAIL - .child 152:
FAIL - .child 154:
FAIL - .child 156:
FAIL - .child 158:
FAIL - .child 160:
FAIL
- .child 2:
- /css/css-sizing/stretch/block-height-011.html [wpt.fyi]
- .test 5:
FAIL - .test 6:
FAIL - .test 7:
FAIL - .test 8:
FAIL
- .test 5:
- /css/css-sizing/stretch/flex-line-002.html [wpt.fyi]
- .stretch 3:
FAIL
- .stretch 3:
- /css/css-sizing/stretch/flex-line-003.html [wpt.fyi]
- .stretch 3:
FAIL
- .stretch 3:
- /css/css-sizing/stretch/flex-line-004.html [wpt.fyi]
- .stretch 3:
FAIL
- .stretch 3:
- /css/css-sizing/stretch/flex-line-005.html [wpt.fyi]
- .stretch 1:
FAIL
- .stretch 1:
- /css/css-sizing/stretch/stretch-alias-block-size-001.tentative.html [wpt.fyi]
- [data-expected-height] 21:
FAIL - [data-expected-height] 44:
FAIL
- [data-expected-height] 21:
- /css/css-sizing/stretch/stretch-alias-inline-size-001.tentative.html [wpt.fyi]
- [data-expected-width] 21:
FAIL - [data-expected-width] 44:
FAIL
- [data-expected-width] 21:
- /css/css-sizing/stretch/stretch-alias-max-block-size-001.tentative.html [wpt.fyi]
- [data-expected-height] 21:
FAIL - [data-expected-height]:not([skip-second-pass]) 44:
FAIL
- [data-expected-height] 21:
- /css/css-sizing/stretch/stretch-alias-max-inline-size-001.tentative.html [wpt.fyi]
- [data-expected-width] 21:
FAIL - [data-expected-width]:not([skip-second-pass]) 44:
FAIL
- [data-expected-width] 21:
- /css/css-sizing/stretch/stretch-alias-min-block-size-001.tentative.html [wpt.fyi]
- [data-expected-height] 21:
FAIL - [data-expected-height] 44:
FAIL
- [data-expected-height] 21:
- /css/css-sizing/stretch/stretch-alias-min-inline-size-001.tentative.html [wpt.fyi]
- [data-expected-width] 21:
FAIL - [data-expected-width] 44:
FAIL
- [data-expected-width] 21:
- /css/css-sizing/stretch/stretch-block-size-001.html [wpt.fyi]
- [data-expected-height] 21:
FAIL - [data-expected-height] 44:
FAIL
- [data-expected-height] 21:
- /css/css-sizing/stretch/stretch-inline-size-001.html [wpt.fyi]
- [data-expected-width] 21:
FAIL - [data-expected-width] 44:
FAIL
- [data-expected-width] 21:
- /css/css-sizing/stretch/stretch-max-block-size-001.html [wpt.fyi]
- [data-expected-height] 21:
FAIL - [data-expected-height]:not([skip-second-pass]) 44:
FAIL
- [data-expected-height] 21:
- /css/css-sizing/stretch/stretch-max-inline-size-001.html [wpt.fyi]
- [data-expected-width] 21:
FAIL - [data-expected-width]:not([skip-second-pass]) 44:
FAIL
- [data-expected-width] 21:
- /css/css-sizing/stretch/stretch-min-block-size-001.html [wpt.fyi]
- [data-expected-height] 21:
FAIL - [data-expected-height] 44:
FAIL
- [data-expected-height] 21:
- /css/css-sizing/stretch/stretch-min-inline-size-001.html [wpt.fyi]
- [data-expected-width] 21:
FAIL - [data-expected-width] 44:
FAIL
- [data-expected-width] 21:
Comment 4•17 days ago
|
||
| bugherder | ||
Description
•