[Webkit-unassigned] [Bug 69060] REGRESSION(r96257): fast/repaint/selection-clear.html fail
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 6 12:20:54 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=69060
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mjs at apple.com
--- Comment #8 from Ryosuke Niwa <rniwa at webkit.org> 2011-10-06 12:20:54 PST ---
I'm looking at fast/repaint/selection-clear.html but I don't quite understand what the test is trying to test here because new behavior seems correct.
http://trac.webkit.org/browser/trunk/LayoutTests/fast/repaint/selection-clear.html
We have
<div id="root" style="width: 100px; line-height: 100px;">
<div id="firstLine">FAIL: Test did not run</div><br>
</div>
and set up selection by
getSelection().setBaseAndExtent(firstLine, 0, root.lastChild, 0);
The actual test is
firstLine.appendChild(document.createTextNode("\u00a0"));
firstLine.removeChild(firstLine.firstChild);
But the thing is, after the first text node (the one that contains "FAIL: Test did not run") is removed, the selection is adjusted to be from (#firstLine, 0) to (br, 0) and should still be rendered.
--
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