[Webkit-unassigned] [Bug 56153] RenderBlocks with negative width

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 14 13:14:31 PDT 2011


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





--- Comment #2 from James Robinson <jamesr at chromium.org>  2011-03-14 13:14:31 PST ---
After chatting with Tab it seems the issue is that when calculating the logical width we need to handle the case where the width goes negative by dropping a constraint and re-solving (dropping into the !logicalLeftIsAuto && !logicalWidthIsAuto && !logicalRightIsAuto case would seem to do the trick here).  It looks like what Gecko 2.0 does is ignore the specified value for 'right' and re-solving - the computed values for left/right/width are 20px/-20px/0px, respectively in this test case.

The same issue exists for padding/borders.

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