[Webkit-unassigned] [Bug 123795] [CSS Regions] Percent-sized floats are sized relative to the size of the NamedFlowThread instead of the region they are rendered in

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 15 00:15:47 PDT 2014


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


Andrei Bucur <abucur at adobe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abucur at adobe.com




--- Comment #3 from Andrei Bucur <abucur at adobe.com>  2014-05-15 00:16:09 PST ---
I've investigated this a bit and it's not very straightforward to implement. The problem here is that the top position of a float depends on the width of a float.

For example, a left float will be positioned alongside other left floats as long as it still fits. This means you first need to determine the width and if the float doesn't fit, reposition it below the other floats. This is doable with regions but it implies a multi-step layout and important changes in the code. Instead of computing the width and the positioning the float you:
- first need to estimate the top
- compute the width in the region at that top offset
- if it doesn't fit, move it below the other floats
- recompute the width at the new top

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