Bug 119698 - Remove Node::attach() and ContainerNode::attach()
Summary: Remove Node::attach() and ContainerNode::attach()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-12 14:03 PDT by Antti Koivisto
Modified: 2013-08-14 11:36 PDT (History)
14 users (show)

See Also:


Attachments
possibly patch (43.41 KB, patch)
2013-08-12 14:22 PDT, Antti Koivisto
buildbot: commit-queue-
Details | Formatted Diff | Diff
another (43.41 KB, patch)
2013-08-12 16:16 PDT, Antti Koivisto
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion (377.91 KB, application/zip)
2013-08-12 17:35 PDT, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2 (294.72 KB, application/zip)
2013-08-13 01:49 PDT, Build Bot
no flags Details
another (44.64 KB, patch)
2013-08-13 07:42 PDT, Antti Koivisto
eflews.bot: commit-queue-
Details | Formatted Diff | Diff
yet another (44.91 KB, patch)
2013-08-13 10:45 PDT, Antti Koivisto
gtk-ews: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion (572.22 KB, application/zip)
2013-08-13 13:06 PDT, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-07 for mac-mountainlion (576.69 KB, application/zip)
2013-08-13 14:18 PDT, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2 (596.04 KB, application/zip)
2013-08-13 20:06 PDT, Build Bot
no flags Details
more (45.28 KB, patch)
2013-08-14 05:54 PDT, Antti Koivisto
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2013-08-12 14:03:15 PDT
Currently attach() is a virtual function on Node. However only Elements have style and so a corresponding independent render object. Attaching should be made Element level concept.
Comment 1 Antti Koivisto 2013-08-12 14:22:38 PDT
Created attachment 208563 [details]
possibly patch
Comment 2 Build Bot 2013-08-12 15:02:42 PDT
Comment on attachment 208563 [details]
possibly patch

Attachment 208563 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/1445487
Comment 3 EFL EWS Bot 2013-08-12 15:03:40 PDT
Comment on attachment 208563 [details]
possibly patch

Attachment 208563 [details] did not pass efl-ews (efl):
Output: http://webkit-queues.appspot.com/results/1455188
Comment 4 Build Bot 2013-08-12 15:20:37 PDT
Comment on attachment 208563 [details]
possibly patch

Attachment 208563 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/1449294
Comment 5 Antti Koivisto 2013-08-12 16:16:21 PDT
Created attachment 208570 [details]
another
Comment 6 Build Bot 2013-08-12 17:35:26 PDT
Comment on attachment 208570 [details]
another

Attachment 208570 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/1459173

New failing tests:
editing/style/remove-underline-across-paragraph-in-bold.html
editing/inserting/editing-empty-divs.html
editing/selection/caret-rtl.html
fullscreen/full-screen-render-inline.html
editing/style/remove-underline-from-stylesheet.html
editing/selection/caret-ltr-right.html
fast/repaint/caret-jump-between-nodes.html
http/tests/inspector/inspect-element.html
editing/selection/caret-ltr-2.html
fast/multicol/span/clone-summary.html
fast/html/details-remove-child-2.html
editing/pasteboard/paste-match-style-001.html
editing/selection/caret-rtl-2-left.html
fast/multicol/span/clone-anonymous-block-non-inline-child-crash.html
editing/style/remove-underline-across-paragraph.html
editing/selection/caret-ltr-2-left.html
fast/html/details-add-child-2.html
editing/style/remove-underline.html
fast/html/details-open2.html
editing/selection/4983858.html
editing/selection/caret-rtl-2.html
editing/style/remove-underline-after-paragraph.html
editing/selection/caret-rtl-right.html
editing/inserting/editable-html-element.html
editing/style/remove-underline-in-bold.html
editing/style/remove-underline-after-paragraph-in-bold.html
editing/style/typing-style-003.html
editing/selection/caret-ltr.html
fast/loader/javascript-url-in-object.html
editing/style/underline.html
Comment 7 Build Bot 2013-08-12 17:35:28 PDT
Created attachment 208576 [details]
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-08  Port: mac-mountainlion  Platform: Mac OS X 10.8.4
Comment 8 EFL EWS Bot 2013-08-12 17:46:37 PDT
Comment on attachment 208570 [details]
another

