[wpt-sync] Sync PR 27975 - [css-flexbox] Improve robustness of select-element-zero-height-* tests
Categories
(Core :: Layout: Flexbox, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27975 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27975
Details from upstream follow.
b'Sergio Villar Senin <svillar@igalia.com>' wrote:
[css-flexbox] Improve robustness of select-element-zero-height-* tests
WebKit has been applying (since 2003) what it calls intrinsic margins to control elements (like menu lists) for several reasons, mainly to leave space for focus rings and to keep them from butting up against one another. Those intrinsic margins are applied only if the control element (like
<select>
) has auto or intrinsic size.This is a problem in
select-element-zero-height-*
tests in which the control hasauto
size in the gold standard and a specified size (100%
) in the reference. From the WebKit POV the former needs "intrinsic margins" while the latter don't, creating 2px differences in the results that has nothing to do with flexbox.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=52ec396ce07d57676aebb566c327543e5fa3ce21
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/36daf55a8105 [wpt PR 27975] - [css-flexbox] Improve robustness of select-element-zero-height-* tests, a=testonly
Assignee | ||
Comment 3•3 years ago
|
||
Test result changes from PR not available.
Comment 4•3 years ago
|
||
bugherder |
Description
•