[Webkit-unassigned] [Bug 97175] New: Duplicate render objects should be removed when anonymous blocks are removed.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 19 23:21:40 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=97175
Summary: Duplicate render objects should be removed when
anonymous blocks are removed.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tasak at google.com
When some block element is inserted into inline element, anonymous render blocks will be created and 2 renderer of the inline element will be created under different anonymous render block. For example,
<span style="display: inline">
<div></div>
</span>
Its render tree looks like:
RenderBlock (anonymous)
RenderInline {SPAN}
RenderBlock (anonymous)
RenderBlock {DIV}
RenderBlock (anonymous)
RenderInline {SPAN}
When the <div> is removed, the RenderBlock(anonymous) will be removed in RenderBlock::removeChild. However, the code doesn't destroy duplicate RenderInline{SPAN}. So,
RenderInline {SPAN}
RenderInline {SPAN}
Two RenderInline{SPAN} still exist. This is the problem.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list