[whatwg] a element and .text
Jonas Sicking
jonas at sicking.cc
Mon Jun 21 11:25:57 PDT 2010
On Mon, Jun 21, 2010 at 11:09 AM, Olli Pettay <Olli.Pettay at helsinki.fi> wrote:
> Hi all,
>
> I wonder why a element should have .text which
> is basically just the same thing as
> .textContent.
>
> I'd prefer removing .text.
It's actually worse, see
http://mxr.mozilla.org/mozilla-central/source/content/html/content/src/nsHTMLAnchorElement.cpp#367
Yes, I'd strongly prefer to remove that too. I say lets remove it from
gecko and see if it breaks any sites.
/ Jonas
More information about the whatwg
mailing list