[whatwg] Interaction of <wbr> and CSS white-space

Ian Hickson ian at hixie.ch
Fri Jan 13 15:45:28 PST 2012


On Thu, 15 Dec 2011, Boris Zbarsky wrote [edited for context]:
> On 12/15/11 3:10 PM, Ian Hickson wrote [edited for context]:
> >
> > I might be open to changing the current spec text -- presumably to 
> > just define <wbr> as follows, or something similar (though using 
> > U+200B would probably affect text selection in a bad way):
> > 
> >    nobr { white-space: nowrap; }
> >    wbr { content: \200B; }
> >    nobr wbr { white-space: normal; }
> 
> It seems plausible to me; we should run it by Elika.

I asked her on #css but she wasn't around.

In the interests of moving on with this, I've changed the spec to the 
above. I welcome implementation experience on whether this works. If it 
doesn't, I'm happy to change it back.

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


More information about the whatwg mailing list