[wpt-sync] Sync PR 33077 - [block-in-inline] Fix when inserting inline in the middle of blocks
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33077 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33077
Details from upstream follow.
Koji Ishii <kojii@chromium.org> wrote:
[block-in-inline] Fix when inserting inline in the middle of blocks
When inserting an inline child in the middle of blocks-in-
inline, the |LayoutObject| tree must be adjusted. For example:LayoutInline LayoutBlockFlow (anonymous) LayoutBlockFlow DIV LayoutBlockFlow DIV
should become:
LayoutInline LayoutBlockFlow (anonymous) LayoutBlockFlow DIV LayoutInline LayoutBlockFlow (anonymous) LayoutBlockFlow DIV
To do this, this patch moves |SplitAnonymousBoxesAroundChild|
from |LayoutBox| to |LayoutBoxModelObject|, and changes it to
work with |LayoutInline|.Bug: 1301982
Change-Id: I680748159d50826f152b0bf6c46d11bb33563c40
Reviewed-on: https://chromium-review.googlesource.com/3499975
WPT-Export-Revision: c5d695c017534a4a7c4bf1e1a9226aa43668ed5d
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Comment 6•3 years ago
|
||
bugherder |
Description
•