[Webkit-unassigned] [Bug 76262] StyleRecalc should occur when shadow root exists and light children are changed.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 25 23:29:45 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=76262
--- Comment #11 from Shinya Kawanaka <shinyak at chromium.org> 2012-01-25 23:29:44 PST ---
I was investigating why anonymous RenderBlock was created today.
Let's consider the following.
<div>foo<div>bar</div></div>
This will create renderer tree like the following:
RenderBlock
RenderBlock (anonymous)
RenderText <-- (1)
RenderBlock {DIV} <-- (2)
RenderText
When (1) is removed, the parent RenderBlock is not deleted. If (2) is removed, the previous anonymous RenderBlock is deleted.
Also, let's consider the following.
<div>foo<div>bar</div>baz</div>
RenderBlock
RenderBlock (anonymous)
RenderText
RenderBlock {DIV}
RenderText
RenderBlock (anonymous)
RenderText
When foo and baz are removed, these anonymous RenderBlock won't be removed. When DIV is deleted,
those anonymous RenderBlocks are merged, then removed.
--
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