[Webkit-unassigned] [Bug 10123] when CSS pseudo selectors are applied (:before and :after) the *-of-line keyboard navigation does not work
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 13 12:35:46 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=10123
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #110843|review? |review-
Flag| |
--- Comment #19 from Ryosuke Niwa <rniwa at webkit.org> 2011-10-13 12:35:46 PST ---
(From update of attachment 110843)
View in context: https://bugs.webkit.org/attachment.cgi?id=110843&action=review
> LayoutTests/editing/selection/css-pseudo-element-hang.html:16
> +<span class="quote">content</span>
I'd also like to see a test case where there is some text on before/after the span.
> LayoutTests/editing/selection/css-pseudo-element-hang.html:26
> +for(var i = 0; i < 9; ++i) {
> + window.getSelection().modify('move', 'right', 'character');
> +}
Nit: Please put a space after "for" before (
Also not curly brackets around a single statement.
> Source/WebCore/editing/VisiblePosition.cpp:198
> + if (prevBox->prevLeafChild())
> + return box->isLeftToRightDirection() ? previousVisuallyDistinctCandidate(m_deepPosition) : nextVisuallyDistinctCandidate(m_deepPosition);
I don't think this is right. If we have mixed bidi in generated contents, then we'll have a separate line box for each one of them. So it's not guaranteed that prevBox->prevLeafChild() exists.
--
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