W3C home > Mailing lists > Public > www-style@w3.org > January 2009

Re: @page margin boxes and text-decoration

From: Håkon Wium Lie <howcome@opera.com>
Date: Mon, 19 Jan 2009 19:55:20 +0100
Message-ID: <18804.52376.514888.861720@opera.com>
To: Michael Day <mikeday@yeslogic.com>
Cc: Alex Mogilevsky <alexmog@microsoft.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, "www-style@w3.org" <www-style@w3.org>, "Grant, Melinda" <melinda.grant@hp.com>

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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:15 GMT