[Webkit-unassigned] [Bug 67232] Padding can be split from line boxes across column boundaries

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 30 14:57:51 PDT 2011


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


Dave Hyatt <hyatt at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hyatt at apple.com




--- Comment #1 from Dave Hyatt <hyatt at apple.com>  2011-08-30 14:57:51 PST ---
Yeah this is a problem I have totally punted on, since it's a very undefined space and I wasn't sure how far to take it.

A good general rule I think would be to prevent border/padding from ever being by themselves in a column with no associated child content also in the column.

However note that this could lead to some very complicated rewinding, since we'd essentially have to run block layout again in order to correct the initial placement.

I think this is fine though. It's algorithmically similar to what happens when you guess incorrectly and a collapsed descendant margin propagates up to you and forces you to re-evaluate your current position and lay out again.

However, we put in a lot of trickery to avoid O(n^2) explosions with this collapsed margin issue, and we'll probably have to do the same thing with pagination. We mainly avoided it by having the estimate use the collapsed margin from the previous layout attempt.

I think we can maybe do something similar with pagination, but I'd have to think about it.

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