[wpt-sync] Sync PR 39488 - Handle min/max sizes in non-replaced positioned boxes
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39488 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39488
Details from upstream follow.
Delan Azabani <dazabani@igalia.com> wrote:
Handle min/max sizes in non-replaced positioned boxes
This patch makes HoistedAbsolutelyPositionedBox handle min/max sizes in the non-replaced case, per CSS2 #min-max-widths and #min-max-heights. No changes are made to the replaced case.
3 new tests:
- /css/CSS2/positioning/absolute-non-replaced-max-001.html (fails under layout 2013)
- /css/CSS2/positioning/absolute-non-replaced-min-001.html (fails under layout 2013)
- /css/CSS2/positioning/absolute-non-replaced-min-max-001.html (passes under layout 2013)
13 tests now pass:
- /css/CSS2/positioning/absolute-non-replaced-max-height-002.xht
- /css/CSS2/positioning/absolute-non-replaced-max-height-003.xht
- /css/CSS2/positioning/absolute-non-replaced-max-height-007.xht
- /css/CSS2/positioning/absolute-non-replaced-max-height-008.xht
- /css/CSS2/positioning/absolute-non-replaced-max-height-009.xht
- /css/CSS2/positioning/absolute-non-replaced-max-height-011.xht
- /css/CSS2/positioning/absolute-non-replaced-width-025.xht
- /css/CSS2/positioning/absolute-non-replaced-width-026.xht
- /css/CSS2/positioning/abspos-change-in-inline-block.html
- /css/CSS2/positioning/abspos-width-change-inline-container-001.html
- /css/CSS2/positioning/detach-abspos-before-layout.html
- /css/CSS2/positioning/relpos-percentage-left-in-scrollable-2.html
- /css/CSS2/positioning/relpos-percentage-left-in-scrollable.html
11 tests would now pass if
<br>
was inserted between the two<img>
tags in the reference (#29591):
- /css/CSS2/positioning/absolute-non-replaced-height-003.xht
- /css/CSS2/positioning/absolute-non-replaced-height-004.xht
- /css/CSS2/positioning/absolute-non-replaced-height-005.xht
- /css/CSS2/positioning/absolute-non-replaced-height-010.xht
- /css/CSS2/positioning/absolute-non-replaced-height-011.xht
- /css/CSS2/positioning/absolute-non-replaced-height-012.xht
- /css/CSS2/positioning/absolute-non-replaced-max-height-004.xht
- /css/CSS2/positioning/absolute-non-replaced-max-height-005.xht
- /css/CSS2/positioning/absolute-non-replaced-max-height-006.xht
- /css/CSS2/positioning/absolute-non-replaced-max-height-010.xht
- /css/CSS2/positioning/absolute-non-replaced-max-height-012.xht
1 test continues to fail, but the expectation was out of date:
Reviewed in servo/servo#29594
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests
Status Summary
Firefox
PASS
: 3
Chrome
PASS
: 3
Safari
PASS
: 3
Links
Comment 4•2 years ago
|
||
bugherder |
Description
•