Re: Translation control in HTML5

On Fri, 1 Aug 2008, Simon Pieters wrote:
> On Fri, 01 Aug 2008 00:33:28 +0200, Ian Hickson <ian@hixie.ch> wrote:
> > > 
> > > Moreover, having separate lang and translate attributes will be much 
> > > more friendly to CSS selectors.
> > 
> > That's certainly an important advantage of keeping these in separate 
> > attributes, yes. We have to balance all the various pros and cons in 
> > coming up with a solution (assuming we want to address this use case).
> 
> Wouldn't :lang(en-US) match <span lang="only en-US">?

Yeah, but it would break use of the |= attribute selector.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 1 August 2008 23:29:40 UTC