Changeset 138386 in webkit


Ignore:
Timestamp:
Dec 21, 2012 9:42:34 AM (11 years ago)
Author:
Dimitri Glazkov
Message:

Unreviewed, rolling out r138376.
http://trac.webkit.org/changeset/138376
https://bugs.webkit.org/show_bug.cgi?id=104995

Broke a bunch of tests on mac.

Source/WebCore:

  • dom/ShadowRoot.cpp:

(WebCore::ShadowRoot::nodeName):
(WebCore):

  • dom/ShadowRoot.h:

(ShadowRoot):

LayoutTests:

  • editing/deleting/delete-ligature-001-expected.txt:
  • editing/pasteboard/copy-in-password-field-expected.txt:
  • editing/selection/select-all-textarea-expected.txt:
  • fast/dom/shadow/layout-tests-can-access-shadow-expected.txt:
  • fast/dom/shadow/layout-tests-can-access-shadow.html:
  • fast/dom/shadow/resources/shadow-dom.js:

(isShadowRoot):

  • fast/events/5056619-expected.txt:
  • fast/forms/focus-selection-input-expected.txt:
  • inspector/elements/shadow-dom-modify-chardata-expected.txt:
  • inspector/elements/shadow-root-expected.txt:
  • inspector/elements/update-shadowdom-expected.txt:
  • platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.txt:
  • platform/chromium-linux/fast/forms/input-text-double-click-expected.txt:
  • platform/chromium-linux/fast/forms/textfield-outline-expected.txt:
  • platform/chromium-linux/fast/forms/validation-message-appearance-expected.txt:
  • platform/chromium-win/editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
  • platform/chromium-win/editing/input/caret-at-the-edge-of-input-expected.txt:
  • platform/chromium-win/editing/input/reveal-caret-of-multiline-input-expected.txt:
  • platform/chromium-win/editing/inserting/4960120-1-expected.txt:
  • platform/chromium-win/editing/pasteboard/drop-text-without-selection-expected.txt:
  • platform/chromium-win/editing/pasteboard/pasting-tabs-expected.txt:
  • platform/chromium-win/editing/selection/4895428-3-expected.txt:
  • platform/chromium-win/editing/selection/4975120-expected.txt:
  • platform/chromium-win/editing/selection/select-across-readonly-input-1-expected.txt:
  • platform/chromium-win/editing/selection/select-across-readonly-input-4-expected.txt:
  • platform/chromium-win/editing/selection/select-across-readonly-input-5-expected.txt:
  • platform/chromium-win/fast/events/autoscroll-expected.txt:
  • platform/chromium-win/fast/events/context-no-deselect-expected.txt:
  • platform/chromium-win/fast/forms/input-appearance-focus-expected.txt:
  • platform/chromium-win/fast/forms/input-appearance-readonly-expected.txt:
  • platform/chromium-win/fast/forms/input-appearance-selection-expected.txt:
  • platform/chromium-win/fast/forms/input-double-click-selection-gap-bug-expected.txt:
  • platform/chromium-win/fast/forms/input-placeholder-visibility-1-expected.txt:
  • platform/chromium-win/fast/forms/input-placeholder-visibility-3-expected.txt:
  • platform/chromium-win/fast/forms/input-readonly-autoscroll-expected.txt:
  • platform/chromium-win/fast/forms/input-text-click-inside-expected.txt:
  • platform/chromium-win/fast/forms/input-text-drag-down-expected.txt:
  • platform/chromium-win/fast/forms/input-text-option-delete-expected.txt:
  • platform/chromium-win/fast/forms/input-text-scroll-left-on-blur-expected.txt:
  • platform/chromium-win/fast/forms/input-text-self-emptying-click-expected.txt:
  • platform/chromium-win/fast/forms/number/number-appearance-rtl-expected.txt:
  • platform/chromium-win/fast/forms/plaintext-mode-2-expected.txt:
  • platform/chromium-win/fast/forms/search-rtl-expected.txt:
  • platform/chromium-win/fast/forms/tabbing-input-iframe-expected.txt:
  • platform/chromium-win/fast/forms/textarea-placeholder-visibility-1-expected.txt:
  • platform/chromium-win/fast/forms/textarea-placeholder-visibility-2-expected.txt:
  • platform/chromium-win/fast/forms/textarea-scrollbar-expected.txt:
  • platform/chromium-win/fast/forms/textarea-scrolled-type-expected.txt:
  • platform/chromium-win/fast/forms/textfield-focus-ring-expected.txt:
  • platform/chromium-win/fast/forms/textfield-overflow-expected.txt:
  • platform/chromium-win/fast/frames/take-focus-from-iframe-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt:
  • platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.txt:
  • platform/chromium-win/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
  • platform/chromium-win/fast/transforms/transformed-focused-text-input-expected.txt:
  • resources/dump-as-markup.js:

(Markup._get):

