[Webkit-unassigned] [Bug 106006] Widows and orphans test4 fails if isolated

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 16 08:55:14 PST 2013


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


Andrei Bucur <abucur at adobe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-unassigned at lists.web |abucur at adobe.com
                   |kit.org                     |




--- Comment #1 from Andrei Bucur <abucur at adobe.com>  2013-01-16 08:56:59 PST ---
I've found the issue and I have the patch almost ready (I just have to add a test). It seems that using lineCount() inside adjustLinePositionForPagination is not reliable. It only works during a full layout, when lineCount() actually returns the index of the lineBox.
In subsequent layouts, determineStartPosition will call adjustLinePositionForPagination but lineCount() will iterate through all the lines and not stop to the lineBox. So orphans() will never be greater than lineCount().

-- 
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