W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] textContent and bidi

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 27 Nov 2006 20:17:04 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0611272015510.8145@dhalsim.dreamhost.com>
On Sun, 26 Nov 2006, fantasai wrote:
>
> Ran across this comment:
> 
> http://www.whatwg.org/specs/web-apps/current-work/#features
> 
>   # Should textContent be defined differently for dir="" and <bdo>?
> 
> What would it mean to define textContent differently for dir="" and <bdo>?

The question is really whether we want an attribute that, when it 
serialises the DOM, serialises things like <img alt=""> to the element's 
alt text, serialises things like dir="" to embed the requisite bidi 
formatting characters, etc. (Obviously we can't redefine textContent 
itself, and innerText is subtly different as well.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 27 November 2006 12:17:04 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC