[Webkit-unassigned] [Bug 93809] [CSS Regions] Setting region-break-after: always on a <br> element does not cause a region break
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 13 14:21:58 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=93809
--- Comment #4 from Manuel Rego Casasnovas <rego at igalia.com> 2013-06-13 14:20:33 PST ---
(In reply to comment #3)
> For the moment, I've been debugging the code and what I get is that the RenderBlock corresponding to the paragraph has no children while in the case of <span> it has children. I'll look deeper trying to understand why this RenderBlock is created without any children.
I was wrong in my assumption, checking the code that creates the RenderObjects it actually creates the paragraph and its children.
Them problem is that for the paragraph childrenInline() is TRUE (in the case of <br> and FALSE in the case of <span>) this causes that RenderBlock::layoutBlockChildren() is not called. You can see the if in RenderBlock::layoutBlock():
if (childrenInline())
layoutInlineChildren(relayoutChildren, repaintLogicalTop, repaintLogicalBottom);
else
layoutBlockChildren(relayoutChildren, maxFloatLogicalBottom);
The next step will be to understand why childrenInline() is TRUE in this situation.
--
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