[Webkit-unassigned] [Bug 71908] New: CSS Exclusions: implement the layout algorithm
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 9 06:59:48 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=71908
Summary: CSS Exclusions: implement the layout algorithm
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://dev.w3.org/csswg/css3-exclusions/#exclusions-im
plementation-note
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: achicu at adobe.com
Blocks: 57311
Implement the layout algorithm described in the implementation note of the exclusions spec: http://dev.w3.org/csswg/css3-exclusions/#exclusions-implementation-note
This should be the master bug of the layout implementation:
First pass:
- Do a totally normal layout that doesn't take into account any wrap properties
Second step:
- Second step runs only if there were exclusions detected in the first step
1. Create a list of exclusions in the current wrapping context
2. Sort the list of exclusions using the exclusion order described at http://dev.w3.org/csswg/css3-exclusions/#exclusions-order
3. Take the exclusions in reverse (ie. starting from the exclusion that is not affected by anything else). For each exclusion do the following steps:
3.1. Do the layout of the exclusion, keeping the exclusion position and size unmodified.
3.2. After the layout of the exclusion is finished, add its shape-outside to the wrapping context.
3.3. Take the following exclusion
4. Finish the layout of the block without changing the layout of the descendant exclusions.
Notes:
1. Floats will be affected by exclusions as if they were a big character. That means, the layout will try to position floats without overlapping them with exclusions.
2. Inline-blocks will also be treated as a big character.
3. Elements with "wrap-through: none" will define their own wrapping context, so they will not be affected by the parent's wrapping context and will run their own layout passes.
--
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