- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 31 Jan 2012 12:41:37 -0800
- To: Cameron McCormack <cam@mcc.id.au>
- Cc: Chris Lilley <chris@w3.org>, public-svg-wg@w3.org
On Tue, Jan 31, 2012 at 12:18 PM, Cameron McCormack <cam@mcc.id.au> wrote: > Chris Lilley: >> So there would be a presentation attribute for the CSS property, and >> also an HTML-like attribute, and these would not be the same and >> might have different values? > > I don't claim to have fully thought this through. :-) HTML of course has > the direction property as well, but I don't know how it and dir="" interact. HTML doesn't have a direction property, it only has @dir. On the layout level, @dir maps to the 'direction' property for display purposes. Adding 'direction' to CSS in the first place was a mistake - we did it to let arbitrary XML languages declare bidirectional content, since XML didn't have a native @dir attribute. HTML content should never use 'direction' at all, and it would be ideal for SVG to define a native direction property as well. Just change the current @direction attribute into a semantic attribute, rather than a display one. ~TJ
Received on Tuesday, 31 January 2012 20:42:25 UTC