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

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 13 Jan 2012 23:45:28 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1201132337540.14154@ps20323.dreamhostps.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 13 January 2012 15:45:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:10 UTC