Attachment 208570 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/1459183
Comment 9 Build Bot 2013-08-13 01:49:44 PDT
Comment on attachment 208570 [details]
another

Attachment 208570 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/1378424

New failing tests:
editing/style/remove-underline-across-paragraph-in-bold.html
editing/inserting/editing-empty-divs.html
editing/selection/caret-rtl.html
editing/style/typing-style-003.html
editing/selection/caret-ltr-right.html
http/tests/inspector/inspect-element.html
editing/pasteboard/copy-image-with-alt-text.html
editing/pasteboard/paste-match-style-001.html
editing/selection/caret-rtl-2-left.html
editing/style/remove-underline-across-paragraph.html
editing/selection/caret-ltr-2-left.html
fast/html/details-remove-child-2.html
fast/html/details-add-child-2.html
editing/style/remove-underline.html
fast/html/details-open2.html
editing/selection/4983858.html
editing/selection/caret-rtl-2.html
editing/style/remove-underline-after-paragraph.html
editing/selection/caret-rtl-right.html
editing/inserting/editable-html-element.html
editing/style/remove-underline-in-bold.html
editing/style/remove-underline-after-paragraph-in-bold.html
editing/style/remove-underline-from-stylesheet.html
editing/selection/caret-ltr.html
editing/selection/caret-ltr-2.html
editing/style/underline.html
Comment 10 Build Bot 2013-08-13 01:49:47 PDT
Created attachment 208609 [details]
Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-15  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.4
Comment 11 Antti Koivisto 2013-08-13 07:42:17 PDT
Created attachment 208629 [details]
another
Comment 12 EFL EWS Bot 2013-08-13 08:37:06 PDT
Comment on attachment 208629 [details]
another

Attachment 208629 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/1451473
Comment 13 Antti Koivisto 2013-08-13 10:45:34 PDT
Created attachment 208651 [details]
yet another
Comment 14 kov's GTK+ EWS bot 2013-08-13 12:24:14 PDT
Comment on attachment 208651 [details]
yet another

Attachment 208651 [details] did not pass gtk-ews (gtk):
Output: http://webkit-queues.appspot.com/results/1446748
Comment 15 Build Bot 2013-08-13 13:06:18 PDT
Comment on attachment 208651 [details]
yet another

Attachment 208651 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/1458429

New failing tests:
fullscreen/video-controls-override.html
Comment 16 Build Bot 2013-08-13 13:06:23 PDT
Created attachment 208666 [details]
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-04  Port: mac-mountainlion  Platform: Mac OS X 10.8.4
Comment 17 Build Bot 2013-08-13 14:18:26 PDT
Comment on attachment 208651 [details]
yet another

Attachment 208651 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/1456540

New failing tests:
fullscreen/video-controls-override.html
Comment 18 Build Bot 2013-08-13 14:18:30 PDT
Created attachment 208675 [details]
Archive of layout-test-results from webkit-ews-07 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-07  Port: mac-mountainlion  Platform: Mac OS X 10.8.4
Comment 19 Build Bot 2013-08-13 20:06:51 PDT
Comment on attachment 208651 [details]
yet another

Attachment 208651 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/1453665

New failing tests:
fullscreen/video-controls-override.html
Comment 20 Build Bot 2013-08-13 20:06:56 PDT
Created attachment 208697 [details]
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-16  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.4
Comment 21 Antti Koivisto 2013-08-14 05:54:00 PDT
Created attachment 208720 [details]
more
Comment 22 Andreas Kling 2013-08-14 06:49:17 PDT
Comment on attachment 208720 [details]
more

r=me, this is very cool.

Like I mentioned on IRC, I think we can micro-optimize some things here but now is hardly the time. :)
Comment 23 Antti Koivisto 2013-08-14 07:02:45 PDT
http://trac.webkit.org/changeset/154047
Comment 24 Ryosuke Niwa 2013-08-14 11:36:25 PDT
It seems like you've already figured out what was wrong with the editing test?  Let me know if you still needed my help.  I assume you've figured it out for now.