- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 31 Mar 2004 08:24:18 -0600
- To: www-style@w3.org
Adam M. Costello BOGUS address, see signature wrote:
> How can that be? Elements are features of the document structure,
> independent of layout, right? If the anonymous element contains both
> "Help" and the cite element, then it must contain the em element between
> them, no?
It doesn't contain both "Help" and the cite element. They're contained
in two different inline elements, basically.
You're right that box and element seem to be used semi-interchangeably
here; someone who clearly understands the inline box model should reply
to that part.
> Finally, I'm not sure whether the various decorations are supposed to be
> cummulative or mutually exclusive. For example:
>
> <span style="text-decoration:underline">
> one <span style="text-decoration:overline">two</span> three
> </span>
>
> Is the word "two" both underlined and overlined? Or is it only
> overlined?
It's both overlined and underlined. That's what the "painted across the
whole element" means.
For a better example of what's going on,
<span style="text-decoration:underline; color: green">
one <span style="text-decoration:overline; color: red">two</span>
three
</span>
Will give "two" a green underline and a red overline.
-Boris
Received on Wednesday, 31 March 2004 09:26:23 UTC