[CSS21] WD 8.6 vs E.1,E.2: visual or logical order

Concerning the first paragraph of §8.6:

  # For each line box, UAs must take the inline boxes generated for each
  # element and render the margins, borders and padding in visual order
  # (not logical order).

First, a minor issue: I believe "inline boxes" should be "inline-level
boxes", i.e. I see no reason to exclude the borders etc. of replaced
boxes and inline blocks.

Another minor thing: it seems strange to talk about rendering margins, or
for that matter even rendering padding (presumably meaning padding area)
as distinct from rendering background and borders as zindex.html puts it.
It's not clear whether there's any significance in this strange wording.


More importantly: this text seems to conflict with zindex.html, whose
item 7.2.1 says that backgrounds & borders of inline elements should be
rendered "in tree order".  The phrase "in tree order" isn't really
defined (its definition depends on the undefined concept "rendering
tree"), but the limited description is explicit that tree order is
"in logical (not visual) order for bidirectional content".

I suspect that we want stacking to be in logical order: e.g. that would
match SVG.


If I've misunderstood this paragraph, then of course please reword it to
clarify.

pjrm.

Received on Saturday, 8 January 2011 04:59:42 UTC