Location:
trunk
Files:
74 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r138385 r138386  
     12012-12-21  Dimitri Glazkov  <dglazkov@chromium.org>
     2
     3        Unreviewed, rolling out r138376.
     4        http://trac.webkit.org/changeset/138376
     5        https://bugs.webkit.org/show_bug.cgi?id=104995
     6
     7        Broke a bunch of tests on mac.
     8
     9        * editing/deleting/delete-ligature-001-expected.txt:
     10        * editing/pasteboard/copy-in-password-field-expected.txt:
     11        * editing/selection/select-all-textarea-expected.txt:
     12        * fast/dom/shadow/layout-tests-can-access-shadow-expected.txt:
     13        * fast/dom/shadow/layout-tests-can-access-shadow.html:
     14        * fast/dom/shadow/resources/shadow-dom.js:
     15        (isShadowRoot):
     16        * fast/events/5056619-expected.txt:
     17        * fast/forms/focus-selection-input-expected.txt:
     18        * inspector/elements/shadow-dom-modify-chardata-expected.txt:
     19        * inspector/elements/shadow-root-expected.txt:
     20        * inspector/elements/update-shadowdom-expected.txt:
     21        * platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.txt:
     22        * platform/chromium-linux/fast/forms/input-text-double-click-expected.txt:
     23        * platform/chromium-linux/fast/forms/textfield-outline-expected.txt:
     24        * platform/chromium-linux/fast/forms/validation-message-appearance-expected.txt:
     25        * platform/chromium-win/editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
     26        * platform/chromium-win/editing/input/caret-at-the-edge-of-input-expected.txt:
     27        * platform/chromium-win/editing/input/reveal-caret-of-multiline-input-expected.txt:
     28        * platform/chromium-win/editing/inserting/4960120-1-expected.txt:
     29        * platform/chromium-win/editing/pasteboard/drop-text-without-selection-expected.txt:
     30        * platform/chromium-win/editing/pasteboard/pasting-tabs-expected.txt:
     31        * platform/chromium-win/editing/selection/4895428-3-expected.txt:
     32        * platform/chromium-win/editing/selection/4975120-expected.txt:
     33        * platform/chromium-win/editing/selection/select-across-readonly-input-1-expected.txt:
     34        * platform/chromium-win/editing/selection/select-across-readonly-input-4-expected.txt:
     35        * platform/chromium-win/editing/selection/select-across-readonly-input-5-expected.txt:
     36        * platform/chromium-win/fast/events/autoscroll-expected.txt:
     37        * platform/chromium-win/fast/events/context-no-deselect-expected.txt:
     38        * platform/chromium-win/fast/forms/input-appearance-focus-expected.txt:
     39        * platform/chromium-win/fast/forms/input-appearance-readonly-expected.txt:
     40        * platform/chromium-win/fast/forms/input-appearance-selection-expected.txt:
     41        * platform/chromium-win/fast/forms/input-double-click-selection-gap-bug-expected.txt:
     42        * platform/chromium-win/fast/forms/input-placeholder-visibility-1-expected.txt:
     43        * platform/chromium-win/fast/forms/input-placeholder-visibility-3-expected.txt:
     44        * platform/chromium-win/fast/forms/input-readonly-autoscroll-expected.txt:
     45        * platform/chromium-win/fast/forms/input-text-click-inside-expected.txt:
     46        * platform/chromium-win/fast/forms/input-text-drag-down-expected.txt:
     47        * platform/chromium-win/fast/forms/input-text-option-delete-expected.txt:
     48        * platform/chromium-win/fast/forms/input-text-scroll-left-on-blur-expected.txt:
     49        * platform/chromium-win/fast/forms/input-text-self-emptying-click-expected.txt:
     50        * platform/chromium-win/fast/forms/number/number-appearance-rtl-expected.txt:
     51        * platform/chromium-win/fast/forms/plaintext-mode-2-expected.txt:
     52        * platform/chromium-win/fast/forms/search-rtl-expected.txt:
     53        * platform/chromium-win/fast/forms/tabbing-input-iframe-expected.txt:
     54        * platform/chromium-win/fast/forms/textarea-placeholder-visibility-1-expected.txt:
     55        * platform/chromium-win/fast/forms/textarea-placeholder-visibility-2-expected.txt:
     56        * platform/chromium-win/fast/forms/textarea-scrollbar-expected.txt:
     57        * platform/chromium-win/fast/forms/textarea-scrolled-type-expected.txt:
     58        * platform/chromium-win/fast/forms/textfield-focus-ring-expected.txt:
     59        * platform/chromium-win/fast/forms/textfield-overflow-expected.txt:
     60        * platform/chromium-win/fast/frames/take-focus-from-iframe-expected.txt:
     61        * platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.txt:
     62        * platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.txt:
     63        * platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.txt:
     64        * platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.txt:
     65        * platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.txt:
     66        * platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.txt:
     67        * platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.txt:
     68        * platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.txt:
     69        * platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.txt:
     70        * platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.txt:
     71        * platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt:
     72        * platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt:
     73        * platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.txt:
     74        * platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt:
     75        * platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt:
     76        * platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.txt:
     77        * platform/chromium-win/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
     78        * platform/chromium-win/fast/transforms/transformed-focused-text-input-expected.txt:
     79        * resources/dump-as-markup.js:
     80        (Markup._get):
     81
    1822012-12-21  Zan Dobersek  <zandobersek@gmail.com>
    283
  • trunk/LayoutTests/editing/deleting/delete-ligature-001-expected.txt

    r138376 r138386  
    11EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    22EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    3 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment toDOMRange:range from 1 of #text > DIV > #document-fragment to 1 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     3EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root toDOMRange:range from 1 of #text > DIV > #shadow-root to 1 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    44EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    55EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
    6 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > DIV > #document-fragment to 1 of #text > DIV > #document-fragment toDOMRange:range from 2 of #text > DIV > #document-fragment to 2 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     6EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > DIV > #shadow-root to 1 of #text > DIV > #shadow-root toDOMRange:range from 2 of #text > DIV > #shadow-root to 2 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    77EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    88EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
    9 EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > #document-fragment to 2 of #text > DIV > #document-fragment
     9EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > #shadow-root to 2 of #text > DIV > #shadow-root
    1010EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    1111EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
  • trunk/LayoutTests/editing/pasteboard/copy-in-password-field-expected.txt

    r138376 r138386  
    44EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    55EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    6 EDITING DELEGATE: shouldInsertText:[not modified] replacingDOMRange:range from 0 of #text > DIV > #document-fragment to 14 of #text > DIV > #document-fragment givenAction:WebViewInsertActionPasted
     6EDITING DELEGATE: shouldInsertText:[not modified] replacingDOMRange:range from 0 of #text > DIV > #shadow-root to 14 of #text > DIV > #shadow-root givenAction:WebViewInsertActionPasted
    77EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    8 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment toDOMRange:range from 14 of #text > DIV > #document-fragment to 14 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     8EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root toDOMRange:range from 14 of #text > DIV > #shadow-root to 14 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    99EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    1010EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
  • trunk/LayoutTests/editing/selection/select-all-textarea-expected.txt

    r138376 r138386  
    11EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    2 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment toDOMRange:range from 0 of #text > DIV > #document-fragment to 28 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     2EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root toDOMRange:range from 0 of #text > DIV > #shadow-root to 28 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    33EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    44This tests that select all works in a readonly textarea, without selecting the surrounding text.
  • trunk/LayoutTests/fast/dom/shadow/layout-tests-can-access-shadow-expected.txt

    r138376 r138386  
    22This tests that layout tests can access shadow DOM.
    33
    4 PASS shadow.nodeName is "#document-fragment"
     4PASS shadow.nodeName is "#shadow-root"
    55PASS exceptionCode is DOMException.INVALID_ACCESS_ERR
    66PASS internals.shadowRoot(p) is null
    7 PASS shadow.nodeName is "#document-fragment"
     7PASS shadow.nodeName is "#shadow-root"
    88PASS shadow === internals.shadowRoot(p) is true
    99PASS successfullyParsed is true
  • trunk/LayoutTests/fast/dom/shadow/layout-tests-can-access-shadow.html

    r138376 r138386  
    1616    var keygen = document.getElementById('keys');
    1717    var shadow = internals.shadowRoot(keygen);
    18     shouldBe('shadow.nodeName', '"#document-fragment"');
     18    shouldBe('shadow.nodeName', '"#shadow-root"');
    1919
    2020    // Shadow roots aren't elements, so accessing their shadow should
     
    3434    // Can bless ordinary elements with shadows
    3535    shadow = internals.ensureShadowRoot(p);
    36     shouldBe('shadow.nodeName', '"#document-fragment"');
     36    shouldBe('shadow.nodeName', '"#shadow-root"');
    3737    shouldBe('shadow === internals.shadowRoot(p)', 'true');
    3838}
  • trunk/LayoutTests/fast/dom/shadow/resources/shadow-dom.js

    r138376 r138386  
    5353function isShadowRoot(node)
    5454{
    55     return (node instanceof WebKitShadowRoot);
     55    // FIXME: window.internals should have internals.isShadowRoot(node).
     56    return node.nodeName == "#shadow-root";
    5657}
    5758
  • trunk/LayoutTests/fast/events/5056619-expected.txt

    r138376 r138386  
    33EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > SPAN > BODY > HTML > #document to 3 of #text > SPAN > BODY > HTML > #document toDOMRange:range from 0 of #text > SPAN > BODY > HTML > #document to 6 of #text > SPAN > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    44EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    5 EDITING DELEGATE: shouldInsertText:Dragme replacingDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment givenAction:WebViewInsertActionDropped
     5EDITING DELEGATE: shouldInsertText:Dragme replacingDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root givenAction:WebViewInsertActionDropped
    66EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    77This tests drag and drop into a form element that is removed in its onfocus handler.  Safari shouldn't crash and the dropped content shouldn't appear anywhere because there's no editable region left over underneath the mouse when the input element is removed on drop.
  • trunk/LayoutTests/fast/forms/focus-selection-input-expected.txt

    r138376 r138386  
    55EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    66EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    7 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     7EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    88EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    99EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
  • trunk/LayoutTests/inspector/elements/shadow-dom-modify-chardata-expected.txt

    r138376 r138386  
    77- <div id="container">
    88    - <input type="text" id="input1">
    9         - #document-fragment
     9        - #shadow-root
    1010          <div></div>
    1111      </input>
     
    1616- <div id="container">
    1717    - <input type="text" id="input1">
    18         - #document-fragment
     18        - #shadow-root
    1919        + <div>Bar</div>
    2020      </input>
  • trunk/LayoutTests/inspector/elements/shadow-root-expected.txt

    r138376 r138386  
    33- <div id="container">
    44    - <div id="test1">
    5           #document-fragment
     5          #shadow-root
    66      </div>
    77    - <div id="test2">
    8           #document-fragment
     8          #shadow-root
    99          "only test"
    1010      </div>
    1111    - <div id="test3">
    12           #document-fragment
     12          #shadow-root
    1313          "with "
    1414          <span>elements</span>
  • trunk/LayoutTests/inspector/elements/update-shadowdom-expected.txt

    r138376 r138386  
    33- <div id="container">
    44    - <div id="host">
    5         - #document-fragment
     5        - #shadow-root
    66      </div>
    77  </div>
  • trunk/LayoutTests/platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.txt

    r138376 r138386  
    1 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 11 of #text > DIV > #document-fragment to 11 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     1EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 11 of #text > DIV > #shadow-root to 11 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    22EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    3 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > #document-fragment to 11 of #text > DIV > #document-fragment toDOMRange:range from 11 of #text > DIV > #document-fragment to 12 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     3EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > #shadow-root to 11 of #text > DIV > #shadow-root toDOMRange:range from 11 of #text > DIV > #shadow-root to 12 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    44EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > #document-fragment to 12 of #text > DIV > #document-fragment toDOMRange:range from 0 of #text > DIV > #document-fragment to 12 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     5EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > #shadow-root to 12 of #text > DIV > #shadow-root toDOMRange:range from 0 of #text > DIV > #shadow-root to 12 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    66EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    7 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > #document-fragment to 12 of #text > DIV > #document-fragment toDOMRange:range from 11 of #text > DIV > #document-fragment to 17 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     7EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > #shadow-root to 12 of #text > DIV > #shadow-root toDOMRange:range from 11 of #text > DIV > #shadow-root to 17 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    88EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    9 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > #document-fragment to 17 of #text > DIV > #document-fragment toDOMRange:range from 11 of #text > DIV > #document-fragment to 12 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     9EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > #shadow-root to 17 of #text > DIV > #shadow-root toDOMRange:range from 11 of #text > DIV > #shadow-root to 12 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    1010EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    1111layer at (0,0) size 800x600
     
    4545    RenderText {#text} at (0,0) size 200x27
    4646      text run at (0,0) width 200: "Lorem ipsum dolor"
    47 selection start: position 11 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
    48 selection end:   position 12 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
     47selection start: position 11 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 7 {INPUT} of body
     48selection end:   position 12 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 7 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-linux/fast/forms/input-text-double-click-expected.txt

    r138376 r138386  
    1414    RenderText {#text} at (0,0) size 74x16
    1515      text run at (0,0) width 74: "word another"
    16 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of body
    17 selection end:   position 4 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of body
     16selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 0 {INPUT} of body
     17selection end:   position 4 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 0 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-linux/fast/forms/textfield-outline-expected.txt

    r138376 r138386  
    1313    RenderText {#text} at (0,0) size 32x23
    1414      text run at (0,0) width 32: "abc"
    15 caret: position 3 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {INPUT} of body
     15caret: position 3 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 3 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-linux/fast/forms/validation-message-appearance-expected.txt

    r138376 r138386  
    3535layer at (42,32) size 18x18 backgroundClip at (10,32) size 318x13 clip at (10,32) size 318x13 outlineClip at (10,32) size 318x13
    3636  RenderBlock (relative positioned) zI: 2147483645 {DIV} at (0,0) size 18x18 [bgcolor=#FFFFFF] [border: (1px solid #CCCCCC)]
    37 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 0 {FORM} of body
     37caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 0 {FORM} of body
  • trunk/LayoutTests/platform/chromium-win/editing/deleting/delete-all-text-in-text-field-assertion-expected.txt

    r138376 r138386  
    11EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    2 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > #document-fragment to 1 of #text > DIV > #document-fragment toDOMRange:range from 0 of #text > DIV > #document-fragment to 1 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    3 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > #document-fragment to 1 of #text > DIV > #document-fragment
     2EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > DIV > #shadow-root to 1 of #text > DIV > #shadow-root toDOMRange:range from 0 of #text > DIV > #shadow-root to 1 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     3EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > #shadow-root to 1 of #text > DIV > #shadow-root
    44EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment toDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     5EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root toDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    66EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    77EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
  • trunk/LayoutTests/platform/chromium-win/editing/input/caret-at-the-edge-of-input-expected.txt

    r138376 r138386  
    1515    RenderText {#text} at (0,0) size 294x16
    1616      text run at (0,0) width 294: "012345678901012345678901234567890123456789"
    17 caret: position 12 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {INPUT} of body
     17caret: position 12 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 3 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/editing/input/reveal-caret-of-multiline-input-expected.txt

    r138376 r138386  
    7777        text run at (16,480) width 0: " "
    7878      RenderBR {BR} at (0,496) size 0x16
    79 caret: position 37 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body
     79caret: position 37 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 3 {TEXTAREA} of body
  • trunk/LayoutTests/platform/chromium-win/editing/inserting/4960120-1-expected.txt

    r138376 r138386  
    1717      RenderText {#text} at (0,16) size 0x16
    1818        text run at (0,16) width 0: " "
    19 caret: position 0 of child 1 {#text} of child 0 {DIV} of {#document-fragment} of child 2 {TEXTAREA} of body
     19caret: position 0 of child 1 {#text} of child 0 {DIV} of {#shadow-root} of child 2 {TEXTAREA} of body
  • trunk/LayoutTests/platform/chromium-win/editing/pasteboard/drop-text-without-selection-expected.txt

    r138376 r138386  
    1 EDITING DELEGATE: shouldInsertText:http://www.ibm.com/ replacingDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment givenAction:WebViewInsertActionDropped
     1EDITING DELEGATE: shouldInsertText:http://www.ibm.com/ replacingDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root givenAction:WebViewInsertActionDropped
    22EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    3 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment toDOMRange:range from 0 of #text > DIV > #document-fragment to 19 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     3EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root toDOMRange:range from 0 of #text > DIV > #shadow-root to 19 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    44EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    55EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
     
    4040    RenderText {#text} at (0,0) size 119x16
    4141      text run at (0,0) width 119: "http://www.ibm.com/"
    42 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
    43 selection end:   position 19 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
     42selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 7 {INPUT} of body
     43selection end:   position 19 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 7 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/editing/pasteboard/pasting-tabs-expected.txt

    r138376 r138386  
    11EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    2 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment toDOMRange:range from 0 of #text > DIV > #document-fragment to 11 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
     2EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root toDOMRange:range from 0 of #text > DIV > #shadow-root to 11 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
    33EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
    44EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document
  • trunk/LayoutTests/platform/chromium-win/editing/selection/4895428-3-expected.txt

    r138376 r138386  
    2424layer at (12,109) size 149x16
    2525  RenderBlock {DIV} at (2,3) size 149x16
    26 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 2 {DIV} of body
     26caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 2 {DIV} of body
  • trunk/LayoutTests/platform/chromium-win/editing/selection/4975120-expected.txt

    r138376 r138386  
    2424    RenderText {#text} at (0,0) size 17x16
    2525      text run at (0,0) width 17: "foo"
    26 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {INPUT} of body
    27 selection end:   position 3 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {INPUT} of body
     26selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 3 {INPUT} of body
     27selection end:   position 3 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 3 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/editing/selection/select-across-readonly-input-1-expected.txt

    r138376 r138386  
    2323    RenderText {#text} at (0,0) size 32x18
    2424      text run at (0,0) width 32: "hello"
    25 caret: position 5 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 5 {DIV} of body
     25caret: position 5 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 5 {DIV} of body
  • trunk/LayoutTests/platform/chromium-win/editing/selection/select-across-readonly-input-4-expected.txt

    r138376 r138386  
    3030    RenderText {#text} at (0,0) size 52x18
    3131      text run at (0,0) width 52: "WebKit"
    32 caret: position 5 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 5 {DIV} of body
     32caret: position 5 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 5 {DIV} of body
  • trunk/LayoutTests/platform/chromium-win/editing/selection/select-across-readonly-input-5-expected.txt

    r138376 r138386  
    3030    RenderText {#text} at (0,0) size 52x18
    3131      text run at (0,0) width 52: "WebKit"
    32 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 5 {INPUT} of child 5 {DIV} of body
    33 selection end:   position 3 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 5 {INPUT} of child 5 {DIV} of body
     32selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 5 {INPUT} of child 5 {DIV} of body
     33selection end:   position 3 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 5 {INPUT} of child 5 {DIV} of body
  • trunk/LayoutTests/platform/chromium-win/fast/events/autoscroll-expected.txt

    r138376 r138386  
    2727    RenderText {#text} at (0,0) size 136x16
    2828      text run at (0,0) width 136: "select some of this text"
    29 selection start: position 1 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
    30 selection end:   position 15 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
     29selection start: position 1 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 7 {INPUT} of body
     30selection end:   position 15 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 7 {INPUT} of body
    3131scrolled to 0,2578
  • trunk/LayoutTests/platform/chromium-win/fast/events/context-no-deselect-expected.txt

    r138376 r138386  
    1111    RenderText {#text} at (0,0) size 104x16
    1212      text run at (0,0) width 104: "some sample text"
    13 selection start: position 5 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of body
    14 selection end:   position 15 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of body
     13selection start: position 5 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of body
     14selection end:   position 15 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-appearance-focus-expected.txt

    r138376 r138386  
    3232    RenderText {#text} at (0,0) size 90x16
    3333      text run at (0,0) width 90: "My Text Field 2"
    34 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {INPUT} of child 1 {P} of body
    35 selection end:   position 15 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {INPUT} of child 1 {P} of body
     34selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 3 {INPUT} of child 1 {P} of body
     35selection end:   position 15 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 3 {INPUT} of child 1 {P} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-appearance-readonly-expected.txt

    r138376 r138386  
    1313    RenderText {#text} at (0,0) size 73x16
    1414      text run at (0,0) width 73: "Test Passed"
    15 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 2 {INPUT} of body
    16 selection end:   position 11 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 2 {INPUT} of body
     15selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 2 {INPUT} of body
     16selection end:   position 11 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 2 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-appearance-selection-expected.txt

    r138376 r138386  
    7979    RenderText {#text} at (0,0) size 148x16
    8080      text run at (0,0) width 148: "123456789 ABCDEFGHIJ"
    81 selection start: position 3 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 1 {P} of body
    82 selection end:   position 12 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 1 {P} of body
     81selection start: position 3 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 1 {P} of body
     82selection end:   position 12 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 1 {P} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-double-click-selection-gap-bug-expected.txt

    r138376 r138386  
    2828    RenderText {#text} at (0,0) size 39x16
    2929      text run at (0,0) width 39: "foo bar"
    30 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 1 {TD} of child 0 {TR} of child 1 {TBODY} of child 3 {TABLE} of body
    31 selection end:   position 7 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 1 {TD} of child 0 {TR} of child 1 {TBODY} of child 3 {TABLE} of body
     30selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 1 {TD} of child 0 {TR} of child 1 {TBODY} of child 3 {TABLE} of body
     31selection end:   position 7 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 1 {TD} of child 0 {TR} of child 1 {TBODY} of child 3 {TABLE} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-placeholder-visibility-1-expected.txt

    r138376 r138386  
    1717layer at (12,49) size 149x16
    1818  RenderBlock {DIV} at (2,3) size 149x16
    19 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 3 {DIV} of body
     19caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-placeholder-visibility-3-expected.txt

    r138376 r138386  
    1818  RenderBlock {DIV} at (2,3) size 149x16
    1919    RenderBR {BR} at (0,0) size 0x16
    20 caret: position 0 of child 0 {BR} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 3 {DIV} of body
     20caret: position 0 of child 0 {BR} of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-readonly-autoscroll-expected.txt

    r138376 r138386  
    2626    RenderText {#text} at (0,0) size 164x16
    2727      text run at (0,0) width 164: "abcdefghijklmnopqrstuvwxyz"
    28 selection start: position 1 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 5 {INPUT} of body
    29 selection end:   position 26 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 5 {INPUT} of body
     28selection start: position 1 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 5 {INPUT} of body
     29selection end:   position 26 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 5 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-text-click-inside-expected.txt

    r138376 r138386  
    1212layer at (37,38) size 149x16
    1313  RenderBlock {DIV} at (2,3) size 149x16
    14 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of child 0 {DIV} of body
     14caret: position 0 of child 0 {DIV} of {#shadow-root} of child 0 {INPUT} of child 0 {DIV} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-text-drag-down-expected.txt

    r138376 r138386  
    1414    RenderText {#text} at (0,0) size 132x16
    1515      text run at (0,0) width 132: "This is a bunch of text."
    16 selection start: position 7 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of body
    17 selection end:   position 8 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of body
     16selection start: position 7 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 0 {INPUT} of body
     17selection end:   position 8 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 0 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-text-option-delete-expected.txt

    r138376 r138386  
    1414    RenderText {#text} at (0,0) size 31x16
    1515      text run at (0,0) width 31: "word "
    16 caret: position 5 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of body
     16caret: position 5 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 0 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-text-scroll-left-on-blur-expected.txt

    r138376 r138386  
    2929    RenderText {#text} at (0,0) size 337x16
    3030      text run at (0,0) width 337: "this text field has a lot of text in it so that it needs to scroll"
    31 caret: position 66 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 4 {INPUT} of body
     31caret: position 66 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 4 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/input-text-self-emptying-click-expected.txt

    r138376 r138386  
    1313layer at (12,13) size 149x16
    1414  RenderBlock {DIV} at (2,3) size 149x16
    15 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of body
     15caret: position 0 of child 0 {DIV} of {#shadow-root} of child 0 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/number/number-appearance-rtl-expected.txt

    r138376 r138386  
    9595layer at (12,314) size 15x18
    9696  RenderBlock (relative positioned) {DIV} at (0,-1) size 15x18
    97 caret: position 4 of child 0 {#text} of child 0 {DIV} of child 0 {DIV} of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of child 6 {P} of body
     97caret: position 4 of child 0 {#text} of child 0 {DIV} of child 0 {DIV} of child 0 {DIV} of {#shadow-root} of child 0 {INPUT} of child 6 {P} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/plaintext-mode-2-expected.txt

    r138376 r138386  
    3939    RenderText {#text} at (0,0) size 511x16
    4040      text run at (0,0) width 511: "This styled text, and link will be pasted into the textfield. All richness should be stripped."
    41 caret: position 94 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of body
     41caret: position 94 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 0 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/search-rtl-expected.txt

    r138376 r138386  
    6060layer at (36,101) size 114x16
    6161  RenderBlock {DIV} at (0,0) size 114x16
    62 caret: position 0 of child 0 {DIV} of child 1 {DIV} of child 0 {DIV} of {#document-fragment} of child 9 {INPUT} of child 3 {P} of body
     62caret: position 0 of child 0 {DIV} of child 1 {DIV} of child 0 {DIV} of {#shadow-root} of child 9 {INPUT} of child 3 {P} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/tabbing-input-iframe-expected.txt

    r138376 r138386  
    2626    RenderText {#text} at (0,0) size 131x16
    2727      text run at (0,0) width 131: "This should have focus"
    28 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
    29 selection end:   position 22 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 7 {INPUT} of body
     28selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 7 {INPUT} of body
     29selection end:   position 22 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 7 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/textarea-placeholder-visibility-1-expected.txt

    r138376 r138386  
    1717    RenderBlock {DIV} at (3,3) size 175x16
    1818      RenderBR {BR} at (0,0) size 0x16
    19 caret: position 0 of child 0 {BR} of child 0 {DIV} of {#document-fragment} of child 1 {TEXTAREA} of child 3 {DIV} of body
     19caret: position 0 of child 0 {BR} of child 0 {DIV} of {#shadow-root} of child 1 {TEXTAREA} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/textarea-placeholder-visibility-2-expected.txt

    r138376 r138386  
    1616        text run at (0,0) width 88: "Placeholder"
    1717    RenderBlock {DIV} at (3,3) size 175x16
    18 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {TEXTAREA} of child 3 {DIV} of body
     18caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {TEXTAREA} of child 3 {DIV} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/textarea-scrollbar-expected.txt

    r138376 r138386  
    3838      RenderText {#text} at (0,128) size 0x16
    3939        text run at (0,128) width 0: " "
    40 caret: position 0 of child 9 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body
     40caret: position 0 of child 9 {#text} of child 0 {DIV} of {#shadow-root} of child 3 {TEXTAREA} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/textarea-scrolled-type-expected.txt

    r138376 r138386  
    5757        text run at (16,304) width 0: " "
    5858      RenderBR {BR} at (0,320) size 0x16
    59 caret: position 49 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body
     59caret: position 49 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 3 {TEXTAREA} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/textfield-focus-ring-expected.txt

    r138376 r138386  
    1313layer at (12,69) size 149x16
    1414  RenderBlock {DIV} at (2,3) size 149x16
    15 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 3 {INPUT} of body
     15caret: position 0 of child 0 {DIV} of {#shadow-root} of child 3 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/fast/forms/textfield-overflow-expected.txt

    r138376 r138386  
    99layer at (12,11) size 149x4 scrollHeight 16
    1010  RenderBlock {DIV} at (2,3) size 149x4
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of body
  • trunk/LayoutTests/platform/chromium-win/fast/frames/take-focus-from-iframe-expected.txt

    r138376 r138386  
    2323    RenderText {#text} at (0,0) size 36x16
    2424      text run at (0,0) width 36: "PASS"
    25 caret: position 4 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 3 {P} of body
     25caret: position 4 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 3 {P} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 38x19
    1010            text run at (16,0) width 38: "new 1"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {SUMMARY} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 38x19
    1010            text run at (16,0) width 38: "new 1"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {SUMMARY} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.txt

    r138376 r138386  
    1212          RenderText {#text} at (0,0) size 37x19
    1313            text run at (0,0) width 37: "new 2"
    14 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {SUMMARY} of child 1 {DETAILS} of body
     14caret: position 0 of child 0 {DIV} of {#shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.txt

    r138376 r138386  
    1212          RenderText {#text} at (0,0) size 37x19
    1313            text run at (0,0) width 37: "new 1"
    14 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {SUMMARY} of child 1 {DETAILS} of body
     14caret: position 0 of child 0 {DIV} of {#shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.txt

    r138376 r138386  
    1212          RenderText {#text} at (0,0) size 37x19
    1313            text run at (0,0) width 37: "new 1"
    14 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {SUMMARY} of child 1 {DETAILS} of body
     14caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.txt

    r138376 r138386  
    1212          RenderText {#text} at (0,0) size 54x19
    1313            text run at (0,0) width 54: "summary"
    14 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {SUMMARY} of child 1 {DETAILS} of body
     14caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 38x19
    1010            text run at (16,0) width 38: "new 1"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {SUMMARY} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 38x19
    1010            text run at (16,0) width 38: "new 1"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {SUMMARY} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 38x19
    1010            text run at (16,0) width 38: "new 2"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {SUMMARY} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 55x19
    1010            text run at (16,0) width 55: "summary"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {SUMMARY} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 42x19
    1010            text run at (16,0) width 42: "Details"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {SUMMARY} of child 0 {WEBKITSHADOWCONTENT} of {#document-fragment} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 0 {SUMMARY} of child 0 {WEBKITSHADOWCONTENT} of {#shadow-root} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 67x19
    1010            text run at (16,0) width 67: "summary 2"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 2 {SUMMARY} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 2 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 67x19
    1010            text run at (16,0) width 67: "summary 1"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {SUMMARY} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 42x19
    1010            text run at (16,0) width 42: "Details"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {SUMMARY} of child 0 {WEBKITSHADOWCONTENT} of {#document-fragment} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 0 {SUMMARY} of child 0 {WEBKITSHADOWCONTENT} of {#shadow-root} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 67x19
    1010            text run at (16,0) width 67: "summary 2"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 2 {SUMMARY} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 2 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.txt

    r138376 r138386  
    99          RenderText {#text} at (16,0) size 67x19
    1010            text run at (16,0) width 67: "summary 1"
    11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {SUMMARY} of child 1 {DETAILS} of body
     11caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body
  • trunk/LayoutTests/platform/chromium-win/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt

    r138376 r138386  
    1414layer at (12,13) size 149x16
    1515  RenderBlock {DIV} at (2,3) size 149x16
    16 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 1 {DIV} of body
     16caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 1 {DIV} of body
  • trunk/LayoutTests/platform/chromium-win/fast/transforms/transformed-focused-text-input-expected.txt

    r138376 r138386  
    1010layer at (12,13) size 149x16
    1111  RenderBlock {DIV} at (2,3) size 149x16
    12 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 1 {DIV} of body
     12caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 1 {DIV} of body
  • trunk/LayoutTests/resources/dump-as-markup.js

    r138376 r138386  
    219219        break;
    220220    case Node.DOCUMENT_FRAGMENT_NODE:
    221         if (node instanceof WebKitShadowRoot)
     221        if (node.nodeName == "#shadow-root")
    222222          str += "<shadow:root>";
    223223        else
  • trunk/Source/WebCore/ChangeLog

    r138383 r138386  
     12012-12-21  Dimitri Glazkov  <dglazkov@chromium.org>
     2
     3        Unreviewed, rolling out r138376.
     4        http://trac.webkit.org/changeset/138376
     5        https://bugs.webkit.org/show_bug.cgi?id=104995
     6
     7        Broke a bunch of tests on mac.
     8
     9        * dom/ShadowRoot.cpp:
     10        (WebCore::ShadowRoot::nodeName):
     11        (WebCore):
     12        * dom/ShadowRoot.h:
     13        (ShadowRoot):
     14
    1152012-12-21  Sheriff Bot  <webkit.review.bot@gmail.com>
    216
  • trunk/Source/WebCore/dom/ShadowRoot.cpp

    r138376 r138386  
    155155}
    156156
     157String ShadowRoot::nodeName() const
     158{
     159    return "#shadow-root";
     160}
     161
    157162PassRefPtr<Node> ShadowRoot::cloneNode(bool)
    158163{
  • trunk/Source/WebCore/dom/ShadowRoot.h

    r138376 r138386  
    118118    explicit ShadowRoot(Document*);
    119119    virtual ~ShadowRoot();
     120    virtual String nodeName() const;
    120121    virtual PassRefPtr<Node> cloneNode(bool deep);
    121122    virtual bool childTypeAllowed(NodeType) const;
Note: See TracChangeset for help on using the changeset viewer.