Changeset 138376 in webkit
- Timestamp:
- Dec 21, 2012, 7:44:51 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 74 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r138375 r138376 1 2012-12-21 Shinya Kawanaka <shinyak@chromium.org> 2 3 [Shadow DOM]: ShadowRoot wrong nodeName attribute 4 https://bugs.webkit.org/show_bug.cgi?id=104995 5 6 Reviewed by Dimitri Glazkov. 7 8 Uses 'instanceof' to check the instance is ShadowRoot or not. 9 Update dump-as-markup.js to see 'instanceof' instead of nodeType. 10 Also, a lot of rebaselines have been conducted. 11 12 * editing/deleting/delete-ligature-001-expected.txt: 13 * editing/pasteboard/copy-in-password-field-expected.txt: 14 * editing/selection/select-all-textarea-expected.txt: 15 * fast/dom/shadow/layout-tests-can-access-shadow-expected.txt: 16 * fast/dom/shadow/layout-tests-can-access-shadow.html: 17 * fast/dom/shadow/resources/shadow-dom.js: 18 (isShadowRoot): 19 * fast/events/5056619-expected.txt: 20 * fast/forms/focus-selection-input-expected.txt: 21 * inspector/elements/shadow-dom-modify-chardata-expected.txt: 22 * inspector/elements/shadow-root-expected.txt: 23 * inspector/elements/update-shadowdom-expected.txt: 24 * platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.txt: 25 * platform/chromium-linux/fast/forms/input-text-double-click-expected.txt: 26 * platform/chromium-linux/fast/forms/textfield-outline-expected.txt: 27 * platform/chromium-linux/fast/forms/validation-message-appearance-expected.txt: 28 * platform/chromium-win/editing/deleting/delete-all-text-in-text-field-assertion-expected.txt: 29 * platform/chromium-win/editing/input/caret-at-the-edge-of-input-expected.txt: 30 * platform/chromium-win/editing/input/reveal-caret-of-multiline-input-expected.txt: 31 * platform/chromium-win/editing/inserting/4960120-1-expected.txt: 32 * platform/chromium-win/editing/pasteboard/drop-text-without-selection-expected.txt: 33 * platform/chromium-win/editing/pasteboard/pasting-tabs-expected.txt: 34 * platform/chromium-win/editing/selection/4895428-3-expected.txt: 35 * platform/chromium-win/editing/selection/4975120-expected.txt: 36 * platform/chromium-win/editing/selection/select-across-readonly-input-1-expected.txt: 37 * platform/chromium-win/editing/selection/select-across-readonly-input-4-expected.txt: 38 * platform/chromium-win/editing/selection/select-across-readonly-input-5-expected.txt: 39 * platform/chromium-win/fast/events/autoscroll-expected.txt: 40 * platform/chromium-win/fast/events/context-no-deselect-expected.txt: 41 * platform/chromium-win/fast/forms/input-appearance-focus-expected.txt: 42 * platform/chromium-win/fast/forms/input-appearance-readonly-expected.txt: 43 * platform/chromium-win/fast/forms/input-appearance-selection-expected.txt: 44 * platform/chromium-win/fast/forms/input-double-click-selection-gap-bug-expected.txt: 45 * platform/chromium-win/fast/forms/input-placeholder-visibility-1-expected.txt: 46 * platform/chromium-win/fast/forms/input-placeholder-visibility-3-expected.txt: 47 * platform/chromium-win/fast/forms/input-readonly-autoscroll-expected.txt: 48 * platform/chromium-win/fast/forms/input-text-click-inside-expected.txt: 49 * platform/chromium-win/fast/forms/input-text-drag-down-expected.txt: 50 * platform/chromium-win/fast/forms/input-text-option-delete-expected.txt: 51 * platform/chromium-win/fast/forms/input-text-scroll-left-on-blur-expected.txt: 52 * platform/chromium-win/fast/forms/input-text-self-emptying-click-expected.txt: 53 * platform/chromium-win/fast/forms/number/number-appearance-rtl-expected.txt: 54 * platform/chromium-win/fast/forms/plaintext-mode-2-expected.txt: 55 * platform/chromium-win/fast/forms/search-rtl-expected.txt: 56 * platform/chromium-win/fast/forms/tabbing-input-iframe-expected.txt: 57 * platform/chromium-win/fast/forms/textarea-placeholder-visibility-1-expected.txt: 58 * platform/chromium-win/fast/forms/textarea-placeholder-visibility-2-expected.txt: 59 * platform/chromium-win/fast/forms/textarea-scrollbar-expected.txt: 60 * platform/chromium-win/fast/forms/textarea-scrolled-type-expected.txt: 61 * platform/chromium-win/fast/forms/textfield-focus-ring-expected.txt: 62 * platform/chromium-win/fast/forms/textfield-overflow-expected.txt: 63 * platform/chromium-win/fast/frames/take-focus-from-iframe-expected.txt: 64 * platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.txt: 65 * platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.txt: 66 * platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.txt: 67 * platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.txt: 68 * platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.txt: 69 * platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.txt: 70 * platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.txt: 71 * platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.txt: 72 * platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.txt: 73 * platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.txt: 74 * platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt: 75 * platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt: 76 * platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.txt: 77 * platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt: 78 * platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt: 79 * platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.txt: 80 * platform/chromium-win/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt: 81 * platform/chromium-win/fast/transforms/transformed-focused-text-input-expected.txt: 82 * resources/dump-as-markup.js: 83 (Markup._get): 84 1 85 2012-12-21 Ilya Tikhonovsky <loislo@chromium.org> 2 86 -
trunk/LayoutTests/editing/deleting/delete-ligature-001-expected.txt
r96264 r138376 1 1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 2 2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 3 EDITING 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:FALSE3 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 4 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 5 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 6 EDITING 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:FALSE6 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 7 7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 8 8 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 9 EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > # shadow-root to 2 of #text > DIV > #shadow-root9 EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > #document-fragment to 2 of #text > DIV > #document-fragment 10 10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 11 11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification -
trunk/LayoutTests/editing/pasteboard/copy-in-password-field-expected.txt
r96257 r138376 4 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 5 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 6 EDITING DELEGATE: shouldInsertText:[not modified] replacingDOMRange:range from 0 of #text > DIV > # shadow-root to 14 of #text > DIV > #shadow-root givenAction:WebViewInsertActionPasted6 EDITING DELEGATE: shouldInsertText:[not modified] replacingDOMRange:range from 0 of #text > DIV > #document-fragment to 14 of #text > DIV > #document-fragment givenAction:WebViewInsertActionPasted 7 7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 8 EDITING 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:FALSE8 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 9 9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 10 10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification -
trunk/LayoutTests/editing/selection/select-all-textarea-expected.txt
r87067 r138376 1 1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 2 EDITING 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:FALSE2 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 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 4 This 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
r116730 r138376 2 2 This tests that layout tests can access shadow DOM. 3 3 4 PASS shadow.nodeName is "# shadow-root"4 PASS shadow.nodeName is "#document-fragment" 5 5 PASS exceptionCode is DOMException.INVALID_ACCESS_ERR 6 6 PASS internals.shadowRoot(p) is null 7 PASS shadow.nodeName is "# shadow-root"7 PASS shadow.nodeName is "#document-fragment" 8 8 PASS shadow === internals.shadowRoot(p) is true 9 9 PASS successfullyParsed is true -
trunk/LayoutTests/fast/dom/shadow/layout-tests-can-access-shadow.html
r116730 r138376 16 16 var keygen = document.getElementById('keys'); 17 17 var shadow = internals.shadowRoot(keygen); 18 shouldBe('shadow.nodeName', '"# shadow-root"');18 shouldBe('shadow.nodeName', '"#document-fragment"'); 19 19 20 20 // Shadow roots aren't elements, so accessing their shadow should … … 34 34 // Can bless ordinary elements with shadows 35 35 shadow = internals.ensureShadowRoot(p); 36 shouldBe('shadow.nodeName', '"# shadow-root"');36 shouldBe('shadow.nodeName', '"#document-fragment"'); 37 37 shouldBe('shadow === internals.shadowRoot(p)', 'true'); 38 38 } -
trunk/LayoutTests/fast/dom/shadow/resources/shadow-dom.js
r137408 r138376 53 53 function isShadowRoot(node) 54 54 { 55 // FIXME: window.internals should have internals.isShadowRoot(node). 56 return node.nodeName == "#shadow-root"; 55 return (node instanceof WebKitShadowRoot); 57 56 } 58 57 -
trunk/LayoutTests/fast/events/5056619-expected.txt
r96264 r138376 3 3 EDITING 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 4 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 5 EDITING DELEGATE: shouldInsertText:Dragme replacingDOMRange:range from 0 of DIV > # shadow-root to 0 of DIV > #shadow-root givenAction:WebViewInsertActionDropped5 EDITING DELEGATE: shouldInsertText:Dragme replacingDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment givenAction:WebViewInsertActionDropped 6 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 7 7 This 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
r87067 r138376 5 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 6 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 7 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > # shadow-root to 0 of DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE7 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE 8 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 9 9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification -
trunk/LayoutTests/inspector/elements/shadow-dom-modify-chardata-expected.txt
r138025 r138376 7 7 - <div id="container"> 8 8 - <input type="text" id="input1"> 9 - # shadow-root9 - #document-fragment 10 10 <div></div> 11 11 </input> … … 16 16 - <div id="container"> 17 17 - <input type="text" id="input1"> 18 - # shadow-root18 - #document-fragment 19 19 + <div>Bar</div> 20 20 </input> -
trunk/LayoutTests/inspector/elements/shadow-root-expected.txt
r138025 r138376 3 3 - <div id="container"> 4 4 - <div id="test1"> 5 # shadow-root5 #document-fragment 6 6 </div> 7 7 - <div id="test2"> 8 # shadow-root8 #document-fragment 9 9 "only test" 10 10 </div> 11 11 - <div id="test3"> 12 # shadow-root12 #document-fragment 13 13 "with " 14 14 <span>elements</span> -
trunk/LayoutTests/inspector/elements/update-shadowdom-expected.txt
r132024 r138376 3 3 - <div id="container"> 4 4 - <div id="host"> 5 - # shadow-root5 - #document-fragment 6 6 </div> 7 7 </div> -
trunk/LayoutTests/platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.txt
r126217 r138376 1 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 11 of #text > DIV > # shadow-root to 11 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE1 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 11 of #text > DIV > #document-fragment to 11 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE 2 2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 3 EDITING 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:FALSE3 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 4 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 5 EDITING 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:FALSE5 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 6 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 7 EDITING 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:FALSE7 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 8 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 9 EDITING 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:FALSE9 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 10 10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 11 11 layer at (0,0) size 800x600 … … 45 45 RenderText {#text} at (0,0) size 200x27 46 46 text run at (0,0) width 200: "Lorem ipsum dolor" 47 selection start: position 11 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 7 {INPUT} of body48 selection end: position 12 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 7 {INPUT} of body47 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 -
trunk/LayoutTests/platform/chromium-linux/fast/forms/input-text-double-click-expected.txt
r117679 r138376 14 14 RenderText {#text} at (0,0) size 74x16 15 15 text run at (0,0) width 74: "word another" 16 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 0 {INPUT} of body17 selection end: position 4 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 0 {INPUT} of body16 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 -
trunk/LayoutTests/platform/chromium-linux/fast/forms/textfield-outline-expected.txt
r117679 r138376 13 13 RenderText {#text} at (0,0) size 32x23 14 14 text run at (0,0) width 32: "abc" 15 caret: position 3 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 3 {INPUT} of body15 caret: position 3 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {INPUT} of body -
trunk/LayoutTests/platform/chromium-linux/fast/forms/validation-message-appearance-expected.txt
r117821 r138376 35 35 layer at (42,32) size 18x18 backgroundClip at (10,32) size 318x13 clip at (10,32) size 318x13 outlineClip at (10,32) size 318x13 36 36 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 {# shadow-root} of child 1 {INPUT} of child 0 {FORM} of body37 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r96273 r138376 1 1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 2 EDITING 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:FALSE3 EDITING DELEGATE: shouldDeleteDOMRange:range from 0 of #text > DIV > # shadow-root to 1 of #text > DIV > #shadow-root2 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 4 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 5 EDITING 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:FALSE5 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 6 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 7 7 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification -
trunk/LayoutTests/platform/chromium-win/editing/input/caret-at-the-edge-of-input-expected.txt
r117677 r138376 15 15 RenderText {#text} at (0,0) size 294x16 16 16 text run at (0,0) width 294: "012345678901012345678901234567890123456789" 17 caret: position 12 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 3 {INPUT} of body17 caret: position 12 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {INPUT} of body -
trunk/LayoutTests/platform/chromium-win/editing/input/reveal-caret-of-multiline-input-expected.txt
r103081 r138376 77 77 text run at (16,480) width 0: " " 78 78 RenderBR {BR} at (0,496) size 0x16 79 caret: position 37 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 3 {TEXTAREA} of body79 caret: position 37 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body -
trunk/LayoutTests/platform/chromium-win/editing/inserting/4960120-1-expected.txt
r87067 r138376 17 17 RenderText {#text} at (0,16) size 0x16 18 18 text run at (0,16) width 0: " " 19 caret: position 0 of child 1 {#text} of child 0 {DIV} of {# shadow-root} of child 2 {TEXTAREA} of body19 caret: position 0 of child 1 {#text} of child 0 {DIV} of {#document-fragment} of child 2 {TEXTAREA} of body -
trunk/LayoutTests/platform/chromium-win/editing/pasteboard/drop-text-without-selection-expected.txt
r117677 r138376 1 EDITING DELEGATE: shouldInsertText:http://www.ibm.com/ replacingDOMRange:range from 0 of DIV > # shadow-root to 0 of DIV > #shadow-root givenAction:WebViewInsertActionDropped1 EDITING DELEGATE: shouldInsertText:http://www.ibm.com/ replacingDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment givenAction:WebViewInsertActionDropped 2 2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 3 EDITING 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:FALSE3 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 4 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 5 5 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification … … 40 40 RenderText {#text} at (0,0) size 119x16 41 41 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 {# shadow-root} of child 7 {INPUT} of body43 selection end: position 19 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 7 {INPUT} of body42 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 -
trunk/LayoutTests/platform/chromium-win/editing/pasteboard/pasting-tabs-expected.txt
r87067 r138376 1 1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 2 EDITING 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:FALSE2 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 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 4 4 EDITING 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
r117677 r138376 24 24 layer at (12,109) size 149x16 25 25 RenderBlock {DIV} at (2,3) size 149x16 26 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of child 2 {DIV} of body26 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 2 {DIV} of body -
trunk/LayoutTests/platform/chromium-win/editing/selection/4975120-expected.txt
r117677 r138376 24 24 RenderText {#text} at (0,0) size 17x16 25 25 text run at (0,0) width 17: "foo" 26 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 3 {INPUT} of body27 selection end: position 3 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 3 {INPUT} of body26 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 -
trunk/LayoutTests/platform/chromium-win/editing/selection/select-across-readonly-input-1-expected.txt
r117677 r138376 23 23 RenderText {#text} at (0,0) size 32x18 24 24 text run at (0,0) width 32: "hello" 25 caret: position 5 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of child 5 {DIV} of body25 caret: position 5 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 5 {DIV} of body -
trunk/LayoutTests/platform/chromium-win/editing/selection/select-across-readonly-input-4-expected.txt
r117677 r138376 30 30 RenderText {#text} at (0,0) size 52x18 31 31 text run at (0,0) width 52: "WebKit" 32 caret: position 5 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of child 5 {DIV} of body32 caret: position 5 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 5 {DIV} of body -
trunk/LayoutTests/platform/chromium-win/editing/selection/select-across-readonly-input-5-expected.txt
r117677 r138376 30 30 RenderText {#text} at (0,0) size 52x18 31 31 text run at (0,0) width 52: "WebKit" 32 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 5 {INPUT} of child 5 {DIV} of body33 selection end: position 3 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 5 {INPUT} of child 5 {DIV} of body32 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 -
trunk/LayoutTests/platform/chromium-win/fast/events/autoscroll-expected.txt
r117677 r138376 27 27 RenderText {#text} at (0,0) size 136x16 28 28 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 {# shadow-root} of child 7 {INPUT} of body30 selection end: position 15 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 7 {INPUT} of body29 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 31 31 scrolled to 0,2578 -
trunk/LayoutTests/platform/chromium-win/fast/events/context-no-deselect-expected.txt
r117677 r138376 11 11 RenderText {#text} at (0,0) size 104x16 12 12 text run at (0,0) width 104: "some sample text" 13 selection start: position 5 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of body14 selection end: position 15 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of body13 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 -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-appearance-focus-expected.txt
r117679 r138376 32 32 RenderText {#text} at (0,0) size 90x16 33 33 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 {# shadow-root} of child 3 {INPUT} of child 1 {P} of body35 selection end: position 15 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 3 {INPUT} of child 1 {P} of body34 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 -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-appearance-readonly-expected.txt
r117679 r138376 13 13 RenderText {#text} at (0,0) size 73x16 14 14 text run at (0,0) width 73: "Test Passed" 15 selection start: position 0 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 2 {INPUT} of body16 selection end: position 11 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 2 {INPUT} of body15 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 -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-appearance-selection-expected.txt
r117679 r138376 79 79 RenderText {#text} at (0,0) size 148x16 80 80 text run at (0,0) width 148: "123456789 ABCDEFGHIJ" 81 selection start: position 3 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of child 1 {P} of body82 selection end: position 12 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of child 1 {P} of body81 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 -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-double-click-selection-gap-bug-expected.txt
r117679 r138376 28 28 RenderText {#text} at (0,0) size 39x16 29 29 text run at (0,0) width 39: "foo bar" 30 selection 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 body31 selection 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 body30 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 -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-placeholder-visibility-1-expected.txt
r118893 r138376 17 17 layer at (12,49) size 149x16 18 18 RenderBlock {DIV} at (2,3) size 149x16 19 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of child 3 {DIV} of body19 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 3 {DIV} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-placeholder-visibility-3-expected.txt
r118893 r138376 18 18 RenderBlock {DIV} at (2,3) size 149x16 19 19 RenderBR {BR} at (0,0) size 0x16 20 caret: position 0 of child 0 {BR} of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of child 3 {DIV} of body20 caret: position 0 of child 0 {BR} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 3 {DIV} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-readonly-autoscroll-expected.txt
r117679 r138376 26 26 RenderText {#text} at (0,0) size 164x16 27 27 text run at (0,0) width 164: "abcdefghijklmnopqrstuvwxyz" 28 selection start: position 1 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 5 {INPUT} of body29 selection end: position 26 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 5 {INPUT} of body28 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 -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-text-click-inside-expected.txt
r117679 r138376 12 12 layer at (37,38) size 149x16 13 13 RenderBlock {DIV} at (2,3) size 149x16 14 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 0 {INPUT} of child 0 {DIV} of body14 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of child 0 {DIV} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-text-drag-down-expected.txt
r126217 r138376 14 14 RenderText {#text} at (0,0) size 132x16 15 15 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 {# shadow-root} of child 0 {INPUT} of body17 selection end: position 8 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 0 {INPUT} of body16 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 -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-text-option-delete-expected.txt
r117679 r138376 14 14 RenderText {#text} at (0,0) size 31x16 15 15 text run at (0,0) width 31: "word " 16 caret: position 5 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 0 {INPUT} of body16 caret: position 5 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-text-scroll-left-on-blur-expected.txt
r117679 r138376 29 29 RenderText {#text} at (0,0) size 337x16 30 30 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 {# shadow-root} of child 4 {INPUT} of body31 caret: position 66 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 4 {INPUT} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/input-text-self-emptying-click-expected.txt
r117679 r138376 13 13 layer at (12,13) size 149x16 14 14 RenderBlock {DIV} at (2,3) size 149x16 15 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 0 {INPUT} of body15 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/number/number-appearance-rtl-expected.txt
r123302 r138376 95 95 layer at (12,314) size 15x18 96 96 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 {# shadow-root} of child 0 {INPUT} of child 6 {P} of body97 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 -
trunk/LayoutTests/platform/chromium-win/fast/forms/plaintext-mode-2-expected.txt
r117679 r138376 39 39 RenderText {#text} at (0,0) size 511x16 40 40 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 {# shadow-root} of child 0 {INPUT} of body41 caret: position 94 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 0 {INPUT} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/search-rtl-expected.txt
r117821 r138376 60 60 layer at (36,101) size 114x16 61 61 RenderBlock {DIV} at (0,0) size 114x16 62 caret: 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 body62 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 -
trunk/LayoutTests/platform/chromium-win/fast/forms/tabbing-input-iframe-expected.txt
r117679 r138376 26 26 RenderText {#text} at (0,0) size 131x16 27 27 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 {# shadow-root} of child 7 {INPUT} of body29 selection end: position 22 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 7 {INPUT} of body28 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 -
trunk/LayoutTests/platform/chromium-win/fast/forms/textarea-placeholder-visibility-1-expected.txt
r118893 r138376 17 17 RenderBlock {DIV} at (3,3) size 175x16 18 18 RenderBR {BR} at (0,0) size 0x16 19 caret: position 0 of child 0 {BR} of child 0 {DIV} of {# shadow-root} of child 1 {TEXTAREA} of child 3 {DIV} of body19 caret: position 0 of child 0 {BR} of child 0 {DIV} of {#document-fragment} of child 1 {TEXTAREA} of child 3 {DIV} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/textarea-placeholder-visibility-2-expected.txt
r118893 r138376 16 16 text run at (0,0) width 88: "Placeholder" 17 17 RenderBlock {DIV} at (3,3) size 175x16 18 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {TEXTAREA} of child 3 {DIV} of body18 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {TEXTAREA} of child 3 {DIV} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/textarea-scrollbar-expected.txt
r87067 r138376 38 38 RenderText {#text} at (0,128) size 0x16 39 39 text run at (0,128) width 0: " " 40 caret: position 0 of child 9 {#text} of child 0 {DIV} of {# shadow-root} of child 3 {TEXTAREA} of body40 caret: position 0 of child 9 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/textarea-scrolled-type-expected.txt
r87067 r138376 57 57 text run at (16,304) width 0: " " 58 58 RenderBR {BR} at (0,320) size 0x16 59 caret: position 49 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 3 {TEXTAREA} of body59 caret: position 49 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/textfield-focus-ring-expected.txt
r117679 r138376 13 13 layer at (12,69) size 149x16 14 14 RenderBlock {DIV} at (2,3) size 149x16 15 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 3 {INPUT} of body15 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 3 {INPUT} of body -
trunk/LayoutTests/platform/chromium-win/fast/forms/textfield-overflow-expected.txt
r117679 r138376 9 9 layer at (12,11) size 149x4 scrollHeight 16 10 10 RenderBlock {DIV} at (2,3) size 149x4 11 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of body11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of body -
trunk/LayoutTests/platform/chromium-win/fast/frames/take-focus-from-iframe-expected.txt
r117677 r138376 23 23 RenderText {#text} at (0,0) size 36x16 24 24 text run at (0,0) width 36: "PASS" 25 caret: position 4 of child 0 {#text} of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of child 3 {P} of body25 caret: position 4 of child 0 {#text} of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 9 9 RenderText {#text} at (16,0) size 38x19 10 10 text run at (16,0) width 38: "new 1" 11 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body11 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 9 9 RenderText {#text} at (16,0) size 38x19 10 10 text run at (16,0) width 38: "new 1" 11 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body11 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 12 12 RenderText {#text} at (0,0) size 37x19 13 13 text run at (0,0) width 37: "new 2" 14 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body14 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 12 12 RenderText {#text} at (0,0) size 37x19 13 13 text run at (0,0) width 37: "new 1" 14 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body14 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 12 12 RenderText {#text} at (0,0) size 37x19 13 13 text run at (0,0) width 37: "new 1" 14 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body14 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 12 12 RenderText {#text} at (0,0) size 54x19 13 13 text run at (0,0) width 54: "summary" 14 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body14 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 9 9 RenderText {#text} at (16,0) size 38x19 10 10 text run at (16,0) width 38: "new 1" 11 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body11 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 9 9 RenderText {#text} at (16,0) size 38x19 10 10 text run at (16,0) width 38: "new 1" 11 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body11 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 9 9 RenderText {#text} at (16,0) size 38x19 10 10 text run at (16,0) width 38: "new 2" 11 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 0 {SUMMARY} of child 1 {DETAILS} of body11 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 9 9 RenderText {#text} at (16,0) size 55x19 10 10 text run at (16,0) width 55: "summary" 11 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body11 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 9 9 RenderText {#text} at (16,0) size 42x19 10 10 text run at (16,0) width 42: "Details" 11 caret: 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 body11 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 -
trunk/LayoutTests/platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt
r132135 r138376 9 9 RenderText {#text} at (16,0) size 67x19 10 10 text run at (16,0) width 67: "summary 2" 11 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 2 {SUMMARY} of child 1 {DETAILS} of body11 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 9 9 RenderText {#text} at (16,0) size 67x19 10 10 text run at (16,0) width 67: "summary 1" 11 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body11 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 9 9 RenderText {#text} at (16,0) size 42x19 10 10 text run at (16,0) width 42: "Details" 11 caret: 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 body11 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 -
trunk/LayoutTests/platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt
r132135 r138376 9 9 RenderText {#text} at (16,0) size 67x19 10 10 text run at (16,0) width 67: "summary 2" 11 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 2 {SUMMARY} of child 1 {DETAILS} of body11 caret: position 0 of child 0 {DIV} of {#document-fragment} 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
r132135 r138376 9 9 RenderText {#text} at (16,0) size 67x19 10 10 text run at (16,0) width 67: "summary 1" 11 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {SUMMARY} of child 1 {DETAILS} of body11 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {SUMMARY} of child 1 {DETAILS} of body -
trunk/LayoutTests/platform/chromium-win/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt
r117677 r138376 14 14 layer at (12,13) size 149x16 15 15 RenderBlock {DIV} at (2,3) size 149x16 16 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of child 1 {DIV} of body16 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 1 {DIV} of body -
trunk/LayoutTests/platform/chromium-win/fast/transforms/transformed-focused-text-input-expected.txt
r117677 r138376 10 10 layer at (12,13) size 149x16 11 11 RenderBlock {DIV} at (2,3) size 149x16 12 caret: position 0 of child 0 {DIV} of {# shadow-root} of child 1 {INPUT} of child 1 {DIV} of body12 caret: position 0 of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 1 {DIV} of body -
trunk/LayoutTests/resources/dump-as-markup.js
r136467 r138376 219 219 break; 220 220 case Node.DOCUMENT_FRAGMENT_NODE: 221 if (node .nodeName == "#shadow-root")221 if (node instanceof WebKitShadowRoot) 222 222 str += "<shadow:root>"; 223 223 else -
trunk/Source/WebCore/ChangeLog
r138374 r138376 1 2012-12-21 Shinya Kawanaka <shinyak@chromium.org> 2 3 [Shadow DOM]: ShadowRoot wrong nodeName attribute 4 https://bugs.webkit.org/show_bug.cgi?id=104995 5 6 Reviewed by Dimitri Glazkov. 7 8 According to the Shadow DOM spec, ShadowRoot.nodeName should return '#document-fragment' instead of '#shadow-root'. 9 We remove ShadowRoot::nodeName. 10 11 No new tests, covered by existing tests. 12 13 * dom/ShadowRoot.cpp: 14 * dom/ShadowRoot.h: 15 (ShadowRoot): 16 1 17 2012-12-21 Mihai Parparita <mihaip@chromium.org> 2 18 -
trunk/Source/WebCore/dom/ShadowRoot.cpp
r137717 r138376 155 155 } 156 156 157 String ShadowRoot::nodeName() const158 {159 return "#shadow-root";160 }161 162 157 PassRefPtr<Node> ShadowRoot::cloneNode(bool) 163 158 { -
trunk/Source/WebCore/dom/ShadowRoot.h
r138358 r138376 118 118 explicit ShadowRoot(Document*); 119 119 virtual ~ShadowRoot(); 120 virtual String nodeName() const;121 120 virtual PassRefPtr<Node> cloneNode(bool deep); 122 121 virtual bool childTypeAllowed(NodeType) const;
Note:
See TracChangeset
for help on using the changeset viewer.