- From: Alan Stearns <stearns@adobe.com>
- Date: Tue, 2 Oct 2012 14:27:14 -0700
- To: "www-style@w3.org" <www-style@w3.org>
Hey all,
In issue 16002 [1] some questions were raised [2] about how the visual
formatting model interacts with rearranged elements in a named flow. I've
added to the last paragraph in the 'flow-into' property definition and
added a note about whitespace to that section. The paragraph now reads:
---
Elements in a named flow are sequenced in document order.
The structure of a named flow is equivalent to the result
of moving the elements to a common parent.
The visual formatting model uses the relationships
between elements in the named flow structure as input,
rather than the elements' original positions.
---
And the note reads:
---
Another consequence of moving elements
into named flows is that surrounding whitespace
is not moved into the named flow.
If you have code like this:
span {flow-into: span-content}
<span>one</span>
<span>two</span>
Then the span-contentš named flow contents
will contain this:
<span>one</span><span>two</span>
Which will change the display from "one two" to "onetwo".
If whitespace is significant, then moving the parent that
contains the whitespace to the named flow is required.
---
Thanks,
Alan
[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=16002
[2] http://lists.w3.org/Archives/Public/www-style/2012Feb/0752.html
Received on Tuesday, 2 October 2012 21:27:41 UTC