Re: Intent to implement and ship: HTMLElement.innerText

2015-10-19 Thread Ms2ger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/19/2015 06:02 AM, Robert O'Callahan wrote:
> https://bugzilla.mozilla.org/show_bug.cgi?id=264412
> 
> Webkit, Blink and Trident have been shipping this for years without
> a spec and with poor interop. We held off on implementing it since
> you can polyfill a better implementation in JS without much
> difficulty, but we have to implement something for Web compat.
> Because Mozilla, I've drafted a spec here:
> https://github.com/rocallahan/innerText-spec which will hopefully 
> find its way through the W3C WICG, but given the state of the
> world, us shipping this with or without a spec can hardly cause any
> more harm.

Please submit tests to web-platform-tests and create a pull request to
the HTML standard.

Thanks
Ms2ger
-BEGIN PGP SIGNATURE-

iQEcBAEBAgAGBQJWJN+pAAoJEOXgvIL+s8n2z6oH/jhSjQw3ZLxFlFTtFqwcjQzL
3sS8HdLQbZ4t5lueZAujE80HLWaWBS5nEVXkP5F25Va/u6Y6LmeLSqHx/6VnmuY7
kRpXFylJ8WsXEi0H3GBwGBaVjjgc+7y+SJCq9YcBzyGzKiIcvSMdRNSaXt051BSM
vpRTEL5j+wiUTHXSNsOHDVF7xG+rFwHqElQvkWyvye/ENnY45N9iuK3ctozAku3s
PlETA8VGcjQQu3Y1nuejBxrvdQ9uPjb2xO0ZI998MwqIdn4i/BUhfS46zBJzjnwI
469Qyc+h9+PH953X4Ce1jjgRh3eh0YOrwtAyYxcVXIXPAmXeOoaDe/iasPV05O8=
=XBnK
-END PGP SIGNATURE-
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement and ship: HTMLElement.innerText

2015-10-19 Thread Robert O'Callahan
On Tue, Oct 20, 2015 at 1:18 AM, Ms2ger  wrote:

> Please submit tests to web-platform-tests and create a pull request to
> the HTML standard.
>

Will do, after a decent interval to collect feedback. I wrote
web-platform-tests to land with our implementation.

Rob
-- 
lbir ye,ea yer.tnietoehr  rdn rdsme,anea lurpr  edna e hnysnenh hhe uresyf
toD
selthor  stor  edna  siewaoeodm  or v sstvr  esBa  kbvted,t
rdsme,aoreseoouoto
o l euetiuruewFa  kbn e hnystoivateweh uresyf tulsa rehr  rdm  or rnea
lurpr
.a war hsrer holsa rodvted,t  nenh hneireseoouot.tniesiewaoeivatewt sstvr
esn
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Intent to implement and ship: HTMLElement.innerText

2015-10-18 Thread Robert O'Callahan
https://bugzilla.mozilla.org/show_bug.cgi?id=264412

Webkit, Blink and Trident have been shipping this for years without a spec
and with poor interop. We held off on implementing it since you can
polyfill a better implementation in JS without much difficulty, but we have
to implement something for Web compat. Because Mozilla, I've drafted a spec
here: https://github.com/rocallahan/innerText-spec which will hopefully
find its way through the W3C WICG, but given the state of the world, us
shipping this with or without a spec can hardly cause any more harm.

Rob
-- 
lbir ye,ea yer.tnietoehr  rdn rdsme,anea lurpr  edna e hnysnenh hhe uresyf
toD
selthor  stor  edna  siewaoeodm  or v sstvr  esBa  kbvted,t
rdsme,aoreseoouoto
o l euetiuruewFa  kbn e hnystoivateweh uresyf tulsa rehr  rdm  or rnea
lurpr
.a war hsrer holsa rodvted,t  nenh hneireseoouot.tniesiewaoeivatewt sstvr
esn
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform