WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
119959
Add TextNodeTraversal
https://bugs.webkit.org/show_bug.cgi?id=119959
Summary
Add TextNodeTraversal
Antti Koivisto
Reported
2013-08-17 12:55:20 PDT
Better traversal for text nodes.
Attachments
patch
(31.62 KB, patch)
2013-08-17 13:32 PDT
,
Antti Koivisto
kling
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2
(504.51 KB, application/zip)
2013-08-17 14:20 PDT
,
Build Bot
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2013-08-17 13:32:02 PDT
Created
attachment 209005
[details]
patch
Andreas Kling
Comment 2
2013-08-17 13:51:05 PDT
Comment on
attachment 209005
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=209005&action=review
r=me
> Source/WebCore/dom/Text.cpp:139 > + resultLength += text->data().length();
text->length() here would avoid some String ref churn.
> Source/WebCore/dom/TextNodeTraversal.h:68 > + // Except for the root containers, only elements can have element children.
Copypasta detected.
> Source/WebCore/dom/TextNodeTraversal.h:80 > + // Except for the root containers, only elements can have element children.
Copypasta detected.
> Source/WebCore/editing/ApplyStyleCommand.cpp:1525 > Vector<RefPtr<Text> > textNodes;
Might as well >> this one too. It's so close!
Build Bot
Comment 3
2013-08-17 14:19:59 PDT
Comment on
attachment 209005
[details]
patch
Attachment 209005
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/1387363
New failing tests: fast/dom/Text/replaceWholeText.html
Build Bot
Comment 4
2013-08-17 14:20:00 PDT
Created
attachment 209008
[details]
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-12 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.4
Antti Koivisto
Comment 5
2013-08-17 14:32:43 PDT
http://trac.webkit.org/changeset/154240
(with a bug fix)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug