[Webkit-unassigned] [Bug 112275] TextIterator emits LF for a br element inside an empty input element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 15 10:52:59 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=112275





--- Comment #24 from Ryosuke Niwa <rniwa at webkit.org>  2013-03-15 10:55:24 PST ---
(From update of attachment 193321)
View in context: https://bugs.webkit.org/attachment.cgi?id=193321&action=review

> LayoutTests/editing/text-iterator/basic-iteration-shadowdom.html:44
> +testDocument.body.innerHTML = '<div>a</div>';
> +var div = testDocument.body.childNodes[0];
> +shouldBe('addShadowTreeWithDivElement(div); range.selectNodeContents(internals.oldestShadowRoot(div)); internals.rangeAsText(range)', '"b"');
> +
> +shouldBe('appendBrElement(internals.oldestShadowRoot(div).childNodes[0]); range.selectNodeContents(internals.oldestShadowRoot(div)); internals.rangeAsText(range)', '"b\\n"');
> +

We should split this into a separate test so that test cases above can still be ran on ports that don't enable shadow DOM.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list