[Webkit-unassigned] [Bug 55481] Consider padding and border when looking for the next/previous line position

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 1 20:22:27 PDT 2011


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


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #95435|review?                     |review-
               Flag|                            |




--- Comment #23 from Ryosuke Niwa <rniwa at webkit.org>  2011-06-01 20:22:27 PST ---
(From update of attachment 95435)
View in context: https://bugs.webkit.org/attachment.cgi?id=95435&action=review

> LayoutTests/editing/selection/caret-mode-vertical-navigation-with-links.html:37
> +  shouldBe("getSelection().baseOffset", "10");
> +  shouldBe("getSelection().anchorNode.nodeValue", "'A long paragraph with some '");
> +  eventSender.keyDown("downArrow");
> +  shouldBe("getSelection().baseOffset", "3");
> +  shouldBe("getSelection().anchorNode.nodeValue", "'them'");

This test doesn't work because depending on font metrics of a port/platform, the text is wrapped differently.

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