W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

[whatwg] Invalid values of dir attribute causing change in appearance?

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 2 Apr 2012 21:15:11 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1204022110430.17364@ps20323.dreamhostps.com>
On Tue, 24 Jan 2012, L. David Baron wrote:
>
> http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#bidirectional-text
> specifies that UA style sheets should have the rule:
>   [dir] { unicode-bidi: embed; }
> 
> This implies that invalid values of the dir attribute should cause a 
> change in presentation.  This seems wrong to me, on the general 
> principle that invalid values of attributes should be ignored. [...]
> 
> I tend to think that only the known values of the dir attribute should 
> cause the unicode-bidi:embed styling.

Fixed as suggested for all instances of [dir] in the UA style sheet.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 2 April 2012 14:15:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT