[Webkit-unassigned] [Bug 123073] Adding test case for text-decoration property state change on applying different command

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 19 16:33:15 PDT 2013


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





--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2013-10-19 16:32:01 PST ---
(From update of attachment 214679)
View in context: https://bugs.webkit.org/attachment.cgi?id=214679&action=review

> LayoutTests/editing/style/text-decoration-state-change.html:39
> +    var e = document.getElementById('e');
> +    var s = window.getSelection();
> +    var r = document.createRange();
> +    r.setStart(e, 0);
> +    r.setEnd(e, 1);
> +    e.focus();
> +    s.removeAllRanges();
> +    s.addRange(r);

Please don't use one letter variables.

-- 
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