Re: @page margin boxes and text-decoration

* Michael Day wrote:
>In this example, will the text be underlined:
>
>@page {
>     text-decoration: underline;
>     @top { content: "Hello, world!" }
>}
>
>The text-decoration property is not inherited, but when applied to 
>blocks it does result in the decoration being applied to all the 
>children of the block.

I am unsure where the confusion arises from, according to the draft the
text-decoration declaration sets the initial value of the property in
the margin boxes, so, as I understand that, this would essentially be
the same as

  @page { @top {
    text-decoration: underline;
    content: "Hello, world!"
  } }

See <http://www.w3.org/TR/css3-page/#page-properties>.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Monday, 19 January 2009 05:41:51 UTC