W3C home > Mailing lists > Public > public-tt@w3.org > December 2008

Specification problem - lineHeight normal.

From: Sean Hayes <Sean.Hayes@microsoft.com>
Date: Sun, 7 Dec 2008 00:00:21 +0000
To: Public TTWG List <public-tt@w3.org>
Message-ID: <90EEC9D914694641A8358AA190DACB3D2FCE9A2133@EA-EXMSG-C334.europe.corp.microsoft.com>

The specification for value 'normal' for lineHeight has a possible problem when used in a <p> element.

The spec says:
"If the value of this attribute is normal, then the initial value of the style property must be considered to be the same as the largest font size that applies to any child element".

But with nested span's, it's possible that the largest font would be in an nested span not a child span; perhaps it should read:

"If the value of this attribute is normal, then the initial value of the style property must be considered to be the same as the largest font size that applies to any descendant element".

??

Sean Hayes
Media Accessibility Strategist
Accessibility Business Unit
Microsoft

Office:  +44 118 909 5867,
Mobile: +44 7875 091385
Received on Sunday, 7 December 2008 00:01:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 2 November 2009 22:41:39 GMT