[Webkit-unassigned] [Bug 20013] Windows AX heuristics are poor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 26 15:33:42 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20013





------- Comment #77 from sankaraditya+bugzilla at gmail.com  2008-08-26 15:33 PDT -------
Jon,
As per http://webkit.org/blog/115/webcore-rendering-ii-blocks-and-inlines/,
webkit creates many intermediate anonymous blocks to satisfy few variants. As
specified in that webpage, consider the following block:

<i>Italic only <b>italic and bold
<div>
Wow, a block!
</div>
<div>
Wow, another block!
</div>
More italic and bold text</b> More italic text</i>

This block will be modified into 

<anonymous pre block>
<i>Italic only <b>italic and bold</b></i>
</anonymous pre block>
<anonymous middle block>
<div>
Wow, a block!
</div>
<div>
Wow, another block!
</div>
</anonymous middle block>
<anonymous post block>
<i><b>More italic and bold text</b> More italic text</i>
</anonymous post block>

Anonymous blocks create a lot number of intermediate elements of type grouping.
This doesn't look nice and also makes the tree a heavy object. I have checked
the behavior for the same HTML snippet in Firefox 3. Tree looks clean and
simple. To match the behaviour of Firefox3, we shouldn't expose anonymous
blocks. I have made the changes for this. Can you please check this.

~ Thanks


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list