[Webkit-unassigned] [Bug 39863] innerText does not include a letter with :first-letter applied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 31 09:43:23 PDT 2010


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





--- Comment #15 from mitz at webkit.org  2010-05-31 09:43:21 PST ---
(From update of attachment 57453)
Does this work with "white-space: pre" text?

WebCore/editing/TextIterator.cpp:593
 +                  while (runStart < runEnd && str[runStart] == ' ')
 +                      ++runStart;

What about other kinds of whitespace and newline? The logic in <http://trac.webkit.org/browser/trunk/WebCore/rendering/RenderBlock.cpp?rev=60408#L4914> is different. Could you instead use the InlineTextBox’s start and end, like handleTextBox() does?

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