Re: @page margin boxes and text-decoration

Also sprach Michael Day:

 > This is the spec text:
 > 
 > """
 > These properties can be used in the page context to style the content of 
 > margin boxes:
 > 
 >      * color,
 >      * font properties,
 >      * text properties
 > 
 > That is, when set in the page context, the values become the initial 
 > values for the margin boxes.
 > """
 > 
 > This does not include all inheritable properties, and it includes some 
 > properties which are not inherited, such as text-decoration and related 
 > properties (eg. text-underline-color, text-underline-style).
 > 
 > It seems easier to say that any inheritable property applied to @page 
 > will be inherited by margin boxes, in the same manner as inheritance is 
 > performed on elements. Non-inheritable properties can also be explicitly 
 > inherited to margin boxes by using the "inherit" keyword.

I agree that the same model can be used. Two questions, though:

 (a) your original concern about 'text-decoration' pops up again?

 (b) are there any implementations that rely on the current description?

I would think the answre to (b) is no as the current description is
very close to inheritace, except it isn't.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Monday, 19 January 2009 18:56:10 UTC