[wpt-sync] Sync PR 26756 - Fieldset NG: the anonymous fieldset content box should be a container of absolute-positioned descendants if the fieldset can be a container
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox86 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26756 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26756
Details from upstream follow.
b'Kent Tamura <tkent@chromium.org>' wrote:
Fieldset NG: the anonymous fieldset content box should be a container of absolute-positioned descendants if the fieldset can be a container
Such descendants should not be contained by the fieldset because they
should be scrolled together with the fieldset contents. This CL adds
|position: relative| to the anonymous fieldset content box if the
fieldset can contain absolute-positioned objects.We need to add a special handling for OOF descendants of a LEGEND to
LayoutObject::ContainerForAbsolutePosition() because such OOF
descendants are contained by the fieldset in an NG fragment tree.
Without this change, we had some CHECK failures.Bug: 1153042
Change-Id: I993922cfd373a9e0558bc50edb009680f0f1244a
Reviewed-on: https://chromium-review.googlesource.com/2569140
WPT-Export-Revision: 65f2e92731e7a9b955c4fce1d72c86f68ee1c582
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
| Assignee | ||
Comment 3•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
FAIL: 1
Safari
FAIL: 1
Links
Comment 5•4 years ago
|
||
| bugherder | ||
Description
•