[Webkit-unassigned] [Bug 138557] Attribute text in HTMLAnchorElement should behave as per specification
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 14 17:31:53 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=138557
--- Comment #18 from Chris Dumez <cdumez at apple.com> ---
Comment on attachment 241564
--> https://bugs.webkit.org/attachment.cgi?id=241564
Patch-Updated-Review5
View in context: https://bugs.webkit.org/attachment.cgi?id=241564&action=review
>> Source/WebCore/html/HTMLAnchorElement.cpp:507
>> + return textContent();
>
> Which of the tests cover this change? Or do innerText and textContent behave identically?
This is the last one: '<a>a<br>b</a>'. textContent does not convert BRs to newlines.
> LayoutTests/fast/dom/HTMLAnchorElement/anchor-text-attribute.html:28
> +shouldBeEqualToString('a.text', 'ab');
This would return 'a\nb' if it did not behave as textContent.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141115/43ce73cd/attachment-0002.html>
More information about the webkit-unassigned
mailing list