[whatwg] textContent and bidi
Ian Hickson
ian at hixie.ch
Mon Nov 27 12:17:04 PST 2006
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list