Changeset 280482 in webkit
- Timestamp:
- Jul 30, 2021 10:46:30 AM (12 months ago)
- Location:
- trunk
- Files:
-
- 28 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/accessibility/mac/pseudo-element-text-markers-expected.txt (modified) (1 diff)
-
LayoutTests/editing/pasteboard/smart-paste-paragraph-003-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/the-innertext-and-outertext-properties/innertext-setter-expected.txt (modified) (2 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/the-innertext-idl-attribute/setter-expected.txt (modified) (2 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/innerText/setter-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/ios-wk2/editing/input/reveal-caret-of-multiline-input-expected.txt (modified) (1 diff)
-
LayoutTests/platform/ios-wk2/fast/forms/textarea-scroll-height-expected.txt (modified) (1 diff)
-
LayoutTests/platform/ios-wk2/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt (modified) (1 diff)
-
LayoutTests/platform/ios/fast/forms/textarea-scrollbar-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/ios/fast/forms/textarea-scrolled-type-expected.txt (modified) (1 diff)
-
LayoutTests/platform/ios/fast/forms/textarea-width-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac-catalina/editing/input/reveal-caret-of-multiline-input-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac-catalina/fast/forms/basic-textareas-quirks-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac-catalina/fast/parser/open-comment-in-textarea-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac-catalina/http/tests/navigation/javascriptlink-frames-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac/editing/input/reveal-caret-of-multiline-input-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac/fast/forms/basic-textareas-quirks-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac/fast/forms/textarea-scroll-height-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac/fast/forms/textarea-scrollbar-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/mac/fast/forms/textarea-scrolled-type-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac/fast/forms/textarea-width-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac/fast/parser/open-comment-in-textarea-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac/http/tests/navigation/javascriptlink-frames-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/html/HTMLElement.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r280480 r280482 1 2021-07-30 Chris Dumez <cdumez@apple.com> 2 3 HTMLElement.innerText setter should convert new lines to <br> 4 https://bugs.webkit.org/show_bug.cgi?id=228605 5 6 Reviewed by Sam Weinig. 7 8 Rebaseline a few tests that changed output. 9 10 * editing/pasteboard/smart-paste-paragraph-003-expected.txt: 11 * platform/mac/editing/input/reveal-caret-of-multiline-input-expected.txt: 12 * platform/mac/fast/forms/basic-textareas-quirks-expected.txt: 13 * platform/mac/fast/forms/textarea-scroll-height-expected.txt: 14 * platform/mac/fast/forms/textarea-scrollbar-expected.txt: 15 * platform/mac/fast/forms/textarea-scrolled-type-expected.txt: 16 * platform/mac/fast/forms/textarea-width-expected.txt: 17 * platform/mac/fast/parser/open-comment-in-textarea-expected.txt: 18 * platform/mac/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt: 19 * platform/mac/http/tests/navigation/javascriptlink-frames-expected.txt: 20 1 21 2021-07-30 Sihui Liu <sihui_liu@apple.com> 2 22 -
trunk/LayoutTests/accessibility/mac/pseudo-element-text-markers-expected.txt
r277286 r280482 28 28 AXRole: AXGroup AXValue: 29 29 AXRole: AXStaticText AXValue: AXRole: AXScrollArea AXValue: 30 AXRole: AX WebArea AXValue:31 AXRole: AX Group AXValue:32 AXRole: AXStaticText AXValue: Hello33 AXRole: AX Group AXValue:34 AXRole: AXStaticText AXValue: This tests that the pseudo element style:body:before is accessible via the accessibility tree but not via TextMarkers.35 AXRole: AX Group AXValue:36 AXRole: AXStaticText AXValue: On success, you will see a series of "37 AXRole: AXStaticText AXValue: PASS38 AXRole: AXStaticText AXValue: " messages, followed by "39 AXRole: AXStaticText AXValue: TEST COMPLETE40 AXRole: AXStaticText AXValue: ".41 AXRole: AX Group AXValue:30 AXRole: AXStaticText AXValue: AXRole: AXWebArea AXValue: 31 AXRole: AXStaticText AXValue: AXRole: AXGroup AXValue: 32 AXRole: AXStaticText AXValue: AXRole: AXStaticText AXValue: Hello 33 AXRole: AXStaticText AXValue: AXRole: AXGroup AXValue: 34 AXRole: AXStaticText AXValue: AXRole: AXStaticText AXValue: This tests that the pseudo element style:body:before is accessible via the accessibility tree but not via TextMarkers. 35 AXRole: AXStaticText AXValue: AXRole: AXGroup AXValue: 36 AXRole: AXStaticText AXValue: AXRole: AXStaticText AXValue: On success, you will see a series of " 37 AXRole: AXStaticText AXValue: AXRole: AXStaticText AXValue: PASS 38 AXRole: AXStaticText AXValue: AXRole: AXStaticText AXValue: " messages, followed by " 39 AXRole: AXStaticText AXValue: AXRole: AXStaticText AXValue: TEST COMPLETE 40 AXRole: AXStaticText AXValue: AXRole: AXStaticText AXValue: ". 41 AXRole: AXStaticText AXValue: AXRole: AXGroup AXValue: 42 42 43 -
trunk/LayoutTests/editing/pasteboard/smart-paste-paragraph-003-expected.txt
r267644 r280482 7 7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 8 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 9 EDITING DELEGATE: shouldInsertText:Test paragraph. replacingDOMRange:range from 16 of #text > DIV > #document-fragment to 16 of #text > DIV > #document-fragment givenAction:WebViewInsertActionPasted 10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 11 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 32 of #text > DIV > #document-fragment to 32 of #text > DIV > #document-fragment toDOMRange:range from 1 of #text > DIV > #document-fragment to 1 of #text > DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE 9 EDITING DELEGATE: shouldInsertText:Test paragraph. replacingDOMRange:range from 2 of DIV > #document-fragment to 2 of DIV > #document-fragment givenAction:WebViewInsertActionPasted 12 10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 13 11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification -
trunk/LayoutTests/imported/w3c/ChangeLog
r280479 r280482 1 2021-07-30 Chris Dumez <cdumez@apple.com> 2 3 HTMLElement.innerText setter should convert new lines to <br> 4 https://bugs.webkit.org/show_bug.cgi?id=228605 5 6 Reviewed by Sam Weinig. 7 8 Rebaselined WPT tests that are now passing. Note that those were failing in WebKit but passing in Firefox 9 and Chrome. 10 11 * web-platform-tests/html/dom/elements/the-innertext-and-outertext-properties/innertext-setter-expected.txt: 12 * web-platform-tests/html/dom/elements/the-innertext-idl-attribute/setter-expected.txt: 13 * web-platform-tests/innerText/setter-expected.txt: 14 1 15 2021-07-30 Chris Dumez <cdumez@apple.com> 2 16 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/the-innertext-and-outertext-properties/innertext-setter-expected.txt
r279427 r280482 4 4 PASS Newlines convert to <br> in non-white-space:pre elements 5 5 PASS Newlines convert to <br> in non-white-space:pre elements, detached 6 FAIL Newlines convert to <br> in <pre> element assert_equals: expected "abc<br>def" but got "abc\ndef" 6 PASS Newlines convert to <br> in <pre> element 7 7 PASS Newlines convert to <br> in <pre> element, detached 8 FAIL Newlines convert to <br> in <textarea> element assert_equals: expected "abc<br>def" but got "abc\ndef" 8 PASS Newlines convert to <br> in <textarea> element 9 9 PASS Newlines convert to <br> in <textarea> element, detached 10 FAIL Newlines convert to <br> in white-space:pre element assert_equals: expected "abc<br>def" but got "abc\ndef" 10 PASS Newlines convert to <br> in white-space:pre element 11 11 PASS Newlines convert to <br> in white-space:pre element, detached 12 12 PASS CRs convert to <br> in non-white-space:pre elements 13 13 PASS CRs convert to <br> in non-white-space:pre elements, detached 14 FAIL CRs convert to <br> in <pre> element assert_equals: expected "abc<br>def" but got "abc\ndef" 14 PASS CRs convert to <br> in <pre> element 15 15 PASS CRs convert to <br> in <pre> element, detached 16 16 PASS Newline/CR pair converts to <br> in non-white-space:pre element … … 20 20 PASS CR/CR pair converts to two <br>s in non-white-space:pre element 21 21 PASS CR/CR pair converts to two <br>s in non-white-space:pre element, detached 22 FAIL CRs convert to <br> in white-space:pre element assert_equals: expected "abc<br>def" but got "abc\ndef" 22 PASS CRs convert to <br> in white-space:pre element 23 23 PASS CRs convert to <br> in white-space:pre element, detached 24 24 PASS < preserved -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/the-innertext-idl-attribute/setter-expected.txt
r267646 r280482 4 4 PASS Newlines convert to <br> in non-white-space:pre elements 5 5 PASS Newlines convert to <br> in non-white-space:pre elements, detached 6 FAIL Newlines convert to <br> in <pre> element assert_equals: expected "abc<br>def" but got "abc\ndef" 6 PASS Newlines convert to <br> in <pre> element 7 7 PASS Newlines convert to <br> in <pre> element, detached 8 FAIL Newlines convert to <br> in <textarea> element assert_equals: expected "abc<br>def" but got "abc\ndef" 8 PASS Newlines convert to <br> in <textarea> element 9 9 PASS Newlines convert to <br> in <textarea> element, detached 10 FAIL Newlines convert to <br> in white-space:pre element assert_equals: expected "abc<br>def" but got "abc\ndef" 10 PASS Newlines convert to <br> in white-space:pre element 11 11 PASS Newlines convert to <br> in white-space:pre element, detached 12 12 PASS CRs convert to <br> in non-white-space:pre elements 13 13 PASS CRs convert to <br> in non-white-space:pre elements, detached 14 FAIL CRs convert to <br> in <pre> element assert_equals: expected "abc<br>def" but got "abc\ndef" 14 PASS CRs convert to <br> in <pre> element 15 15 PASS CRs convert to <br> in <pre> element, detached 16 16 PASS Newline/CR pair converts to <br> in non-white-space:pre element … … 20 20 PASS CR/CR pair converts to two <br>s in non-white-space:pre element 21 21 PASS CR/CR pair converts to two <br>s in non-white-space:pre element, detached 22 FAIL CRs convert to <br> in white-space:pre element assert_equals: expected "abc<br>def" but got "abc\ndef" 22 PASS CRs convert to <br> in white-space:pre element 23 23 PASS CRs convert to <br> in white-space:pre element, detached 24 24 PASS < preserved -
trunk/LayoutTests/imported/w3c/web-platform-tests/innerText/setter-expected.txt
r267647 r280482 4 4 PASS Newlines convert to <br> in non-white-space:pre elements 5 5 PASS Newlines convert to <br> in non-white-space:pre elements, detached 6 FAIL Newlines convert to <br> in <pre> element assert_equals: expected "abc<br>def" but got "abc\ndef" 6 PASS Newlines convert to <br> in <pre> element 7 7 PASS Newlines convert to <br> in <pre> element, detached 8 FAIL Newlines convert to <br> in <textarea> element assert_equals: expected "abc<br>def" but got "abc\ndef" 8 PASS Newlines convert to <br> in <textarea> element 9 9 PASS Newlines convert to <br> in <textarea> element, detached 10 FAIL Newlines convert to <br> in white-space:pre element assert_equals: expected "abc<br>def" but got "abc\ndef" 10 PASS Newlines convert to <br> in white-space:pre element 11 11 PASS Newlines convert to <br> in white-space:pre element, detached 12 12 PASS CRs convert to <br> in non-white-space:pre elements 13 13 PASS CRs convert to <br> in non-white-space:pre elements, detached 14 FAIL CRs convert to <br> in <pre> element assert_equals: expected "abc<br>def" but got "abc\ndef" 14 PASS CRs convert to <br> in <pre> element 15 15 PASS CRs convert to <br> in <pre> element, detached 16 16 PASS Newline/CR pair converts to <br> in non-white-space:pre element … … 20 20 PASS CR/CR pair converts to two <br>s in non-white-space:pre element 21 21 PASS CR/CR pair converts to two <br>s in non-white-space:pre element, detached 22 FAIL CRs convert to <br> in white-space:pre element assert_equals: expected "abc<br>def" but got "abc\ndef" 22 PASS CRs convert to <br> in white-space:pre element 23 23 PASS CRs convert to <br> in white-space:pre element, detached 24 24 PASS < preserved -
trunk/LayoutTests/platform/ios-wk2/editing/input/reveal-caret-of-multiline-input-expected.txt
r279795 r280482 13 13 RenderTextControl {TEXTAREA} at (2,2) size 98x146 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)] 14 14 RenderBlock {DIV} at (6,3) size 71x448 15 RenderText {#text} at (0,0) size 1 5x43415 RenderText {#text} at (0,0) size 14x14 16 16 text run at (0,0) width 14: "00" 17 text run at (13,0) width 1: " " 17 RenderBR {BR} at (13,0) size 1x14 18 RenderText {#text} at (0,14) size 13x14 18 19 text run at (0,14) width 13: "01" 19 text run at (12,14) width 1: " " 20 RenderBR {BR} at (12,14) size 1x14 21 RenderText {#text} at (0,28) size 14x14 20 22 text run at (0,28) width 14: "02" 21 text run at (13,28) width 1: " " 23 RenderBR {BR} at (13,28) size 1x14 24 RenderText {#text} at (0,42) size 14x14 22 25 text run at (0,42) width 14: "03" 23 text run at (13,42) width 1: " " 26 RenderBR {BR} at (13,42) size 1x14 27 RenderText {#text} at (0,56) size 15x14 24 28 text run at (0,56) width 15: "04" 25 text run at (14,56) width 1: " " 29 RenderBR {BR} at (14,56) size 1x14 30 RenderText {#text} at (0,70) size 14x14 26 31 text run at (0,70) width 14: "05" 27 text run at (13,70) width 1: " " 32 RenderBR {BR} at (13,70) size 1x14 33 RenderText {#text} at (0,84) size 15x14 28 34 text run at (0,84) width 15: "06" 29 text run at (14,84) width 1: " " 35 RenderBR {BR} at (14,84) size 1x14 36 RenderText {#text} at (0,98) size 14x14 30 37 text run at (0,98) width 14: "07" 31 text run at (13,98) width 1: " " 38 RenderBR {BR} at (13,98) size 1x14 39 RenderText {#text} at (0,112) size 15x14 32 40 text run at (0,112) width 15: "08" 33 text run at (14,112) width 1: " " 41 RenderBR {BR} at (14,112) size 1x14 42 RenderText {#text} at (0,126) size 15x14 34 43 text run at (0,126) width 15: "09" 35 text run at (14,126) width 1: " " 44 RenderBR {BR} at (14,126) size 1x14 45 RenderText {#text} at (0,140) size 13x14 36 46 text run at (0,140) width 13: "10" 37 text run at (12,140) width 1: " " 47 RenderBR {BR} at (12,140) size 1x14 48 RenderText {#text} at (0,154) size 11x14 38 49 text run at (0,154) width 11: "11" 39 text run at (10,154) width 1: " " 50 RenderBR {BR} at (10,154) size 1x14 51 RenderText {#text} at (0,168) size 12x14 40 52 text run at (0,168) width 12: "12" 41 text run at (11,168) width 1: " " 53 RenderBR {BR} at (11,168) size 1x14 54 RenderText {#text} at (0,182) size 13x14 42 55 text run at (0,182) width 13: "13" 43 text run at (12,182) width 1: " " 56 RenderBR {BR} at (12,182) size 1x14 57 RenderText {#text} at (0,196) size 13x14 44 58 text run at (0,196) width 13: "14" 45 text run at (12,196) width 1: " " 59 RenderBR {BR} at (12,196) size 1x14 60 RenderText {#text} at (0,210) size 13x14 46 61 text run at (0,210) width 13: "15" 47 text run at (12,210) width 1: " " 62 RenderBR {BR} at (12,210) size 1x14 63 RenderText {#text} at (0,224) size 13x14 48 64 text run at (0,224) width 13: "16" 49 text run at (12,224) width 1: " " 65 RenderBR {BR} at (12,224) size 1x14 66 RenderText {#text} at (0,238) size 12x14 50 67 text run at (0,238) width 12: "17" 51 text run at (11,238) width 1: " " 68 RenderBR {BR} at (11,238) size 1x14 69 RenderText {#text} at (0,252) size 13x14 52 70 text run at (0,252) width 13: "18" 53 text run at (12,252) width 1: " " 71 RenderBR {BR} at (12,252) size 1x14 72 RenderText {#text} at (0,266) size 13x14 54 73 text run at (0,266) width 13: "19" 55 text run at (12,266) width 1: " " 74 RenderBR {BR} at (12,266) size 1x14 75 RenderText {#text} at (0,280) size 14x14 56 76 text run at (0,280) width 14: "20" 57 text run at (13,280) width 1: " " 77 RenderBR {BR} at (13,280) size 1x14 78 RenderText {#text} at (0,294) size 12x14 58 79 text run at (0,294) width 12: "21" 59 text run at (11,294) width 1: " " 80 RenderBR {BR} at (11,294) size 1x14 81 RenderText {#text} at (0,308) size 14x14 60 82 text run at (0,308) width 14: "22" 61 text run at (13,308) width 1: " " 83 RenderBR {BR} at (13,308) size 1x14 84 RenderText {#text} at (0,322) size 14x14 62 85 text run at (0,322) width 14: "23" 63 text run at (13,322) width 1: " " 86 RenderBR {BR} at (13,322) size 1x14 87 RenderText {#text} at (0,336) size 14x14 64 88 text run at (0,336) width 14: "24" 65 text run at (13,336) width 1: " " 89 RenderBR {BR} at (13,336) size 1x14 90 RenderText {#text} at (0,350) size 14x14 66 91 text run at (0,350) width 14: "25" 67 text run at (13,350) width 1: " " 92 RenderBR {BR} at (13,350) size 1x14 93 RenderText {#text} at (0,364) size 14x14 68 94 text run at (0,364) width 14: "26" 69 text run at (13,364) width 1: " " 95 RenderBR {BR} at (13,364) size 1x14 96 RenderText {#text} at (0,378) size 14x14 70 97 text run at (0,378) width 14: "27" 71 text run at (13,378) width 1: " " 98 RenderBR {BR} at (13,378) size 1x14 99 RenderText {#text} at (0,392) size 14x14 72 100 text run at (0,392) width 14: "28" 73 text run at (13,392) width 1: " " 101 RenderBR {BR} at (13,392) size 1x14 102 RenderText {#text} at (0,406) size 14x14 74 103 text run at (0,406) width 14: "29" 75 text run at (13,406) width 1: " " 104 RenderBR {BR} at (13,406) size 1x14 105 RenderText {#text} at (0,420) size 14x14 76 106 text run at (0,420) width 14: "30" 77 text run at (13,420) width 1: " "107 RenderBR {BR} at (13,420) size 1x14 78 108 RenderBR {BR} at (0,434) size 0x14 79 caret: position 36 of child 0{#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body109 caret: position 0 of child 24 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body -
trunk/LayoutTests/platform/ios-wk2/fast/forms/textarea-scroll-height-expected.txt
r279795 r280482 11 11 RenderTextControl {TEXTAREA} at (0,0) size 200x200 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)] 12 12 RenderBlock {DIV} at (6,3) size 173x336 13 RenderText {#text} at (0,0) size 83x 32213 RenderText {#text} at (0,0) size 83x14 14 14 text run at (0,0) width 83: "Lots of content." 15 text run at (82,0) width 1: " " 15 RenderBR {BR} at (82,0) size 1x14 16 RenderText {#text} at (0,14) size 83x14 16 17 text run at (0,14) width 83: "Lots of content." 17 text run at (82,14) width 1: " " 18 RenderBR {BR} at (82,14) size 1x14 19 RenderText {#text} at (0,28) size 83x14 18 20 text run at (0,28) width 83: "Lots of content." 19 text run at (82,28) width 1: " " 21 RenderBR {BR} at (82,28) size 1x14 22 RenderText {#text} at (0,42) size 83x14 20 23 text run at (0,42) width 83: "Lots of content." 21 text run at (82,42) width 1: " " 22 text run at (0,56) width 0: " " 24 RenderBR {BR} at (82,42) size 1x14 25 RenderBR {BR} at (0,56) size 0x14 26 RenderText {#text} at (0,70) size 83x14 23 27 text run at (0,70) width 83: "Lots of content." 24 text run at (82,70) width 1: " " 28 RenderBR {BR} at (82,70) size 1x14 29 RenderText {#text} at (0,84) size 83x14 25 30 text run at (0,84) width 83: "Lots of content." 26 text run at (82,84) width 1: " " 27 text run at (0,98) width 0: " " 31 RenderBR {BR} at (82,84) size 1x14 32 RenderBR {BR} at (0,98) size 0x14 33 RenderText {#text} at (0,112) size 83x14 28 34 text run at (0,112) width 83: "Lots of content." 29 text run at (82,112) width 1: " " 35 RenderBR {BR} at (82,112) size 1x14 36 RenderText {#text} at (0,126) size 83x14 30 37 text run at (0,126) width 83: "Lots of content." 31 text run at (82,126) width 1: " " 32 text run at (0,140) width 0: " " 38 RenderBR {BR} at (82,126) size 1x14 39 RenderBR {BR} at (0,140) size 0x14 40 RenderText {#text} at (0,154) size 83x14 33 41 text run at (0,154) width 83: "Lots of content." 34 text run at (82,154) width 1: " " 42 RenderBR {BR} at (82,154) size 1x14 43 RenderText {#text} at (0,168) size 83x14 35 44 text run at (0,168) width 83: "Lots of content." 36 text run at (82,168) width 1: " " 37 text run at (0,182) width 0: " " 45 RenderBR {BR} at (82,168) size 1x14 46 RenderBR {BR} at (0,182) size 0x14 47 RenderText {#text} at (0,196) size 83x14 38 48 text run at (0,196) width 83: "Lots of content." 39 text run at (82,196) width 1: " " 49 RenderBR {BR} at (82,196) size 1x14 50 RenderText {#text} at (0,210) size 83x14 40 51 text run at (0,210) width 83: "Lots of content." 41 text run at (82,210) width 1: " " 42 text run at (0,224) width 0: " " 52 RenderBR {BR} at (82,210) size 1x14 53 RenderBR {BR} at (0,224) size 0x14 54 RenderText {#text} at (0,238) size 83x14 43 55 text run at (0,238) width 83: "Lots of content." 44 text run at (82,238) width 1: " " 56 RenderBR {BR} at (82,238) size 1x14 57 RenderText {#text} at (0,252) size 83x14 45 58 text run at (0,252) width 83: "Lots of content." 46 text run at (82,252) width 1: " " 47 text run at (0,266) width 0: " " 59 RenderBR {BR} at (82,252) size 1x14 60 RenderBR {BR} at (0,266) size 0x14 61 RenderText {#text} at (0,280) size 83x14 48 62 text run at (0,280) width 83: "Lots of content." 49 text run at (82,280) width 1: " " 63 RenderBR {BR} at (82,280) size 1x14 64 RenderText {#text} at (0,294) size 83x14 50 65 text run at (0,294) width 83: "Lots of content." 51 text run at (82,294) width 1: " "52 text run at (0,308) width 0: " "66 RenderBR {BR} at (82,294) size 1x14 67 RenderBR {BR} at (0,308) size 0x14 53 68 RenderBR {BR} at (0,322) size 0x14 -
trunk/LayoutTests/platform/ios-wk2/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt
r279795 r280482 17 17 RenderTextControl {TEXTAREA} at (2,2) size 378x62 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)] 18 18 RenderBlock {DIV} at (6,3) size 366x43 19 RenderText {#text} at (339,0) size 365x29 20 text run at (339,0) width 1 RTL: " " 19 RenderText {#text} at (339,0) size 26x14 21 20 text run at (339,0) width 26 RTL: "\x{5E9}\x{5DC}\x{5D5}\x{5DD}!" 21 RenderBR {BR} at (339,0) size 1x14 22 RenderText {#text} at (0,15) size 29x14 22 23 text run at (0,15) width 29: "hello!" 23 text run at (28,15) width 1: " "24 RenderBR {BR} at (28,15) size 1x14 24 25 RenderBR {BR} at (365,29) size 0x14 25 26 layer at (10,121) size 378x62 clip at (11,122) size 376x60 26 27 RenderTextControl {TEXTAREA} at (2,73) size 378x62 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)] 27 28 RenderBlock {DIV} at (6,3) size 366x43 28 RenderText {#text} at (339,0) size 365x29 29 text run at (339,0) width 1 RTL: " " 29 RenderText {#text} at (339,0) size 26x14 30 30 text run at (339,0) width 26 RTL: "\x{5E9}\x{5DC}\x{5D5}\x{5DD}!" 31 RenderBR {BR} at (339,0) size 1x14 32 RenderText {#text} at (0,15) size 29x14 31 33 text run at (0,15) width 29: "hello!" 32 text run at (28,15) width 1: " "34 RenderBR {BR} at (28,15) size 1x14 33 35 RenderBR {BR} at (0,29) size 0x14 34 36 layer at (10,192) size 378x62 clip at (11,193) size 376x60 35 37 RenderTextControl {TEXTAREA} at (2,144) size 378x62 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)] 36 38 RenderBlock {DIV} at (6,3) size 366x43 37 RenderText {#text} at (339,0) size 365x29 38 text run at (339,0) width 1 RTL: " " 39 RenderText {#text} at (339,0) size 26x14 39 40 text run at (339,0) width 26 RTL: "\x{5E9}\x{5DC}\x{5D5}\x{5DD}!" 41 RenderBR {BR} at (339,0) size 1x14 42 RenderText {#text} at (0,15) size 29x14 40 43 text run at (0,15) width 29: "hello!" 41 text run at (28,15) width 1: " "44 RenderBR {BR} at (28,15) size 1x14 42 45 RenderBR {BR} at (0,29) size 0x14 43 46 layer at (10,263) size 378x62 clip at (11,264) size 376x60 44 47 RenderTextControl {TEXTAREA} at (2,215) size 378x62 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)] 45 48 RenderBlock {DIV} at (6,3) size 366x43 46 RenderText {#text} at (339,0) size 365x29 47 text run at (339,0) width 1 RTL: " " 49 RenderText {#text} at (339,0) size 26x14 48 50 text run at (339,0) width 26 RTL: "\x{5E9}\x{5DC}\x{5D5}\x{5DD}!" 51 RenderBR {BR} at (339,0) size 1x14 52 RenderText {#text} at (0,15) size 29x14 49 53 text run at (0,15) width 29: "hello!" 50 text run at (28,15) width 1: " "54 RenderBR {BR} at (28,15) size 1x14 51 55 RenderBR {BR} at (365,29) size 0x14 -
trunk/LayoutTests/platform/ios/fast/forms/textarea-scrollbar-expected.txt
r279795 r280482 11 11 RenderTextControl {TEXTAREA} at (2,22) size 168x90 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)] 12 12 RenderBlock {DIV} at (6,3) size 141x126 13 RenderText {#text} at (0,0) size 8x5613 RenderText {#text} at (0,0) size 6x14 14 14 text run at (0,0) width 6: "1" 15 text run at (5,0) width 1: " " 15 RenderBR {BR} at (5,0) size 1x14 16 RenderText {#text} at (0,14) size 7x14 16 17 text run at (0,14) width 7: "2" 17 text run at (6,14) width 1: " " 18 RenderBR {BR} at (6,14) size 1x14 19 RenderText {#text} at (0,28) size 7x14 18 20 text run at (0,28) width 7: "3" 19 text run at (6,28) width 1: " " 21 RenderBR {BR} at (6,28) size 1x14 22 RenderText {#text} at (0,42) size 8x14 20 23 text run at (0,42) width 8: "4" 21 text run at (7,42) width 1: " "24 RenderBR {BR} at (7,42) size 1x14 22 25 RenderText {#text} at (0,56) size 7x14 23 26 text run at (0,56) width 7: "5" … … 38 41 RenderText {#text} at (0,112) size 0x14 39 42 text run at (0,112) width 0: " " 40 caret: position 0 of child 9{#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body43 caret: position 0 of child 16 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body -
trunk/LayoutTests/platform/ios/fast/forms/textarea-scrolled-type-expected.txt
r279795 r280482 15 15 RenderTextControl {TEXTAREA} at (2,22) size 168x104 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)] 16 16 RenderBlock {DIV} at (6,3) size 141x294 17 RenderText {#text} at (0,0) size 40x28017 RenderText {#text} at (0,0) size 6x14 18 18 text run at (0,0) width 6: "1" 19 text run at (5,0) width 1: " " 19 RenderBR {BR} at (5,0) size 1x14 20 RenderText {#text} at (0,14) size 7x14 20 21 text run at (0,14) width 7: "2" 21 text run at (6,14) width 1: " " 22 RenderBR {BR} at (6,14) size 1x14 23 RenderText {#text} at (0,28) size 7x14 22 24 text run at (0,28) width 7: "3" 23 text run at (6,28) width 1: " " 25 RenderBR {BR} at (6,28) size 1x14 26 RenderText {#text} at (0,42) size 8x14 24 27 text run at (0,42) width 8: "4" 25 text run at (7,42) width 1: " " 28 RenderBR {BR} at (7,42) size 1x14 29 RenderText {#text} at (0,56) size 7x14 26 30 text run at (0,56) width 7: "5" 27 text run at (6,56) width 1: " " 31 RenderBR {BR} at (6,56) size 1x14 32 RenderText {#text} at (0,70) size 8x14 28 33 text run at (0,70) width 8: "6" 29 text run at (7,70) width 1: " " 34 RenderBR {BR} at (7,70) size 1x14 35 RenderText {#text} at (0,84) size 7x14 30 36 text run at (0,84) width 7: "7" 31 text run at (6,84) width 1: " " 37 RenderBR {BR} at (6,84) size 1x14 38 RenderText {#text} at (0,98) size 8x14 32 39 text run at (0,98) width 8: "8" 33 text run at (7,98) width 1: " " 40 RenderBR {BR} at (7,98) size 1x14 41 RenderText {#text} at (0,112) size 8x14 34 42 text run at (0,112) width 8: "9" 35 text run at (7,112) width 1: " " 43 RenderBR {BR} at (7,112) size 1x14 44 RenderText {#text} at (0,126) size 13x14 36 45 text run at (0,126) width 13: "10" 37 text run at (12,126) width 1: " " 46 RenderBR {BR} at (12,126) size 1x14 47 RenderText {#text} at (0,140) size 11x14 38 48 text run at (0,140) width 11: "11" 39 text run at (10,140) width 1: " " 49 RenderBR {BR} at (10,140) size 1x14 50 RenderText {#text} at (0,154) size 12x14 40 51 text run at (0,154) width 12: "12" 41 text run at (11,154) width 1: " " 52 RenderBR {BR} at (11,154) size 1x14 53 RenderText {#text} at (0,168) size 13x14 42 54 text run at (0,168) width 13: "13" 43 text run at (12,168) width 1: " " 55 RenderBR {BR} at (12,168) size 1x14 56 RenderText {#text} at (0,182) size 13x14 44 57 text run at (0,182) width 13: "14" 45 text run at (12,182) width 1: " " 58 RenderBR {BR} at (12,182) size 1x14 59 RenderText {#text} at (0,196) size 13x14 46 60 text run at (0,196) width 13: "15" 47 text run at (12,196) width 1: " " 61 RenderBR {BR} at (12,196) size 1x14 62 RenderText {#text} at (0,210) size 13x14 48 63 text run at (0,210) width 13: "16" 49 text run at (12,210) width 1: " " 64 RenderBR {BR} at (12,210) size 1x14 65 RenderText {#text} at (0,224) size 12x14 50 66 text run at (0,224) width 12: "17" 51 text run at (11,224) width 1: " " 67 RenderBR {BR} at (11,224) size 1x14 68 RenderText {#text} at (0,238) size 40x14 52 69 text run at (0,238) width 40: "18 Pass" 53 text run at (39,238) width 1: " " 70 RenderBR {BR} at (39,238) size 1x14 71 RenderText {#text} at (0,252) size 13x14 54 72 text run at (0,252) width 13: "19" 55 text run at (12,252) width 1: " " 73 RenderBR {BR} at (12,252) size 1x14 74 RenderText {#text} at (0,266) size 14x14 56 75 text run at (0,266) width 14: "20" 57 text run at (13,266) width 1: " "76 RenderBR {BR} at (13,266) size 1x14 58 77 RenderBR {BR} at (0,280) size 0x14 59 caret: position 49 of child 0{#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body78 caret: position 7 of child 34 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body -
trunk/LayoutTests/platform/ios/fast/forms/textarea-width-expected.txt
r279795 r280482 17 17 text run at (0,0) width 454: "1234567890abcdefghijABCDEFGHIJ1234567890abcdefghijABCDEFGHIJ12345X7890abcde" 18 18 text run at (0,14) width 267: "fghijABCDEFGXIJ1234567890abcdefghijABCDEFGHIJ" 19 text run at (266,14) width 1: " "19 RenderBR {BR} at (266,14) size 1x14 20 20 RenderBR {BR} at (0,28) size 0x14 -
trunk/LayoutTests/platform/mac-catalina/editing/input/reveal-caret-of-multiline-input-expected.txt
r269234 r280482 13 13 RenderTextControl {TEXTAREA} at (2,2) size 91x136 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 14 14 RenderBlock {DIV} at (3,3) size 70x416 15 RenderText {#text} at (0,0) size 20x40315 RenderText {#text} at (0,0) size 14x13 16 16 text run at (0,0) width 14: "00" 17 text run at (13,0) width 1: " " 17 RenderBR {BR} at (13,0) size 1x13 18 RenderText {#text} at (0,13) size 13x13 18 19 text run at (0,13) width 13: "01" 19 text run at (12,13) width 1: " " 20 RenderBR {BR} at (12,13) size 1x13 21 RenderText {#text} at (0,26) size 14x13 20 22 text run at (0,26) width 14: "02" 21 text run at (13,26) width 1: " " 23 RenderBR {BR} at (13,26) size 1x13 24 RenderText {#text} at (0,39) size 14x13 22 25 text run at (0,39) width 14: "03" 23 text run at (13,39) width 1: " " 26 RenderBR {BR} at (13,39) size 1x13 27 RenderText {#text} at (0,52) size 15x13 24 28 text run at (0,52) width 15: "04" 25 text run at (14,52) width 1: " " 29 RenderBR {BR} at (14,52) size 1x13 30 RenderText {#text} at (0,65) size 14x13 26 31 text run at (0,65) width 14: "05" 27 text run at (13,65) width 1: " " 32 RenderBR {BR} at (13,65) size 1x13 33 RenderText {#text} at (0,78) size 15x13 28 34 text run at (0,78) width 15: "06" 29 text run at (14,78) width 1: " " 35 RenderBR {BR} at (14,78) size 1x13 36 RenderText {#text} at (0,91) size 14x13 30 37 text run at (0,91) width 14: "07" 31 text run at (13,91) width 1: " " 38 RenderBR {BR} at (13,91) size 1x13 39 RenderText {#text} at (0,104) size 15x13 32 40 text run at (0,104) width 15: "08" 33 text run at (14,104) width 1: " " 41 RenderBR {BR} at (14,104) size 1x13 42 RenderText {#text} at (0,117) size 15x13 34 43 text run at (0,117) width 15: "09" 35 text run at (14,117) width 1: " " 44 RenderBR {BR} at (14,117) size 1x13 45 RenderText {#text} at (0,130) size 13x13 36 46 text run at (0,130) width 13: "10" 37 text run at (12,130) width 1: " " 47 RenderBR {BR} at (12,130) size 1x13 48 RenderText {#text} at (0,143) size 11x13 38 49 text run at (0,143) width 11: "11" 39 text run at (10,143) width 1: " " 50 RenderBR {BR} at (10,143) size 1x13 51 RenderText {#text} at (0,156) size 20x13 40 52 text run at (0,156) width 20: ">12" 41 text run at (19,156) width 1: " " 53 RenderBR {BR} at (19,156) size 1x13 54 RenderText {#text} at (0,169) size 13x13 42 55 text run at (0,169) width 13: "13" 43 text run at (12,169) width 1: " " 56 RenderBR {BR} at (12,169) size 1x13 57 RenderText {#text} at (0,182) size 13x13 44 58 text run at (0,182) width 13: "14" 45 text run at (12,182) width 1: " " 59 RenderBR {BR} at (12,182) size 1x13 60 RenderText {#text} at (0,195) size 13x13 46 61 text run at (0,195) width 13: "15" 47 text run at (12,195) width 1: " " 62 RenderBR {BR} at (12,195) size 1x13 63 RenderText {#text} at (0,208) size 13x13 48 64 text run at (0,208) width 13: "16" 49 text run at (12,208) width 1: " " 65 RenderBR {BR} at (12,208) size 1x13 66 RenderText {#text} at (0,221) size 12x13 50 67 text run at (0,221) width 12: "17" 51 text run at (11,221) width 1: " " 68 RenderBR {BR} at (11,221) size 1x13 69 RenderText {#text} at (0,234) size 13x13 52 70 text run at (0,234) width 13: "18" 53 text run at (12,234) width 1: " " 71 RenderBR {BR} at (12,234) size 1x13 72 RenderText {#text} at (0,247) size 13x13 54 73 text run at (0,247) width 13: "19" 55 text run at (12,247) width 1: " " 74 RenderBR {BR} at (12,247) size 1x13 75 RenderText {#text} at (0,260) size 14x13 56 76 text run at (0,260) width 14: "20" 57 text run at (13,260) width 1: " " 77 RenderBR {BR} at (13,260) size 1x13 78 RenderText {#text} at (0,273) size 12x13 58 79 text run at (0,273) width 12: "21" 59 text run at (11,273) width 1: " " 80 RenderBR {BR} at (11,273) size 1x13 81 RenderText {#text} at (0,286) size 14x13 60 82 text run at (0,286) width 14: "22" 61 text run at (13,286) width 1: " " 83 RenderBR {BR} at (13,286) size 1x13 84 RenderText {#text} at (0,299) size 14x13 62 85 text run at (0,299) width 14: "23" 63 text run at (13,299) width 1: " " 86 RenderBR {BR} at (13,299) size 1x13 87 RenderText {#text} at (0,312) size 14x13 64 88 text run at (0,312) width 14: "24" 65 text run at (13,312) width 1: " " 89 RenderBR {BR} at (13,312) size 1x13 90 RenderText {#text} at (0,325) size 14x13 66 91 text run at (0,325) width 14: "25" 67 text run at (13,325) width 1: " " 92 RenderBR {BR} at (13,325) size 1x13 93 RenderText {#text} at (0,338) size 14x13 68 94 text run at (0,338) width 14: "26" 69 text run at (13,338) width 1: " " 95 RenderBR {BR} at (13,338) size 1x13 96 RenderText {#text} at (0,351) size 14x13 70 97 text run at (0,351) width 14: "27" 71 text run at (13,351) width 1: " " 98 RenderBR {BR} at (13,351) size 1x13 99 RenderText {#text} at (0,364) size 14x13 72 100 text run at (0,364) width 14: "28" 73 text run at (13,364) width 1: " " 101 RenderBR {BR} at (13,364) size 1x13 102 RenderText {#text} at (0,377) size 14x13 74 103 text run at (0,377) width 14: "29" 75 text run at (13,377) width 1: " " 104 RenderBR {BR} at (13,377) size 1x13 105 RenderText {#text} at (0,390) size 14x13 76 106 text run at (0,390) width 14: "30" 77 text run at (13,390) width 1: " "107 RenderBR {BR} at (13,390) size 1x13 78 108 RenderBR {BR} at (0,403) size 0x13 79 caret: position 37 of child 0{#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body109 caret: position 1 of child 24 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body -
trunk/LayoutTests/platform/mac-catalina/fast/forms/basic-textareas-quirks-expected.txt
r270409 r280482 670 670 RenderTextControl {TEXTAREA} at (16,3) size 162x47 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 671 671 RenderBlock {DIV} at (3,3) size 140x208 672 RenderText {#text} at (0,0) size 184x195672 RenderText {#text} at (0,0) size 4x13 673 673 text run at (0,0) width 4: " " 674 text run at (3,0) width 1: " " 674 RenderBR {BR} at (3,0) size 1x13 675 RenderText {#text} at (0,13) size 184x13 675 676 text run at (0,13) width 184: "This is a text area with wrap=\"soft\"" 676 text run at (183,13) width 1: " " 677 RenderBR {BR} at (0,0) size 0x0 678 RenderText {#text} at (0,26) size 184x13 677 679 text run at (0,26) width 184: "This is a text area with wrap=\"soft\"" 678 text run at (183,26) width 1: " " 680 RenderBR {BR} at (0,0) size 0x0 681 RenderText {#text} at (0,39) size 184x13 679 682 text run at (0,39) width 184: "This is a text area with wrap=\"soft\"" 680 text run at (183,39) width 1: " " 683 RenderBR {BR} at (0,0) size 0x0 684 RenderText {#text} at (0,52) size 184x13 681 685 text run at (0,52) width 184: "This is a text area with wrap=\"soft\"" 682 text run at (183,52) width 1: " " 686 RenderBR {BR} at (0,0) size 0x0 687 RenderText {#text} at (0,65) size 184x13 683 688 text run at (0,65) width 184: "This is a text area with wrap=\"soft\"" 684 text run at (183,65) width 1: " " 689 RenderBR {BR} at (0,0) size 0x0 690 RenderText {#text} at (0,78) size 184x13 685 691 text run at (0,78) width 184: "This is a text area with wrap=\"soft\"" 686 text run at (183,78) width 1: " " 692 RenderBR {BR} at (0,0) size 0x0 693 RenderText {#text} at (0,91) size 184x13 687 694 text run at (0,91) width 184: "This is a text area with wrap=\"soft\"" 688 text run at (183,91) width 1: " " 695 RenderBR {BR} at (0,0) size 0x0 696 RenderText {#text} at (0,104) size 184x13 689 697 text run at (0,104) width 184: "This is a text area with wrap=\"soft\"" 690 text run at (183,104) width 1: " " 698 RenderBR {BR} at (0,0) size 0x0 699 RenderText {#text} at (0,117) size 184x13 691 700 text run at (0,117) width 184: "This is a text area with wrap=\"soft\"" 692 text run at (183,117) width 1: " " 701 RenderBR {BR} at (0,0) size 0x0 702 RenderText {#text} at (0,130) size 184x13 693 703 text run at (0,130) width 184: "This is a text area with wrap=\"soft\"" 694 text run at (183,130) width 1: " " 704 RenderBR {BR} at (0,0) size 0x0 705 RenderText {#text} at (0,143) size 184x13 695 706 text run at (0,143) width 184: "This is a text area with wrap=\"soft\"" 696 text run at (183,143) width 1: " " 707 RenderBR {BR} at (0,0) size 0x0 708 RenderText {#text} at (0,156) size 184x13 697 709 text run at (0,156) width 184: "This is a text area with wrap=\"soft\"" 698 text run at (183,156) width 1: " " 710 RenderBR {BR} at (0,0) size 0x0 711 RenderText {#text} at (0,169) size 184x13 699 712 text run at (0,169) width 184: "This is a text area with wrap=\"soft\"" 700 text run at (183,169) width 1: " " 713 RenderBR {BR} at (0,0) size 0x0 714 RenderText {#text} at (0,182) size 184x13 701 715 text run at (0,182) width 184: "This is a text area with wrap=\"soft\"" 702 text run at (183,182) width 1: " "716 RenderBR {BR} at (0,0) size 0x0 703 717 RenderBR {BR} at (0,195) size 0x13 704 718 layer at (378,971) size 161x32 clip at (379,972) size 144x30 scrollHeight 394 705 719 RenderTextControl {TEXTAREA} at (16,3) size 162x32 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 706 720 RenderBlock {DIV} at (3,3) size 140x390 707 RenderText {#text} at (0,0) size 121x377721 RenderText {#text} at (0,0) size 4x13 708 722 text run at (0,0) width 4: " " 709 text run at (3,0) width 1: " " 723 RenderBR {BR} at (3,0) size 1x13 724 RenderText {#text} at (0,13) size 121x26 710 725 text run at (0,13) width 118: "This is a text area with" 711 726 text run at (117,13) width 4: " " 712 727 text run at (0,26) width 64: "wrap=\"soft\"" 713 text run at (63,26) width 1: " " 728 RenderBR {BR} at (63,26) size 1x13 729 RenderText {#text} at (0,39) size 121x26 714 730 text run at (0,39) width 118: "This is a text area with" 715 731 text run at (117,39) width 4: " " 716 732 text run at (0,52) width 64: "wrap=\"soft\"" 717 text run at (63,52) width 1: " " 733 RenderBR {BR} at (63,52) size 1x13 734 RenderText {#text} at (0,65) size 121x26 718 735 text run at (0,65) width 118: "This is a text area with" 719 736 text run at (117,65) width 4: " " 720 737 text run at (0,78) width 64: "wrap=\"soft\"" 721 text run at (63,78) width 1: " " 738 RenderBR {BR} at (63,78) size 1x13 739 RenderText {#text} at (0,91) size 121x26 722 740 text run at (0,91) width 118: "This is a text area with" 723 741 text run at (117,91) width 4: " " 724 742 text run at (0,104) width 64: "wrap=\"soft\"" 725 text run at (63,104) width 1: " " 743 RenderBR {BR} at (63,104) size 1x13 744 RenderText {#text} at (0,117) size 121x26 726 745 text run at (0,117) width 118: "This is a text area with" 727 746 text run at (117,117) width 4: " " 728 747 text run at (0,130) width 64: "wrap=\"soft\"" 729 text run at (63,130) width 1: " " 748 RenderBR {BR} at (63,130) size 1x13 749 RenderText {#text} at (0,143) size 121x26 730 750 text run at (0,143) width 118: "This is a text area with" 731 751 text run at (117,143) width 4: " " 732 752 text run at (0,156) width 64: "wrap=\"soft\"" 733 text run at (63,156) width 1: " " 753 RenderBR {BR} at (63,156) size 1x13 754 RenderText {#text} at (0,169) size 121x26 734 755 text run at (0,169) width 118: "This is a text area with" 735 756 text run at (117,169) width 4: " " 736 757 text run at (0,182) width 64: "wrap=\"soft\"" 737 text run at (63,182) width 1: " " 758 RenderBR {BR} at (63,182) size 1x13 759 RenderText {#text} at (0,195) size 121x26 738 760 text run at (0,195) width 118: "This is a text area with" 739 761 text run at (117,195) width 4: " " 740 762 text run at (0,208) width 64: "wrap=\"soft\"" 741 text run at (63,208) width 1: " " 763 RenderBR {BR} at (63,208) size 1x13 764 RenderText {#text} at (0,221) size 121x26 742 765 text run at (0,221) width 118: "This is a text area with" 743 766 text run at (117,221) width 4: " " 744 767 text run at (0,234) width 64: "wrap=\"soft\"" 745 text run at (63,234) width 1: " " 768 RenderBR {BR} at (63,234) size 1x13 769 RenderText {#text} at (0,247) size 121x26 746 770 text run at (0,247) width 118: "This is a text area with" 747 771 text run at (117,247) width 4: " " 748 772 text run at (0,260) width 64: "wrap=\"soft\"" 749 text run at (63,260) width 1: " " 773 RenderBR {BR} at (63,260) size 1x13 774 RenderText {#text} at (0,273) size 121x26 750 775 text run at (0,273) width 118: "This is a text area with" 751 776 text run at (117,273) width 4: " " 752 777 text run at (0,286) width 64: "wrap=\"soft\"" 753 text run at (63,286) width 1: " " 778 RenderBR {BR} at (63,286) size 1x13 779 RenderText {#text} at (0,299) size 121x26 754 780 text run at (0,299) width 118: "This is a text area with" 755 781 text run at (117,299) width 4: " " 756 782 text run at (0,312) width 64: "wrap=\"soft\"" 757 text run at (63,312) width 1: " " 783 RenderBR {BR} at (63,312) size 1x13 784 RenderText {#text} at (0,325) size 121x26 758 785 text run at (0,325) width 118: "This is a text area with" 759 786 text run at (117,325) width 4: " " 760 787 text run at (0,338) width 64: "wrap=\"soft\"" 761 text run at (63,338) width 1: " " 788 RenderBR {BR} at (63,338) size 1x13 789 RenderText {#text} at (0,351) size 121x26 762 790 text run at (0,351) width 118: "This is a text area with" 763 791 text run at (117,351) width 4: " " 764 792 text run at (0,364) width 64: "wrap=\"soft\"" 765 text run at (63,364) width 1: " "793 RenderBR {BR} at (63,364) size 1x13 766 794 RenderBR {BR} at (0,377) size 0x13 767 795 layer at (378,1026) size 161x32 clip at (379,1027) size 144x30 scrollHeight 394 768 796 RenderTextControl {TEXTAREA} at (16,3) size 162x32 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 769 797 RenderBlock {DIV} at (3,3) size 140x390 770 RenderText {#text} at (0,0) size 121x377798 RenderText {#text} at (0,0) size 4x13 771 799 text run at (0,0) width 4: " " 772 text run at (3,0) width 1: " " 800 RenderBR {BR} at (3,0) size 1x13 801 RenderText {#text} at (0,13) size 121x26 773 802 text run at (0,13) width 118: "This is a text area with" 774 803 text run at (117,13) width 4: " " 775 804 text run at (0,26) width 64: "wrap=\"soft\"" 776 text run at (63,26) width 1: " " 805 RenderBR {BR} at (63,26) size 1x13 806 RenderText {#text} at (0,39) size 121x26 777 807 text run at (0,39) width 118: "This is a text area with" 778 808 text run at (117,39) width 4: " " 779 809 text run at (0,52) width 64: "wrap=\"soft\"" 780 text run at (63,52) width 1: " " 810 RenderBR {BR} at (63,52) size 1x13 811 RenderText {#text} at (0,65) size 121x26 781 812 text run at (0,65) width 118: "This is a text area with" 782 813 text run at (117,65) width 4: " " 783 814 text run at (0,78) width 64: "wrap=\"soft\"" 784 text run at (63,78) width 1: " " 815 RenderBR {BR} at (63,78) size 1x13 816 RenderText {#text} at (0,91) size 121x26 785 817 text run at (0,91) width 118: "This is a text area with" 786 818 text run at (117,91) width 4: " " 787 819 text run at (0,104) width 64: "wrap=\"soft\"" 788 text run at (63,104) width 1: " " 820 RenderBR {BR} at (63,104) size 1x13 821 RenderText {#text} at (0,117) size 121x26 789 822 text run at (0,117) width 118: "This is a text area with" 790 823 text run at (117,117) width 4: " " 791 824 text run at (0,130) width 64: "wrap=\"soft\"" 792 text run at (63,130) width 1: " " 825 RenderBR {BR} at (63,130) size 1x13 826 RenderText {#text} at (0,143) size 121x26 793 827 text run at (0,143) width 118: "This is a text area with" 794 828 text run at (117,143) width 4: " " 795 829 text run at (0,156) width 64: "wrap=\"soft\"" 796 text run at (63,156) width 1: " " 830 RenderBR {BR} at (63,156) size 1x13 831 RenderText {#text} at (0,169) size 121x26 797 832 text run at (0,169) width 118: "This is a text area with" 798 833 text run at (117,169) width 4: " " 799 834 text run at (0,182) width 64: "wrap=\"soft\"" 800 text run at (63,182) width 1: " " 835 RenderBR {BR} at (63,182) size 1x13 836 RenderText {#text} at (0,195) size 121x26 801 837 text run at (0,195) width 118: "This is a text area with" 802 838 text run at (117,195) width 4: " " 803 839 text run at (0,208) width 64: "wrap=\"soft\"" 804 text run at (63,208) width 1: " " 840 RenderBR {BR} at (63,208) size 1x13 841 RenderText {#text} at (0,221) size 121x26 805 842 text run at (0,221) width 118: "This is a text area with" 806 843 text run at (117,221) width 4: " " 807 844 text run at (0,234) width 64: "wrap=\"soft\"" 808 text run at (63,234) width 1: " " 845 RenderBR {BR} at (63,234) size 1x13 846 RenderText {#text} at (0,247) size 121x26 809 847 text run at (0,247) width 118: "This is a text area with" 810 848 text run at (117,247) width 4: " " 811 849 text run at (0,260) width 64: "wrap=\"soft\"" 812 text run at (63,260) width 1: " " 850 RenderBR {BR} at (63,260) size 1x13 851 RenderText {#text} at (0,273) size 121x26 813 852 text run at (0,273) width 118: "This is a text area with" 814 853 text run at (117,273) width 4: " " 815 854 text run at (0,286) width 64: "wrap=\"soft\"" 816 text run at (63,286) width 1: " " 855 RenderBR {BR} at (63,286) size 1x13 856 RenderText {#text} at (0,299) size 121x26 817 857 text run at (0,299) width 118: "This is a text area with" 818 858 text run at (117,299) width 4: " " 819 859 text run at (0,312) width 64: "wrap=\"soft\"" 820 text run at (63,312) width 1: " " 860 RenderBR {BR} at (63,312) size 1x13 861 RenderText {#text} at (0,325) size 121x26 821 862 text run at (0,325) width 118: "This is a text area with" 822 863 text run at (117,325) width 4: " " 823 864 text run at (0,338) width 64: "wrap=\"soft\"" 824 text run at (63,338) width 1: " " 865 RenderBR {BR} at (63,338) size 1x13 866 RenderText {#text} at (0,351) size 121x26 825 867 text run at (0,351) width 118: "This is a text area with" 826 868 text run at (117,351) width 4: " " 827 869 text run at (0,364) width 64: "wrap=\"soft\"" 828 text run at (63,364) width 1: " "870 RenderBR {BR} at (63,364) size 1x13 829 871 RenderBR {BR} at (0,377) size 0x13 -
trunk/LayoutTests/platform/mac-catalina/fast/parser/open-comment-in-textarea-expected.txt
r270409 r280482 9 9 RenderTextControl {TEXTAREA} at (2,2) size 161x32 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 10 10 RenderBlock {DIV} at (3,3) size 140x52 11 RenderText {#text} at (0,0) size 139x3911 RenderText {#text} at (0,0) size 22x13 12 12 text run at (0,0) width 22: "<!--" 13 text run at (21,0) width 1: " " 13 RenderBR {BR} at (21,0) size 1x13 14 RenderText {#text} at (0,13) size 139x26 14 15 text run at (0,13) width 139: "This should be part of the " 15 16 text run at (0,26) width 47: "textarea." 16 text run at (46,26) width 1: " "17 RenderBR {BR} at (46,26) size 1x13 17 18 RenderBR {BR} at (0,39) size 0x13 -
trunk/LayoutTests/platform/mac-catalina/http/tests/navigation/javascriptlink-frames-expected.txt
r270709 r280482 109 109 RenderText {#text} at (0,0) size 178x13 110 110 text run at (0,0) width 178: "More initial text before user input." 111 text run at (177,0) width 1: " "111 RenderBR {BR} at (177,0) size 1x13 112 112 RenderBR {BR} at (0,13) size 0x13 113 113 RenderFrame {FRAME} at (0,540) size 800x60 -
trunk/LayoutTests/platform/mac/editing/input/reveal-caret-of-multiline-input-expected.txt
r269218 r280482 13 13 RenderTextControl {TEXTAREA} at (2,2) size 91x136 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 14 14 RenderBlock {DIV} at (3,3) size 70x416 15 RenderText {#text} at (0,0) size 1 9x40315 RenderText {#text} at (0,0) size 14x13 16 16 text run at (0,0) width 14: "00" 17 text run at (13,0) width 1: " " 17 RenderBR {BR} at (13,0) size 1x13 18 RenderText {#text} at (0,13) size 13x13 18 19 text run at (0,13) width 13: "01" 19 text run at (12,13) width 1: " " 20 RenderBR {BR} at (12,13) size 1x13 21 RenderText {#text} at (0,26) size 14x13 20 22 text run at (0,26) width 14: "02" 21 text run at (13,26) width 1: " " 23 RenderBR {BR} at (13,26) size 1x13 24 RenderText {#text} at (0,39) size 14x13 22 25 text run at (0,39) width 14: "03" 23 text run at (13,39) width 1: " " 26 RenderBR {BR} at (13,39) size 1x13 27 RenderText {#text} at (0,52) size 15x13 24 28 text run at (0,52) width 15: "04" 25 text run at (14,52) width 1: " " 29 RenderBR {BR} at (14,52) size 1x13 30 RenderText {#text} at (0,65) size 14x13 26 31 text run at (0,65) width 14: "05" 27 text run at (13,65) width 1: " " 32 RenderBR {BR} at (13,65) size 1x13 33 RenderText {#text} at (0,78) size 15x13 28 34 text run at (0,78) width 15: "06" 29 text run at (14,78) width 1: " " 35 RenderBR {BR} at (14,78) size 1x13 36 RenderText {#text} at (0,91) size 14x13 30 37 text run at (0,91) width 14: "07" 31 text run at (13,91) width 1: " " 38 RenderBR {BR} at (13,91) size 1x13 39 RenderText {#text} at (0,104) size 15x13 32 40 text run at (0,104) width 15: "08" 33 text run at (14,104) width 1: " " 41 RenderBR {BR} at (14,104) size 1x13 42 RenderText {#text} at (0,117) size 15x13 34 43 text run at (0,117) width 15: "09" 35 text run at (14,117) width 1: " " 44 RenderBR {BR} at (14,117) size 1x13 45 RenderText {#text} at (0,130) size 13x13 36 46 text run at (0,130) width 13: "10" 37 text run at (12,130) width 1: " " 47 RenderBR {BR} at (12,130) size 1x13 48 RenderText {#text} at (0,143) size 11x13 38 49 text run at (0,143) width 11: "11" 39 text run at (10,143) width 1: " " 50 RenderBR {BR} at (10,143) size 1x13 51 RenderText {#text} at (0,156) size 19x13 40 52 text run at (0,156) width 19: ">12" 41 text run at (18,156) width 1: " " 53 RenderBR {BR} at (18,156) size 1x13 54 RenderText {#text} at (0,169) size 13x13 42 55 text run at (0,169) width 13: "13" 43 text run at (12,169) width 1: " " 56 RenderBR {BR} at (12,169) size 1x13 57 RenderText {#text} at (0,182) size 13x13 44 58 text run at (0,182) width 13: "14" 45 text run at (12,182) width 1: " " 59 RenderBR {BR} at (12,182) size 1x13 60 RenderText {#text} at (0,195) size 13x13 46 61 text run at (0,195) width 13: "15" 47 text run at (12,195) width 1: " " 62 RenderBR {BR} at (12,195) size 1x13 63 RenderText {#text} at (0,208) size 13x13 48 64 text run at (0,208) width 13: "16" 49 text run at (12,208) width 1: " " 65 RenderBR {BR} at (12,208) size 1x13 66 RenderText {#text} at (0,221) size 12x13 50 67 text run at (0,221) width 12: "17" 51 text run at (11,221) width 1: " " 68 RenderBR {BR} at (11,221) size 1x13 69 RenderText {#text} at (0,234) size 13x13 52 70 text run at (0,234) width 13: "18" 53 text run at (12,234) width 1: " " 71 RenderBR {BR} at (12,234) size 1x13 72 RenderText {#text} at (0,247) size 13x13 54 73 text run at (0,247) width 13: "19" 55 text run at (12,247) width 1: " " 74 RenderBR {BR} at (12,247) size 1x13 75 RenderText {#text} at (0,260) size 14x13 56 76 text run at (0,260) width 14: "20" 57 text run at (13,260) width 1: " " 77 RenderBR {BR} at (13,260) size 1x13 78 RenderText {#text} at (0,273) size 12x13 58 79 text run at (0,273) width 12: "21" 59 text run at (11,273) width 1: " " 80 RenderBR {BR} at (11,273) size 1x13 81 RenderText {#text} at (0,286) size 14x13 60 82 text run at (0,286) width 14: "22" 61 text run at (13,286) width 1: " " 83 RenderBR {BR} at (13,286) size 1x13 84 RenderText {#text} at (0,299) size 14x13 62 85 text run at (0,299) width 14: "23" 63 text run at (13,299) width 1: " " 86 RenderBR {BR} at (13,299) size 1x13 87 RenderText {#text} at (0,312) size 14x13 64 88 text run at (0,312) width 14: "24" 65 text run at (13,312) width 1: " " 89 RenderBR {BR} at (13,312) size 1x13 90 RenderText {#text} at (0,325) size 14x13 66 91 text run at (0,325) width 14: "25" 67 text run at (13,325) width 1: " " 92 RenderBR {BR} at (13,325) size 1x13 93 RenderText {#text} at (0,338) size 14x13 68 94 text run at (0,338) width 14: "26" 69 text run at (13,338) width 1: " " 95 RenderBR {BR} at (13,338) size 1x13 96 RenderText {#text} at (0,351) size 14x13 70 97 text run at (0,351) width 14: "27" 71 text run at (13,351) width 1: " " 98 RenderBR {BR} at (13,351) size 1x13 99 RenderText {#text} at (0,364) size 14x13 72 100 text run at (0,364) width 14: "28" 73 text run at (13,364) width 1: " " 101 RenderBR {BR} at (13,364) size 1x13 102 RenderText {#text} at (0,377) size 14x13 74 103 text run at (0,377) width 14: "29" 75 text run at (13,377) width 1: " " 104 RenderBR {BR} at (13,377) size 1x13 105 RenderText {#text} at (0,390) size 14x13 76 106 text run at (0,390) width 14: "30" 77 text run at (13,390) width 1: " "107 RenderBR {BR} at (13,390) size 1x13 78 108 RenderBR {BR} at (0,403) size 0x13 79 caret: position 37 of child 0{#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body109 caret: position 1 of child 24 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body -
trunk/LayoutTests/platform/mac/fast/forms/basic-textareas-quirks-expected.txt
r270409 r280482 670 670 RenderTextControl {TEXTAREA} at (16,3) size 162x47 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 671 671 RenderBlock {DIV} at (3,3) size 140x208 672 RenderText {#text} at (0,0) size 185x195672 RenderText {#text} at (0,0) size 4x13 673 673 text run at (0,0) width 4: " " 674 text run at (3,0) width 1: " " 674 RenderBR {BR} at (3,0) size 1x13 675 RenderText {#text} at (0,13) size 185x13 675 676 text run at (0,13) width 185: "This is a text area with wrap=\"soft\"" 676 text run at (184,13) width 1: " " 677 RenderBR {BR} at (0,0) size 0x0 678 RenderText {#text} at (0,26) size 185x13 677 679 text run at (0,26) width 185: "This is a text area with wrap=\"soft\"" 678 text run at (184,26) width 1: " " 680 RenderBR {BR} at (0,0) size 0x0 681 RenderText {#text} at (0,39) size 185x13 679 682 text run at (0,39) width 185: "This is a text area with wrap=\"soft\"" 680 text run at (184,39) width 1: " " 683 RenderBR {BR} at (0,0) size 0x0 684 RenderText {#text} at (0,52) size 185x13 681 685 text run at (0,52) width 185: "This is a text area with wrap=\"soft\"" 682 text run at (184,52) width 1: " " 686 RenderBR {BR} at (0,0) size 0x0 687 RenderText {#text} at (0,65) size 185x13 683 688 text run at (0,65) width 185: "This is a text area with wrap=\"soft\"" 684 text run at (184,65) width 1: " " 689 RenderBR {BR} at (0,0) size 0x0 690 RenderText {#text} at (0,78) size 185x13 685 691 text run at (0,78) width 185: "This is a text area with wrap=\"soft\"" 686 text run at (184,78) width 1: " " 692 RenderBR {BR} at (0,0) size 0x0 693 RenderText {#text} at (0,91) size 185x13 687 694 text run at (0,91) width 185: "This is a text area with wrap=\"soft\"" 688 text run at (184,91) width 1: " " 695 RenderBR {BR} at (0,0) size 0x0 696 RenderText {#text} at (0,104) size 185x13 689 697 text run at (0,104) width 185: "This is a text area with wrap=\"soft\"" 690 text run at (184,104) width 1: " " 698 RenderBR {BR} at (0,0) size 0x0 699 RenderText {#text} at (0,117) size 185x13 691 700 text run at (0,117) width 185: "This is a text area with wrap=\"soft\"" 692 text run at (184,117) width 1: " " 701 RenderBR {BR} at (0,0) size 0x0 702 RenderText {#text} at (0,130) size 185x13 693 703 text run at (0,130) width 185: "This is a text area with wrap=\"soft\"" 694 text run at (184,130) width 1: " " 704 RenderBR {BR} at (0,0) size 0x0 705 RenderText {#text} at (0,143) size 185x13 695 706 text run at (0,143) width 185: "This is a text area with wrap=\"soft\"" 696 text run at (184,143) width 1: " " 707 RenderBR {BR} at (0,0) size 0x0 708 RenderText {#text} at (0,156) size 185x13 697 709 text run at (0,156) width 185: "This is a text area with wrap=\"soft\"" 698 text run at (184,156) width 1: " " 710 RenderBR {BR} at (0,0) size 0x0 711 RenderText {#text} at (0,169) size 185x13 699 712 text run at (0,169) width 185: "This is a text area with wrap=\"soft\"" 700 text run at (184,169) width 1: " " 713 RenderBR {BR} at (0,0) size 0x0 714 RenderText {#text} at (0,182) size 185x13 701 715 text run at (0,182) width 185: "This is a text area with wrap=\"soft\"" 702 text run at (184,182) width 1: " "716 RenderBR {BR} at (0,0) size 0x0 703 717 RenderBR {BR} at (0,195) size 0x13 704 718 layer at (378,971) size 161x32 clip at (379,972) size 144x30 scrollHeight 394 705 719 RenderTextControl {TEXTAREA} at (16,3) size 162x32 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 706 720 RenderBlock {DIV} at (3,3) size 140x390 707 RenderText {#text} at (0,0) size 121x377721 RenderText {#text} at (0,0) size 4x13 708 722 text run at (0,0) width 4: " " 709 text run at (3,0) width 1: " " 723 RenderBR {BR} at (3,0) size 1x13 724 RenderText {#text} at (0,13) size 121x26 710 725 text run at (0,13) width 118: "This is a text area with" 711 726 text run at (117,13) width 4: " " 712 727 text run at (0,26) width 64: "wrap=\"soft\"" 713 text run at (63,26) width 1: " " 728 RenderBR {BR} at (63,26) size 1x13 729 RenderText {#text} at (0,39) size 121x26 714 730 text run at (0,39) width 118: "This is a text area with" 715 731 text run at (117,39) width 4: " " 716 732 text run at (0,52) width 64: "wrap=\"soft\"" 717 text run at (63,52) width 1: " " 733 RenderBR {BR} at (63,52) size 1x13 734 RenderText {#text} at (0,65) size 121x26 718 735 text run at (0,65) width 118: "This is a text area with" 719 736 text run at (117,65) width 4: " " 720 737 text run at (0,78) width 64: "wrap=\"soft\"" 721 text run at (63,78) width 1: " " 738 RenderBR {BR} at (63,78) size 1x13 739 RenderText {#text} at (0,91) size 121x26 722 740 text run at (0,91) width 118: "This is a text area with" 723 741 text run at (117,91) width 4: " " 724 742 text run at (0,104) width 64: "wrap=\"soft\"" 725 text run at (63,104) width 1: " " 743 RenderBR {BR} at (63,104) size 1x13 744 RenderText {#text} at (0,117) size 121x26 726 745 text run at (0,117) width 118: "This is a text area with" 727 746 text run at (117,117) width 4: " " 728 747 text run at (0,130) width 64: "wrap=\"soft\"" 729 text run at (63,130) width 1: " " 748 RenderBR {BR} at (63,130) size 1x13 749 RenderText {#text} at (0,143) size 121x26 730 750 text run at (0,143) width 118: "This is a text area with" 731 751 text run at (117,143) width 4: " " 732 752 text run at (0,156) width 64: "wrap=\"soft\"" 733 text run at (63,156) width 1: " " 753 RenderBR {BR} at (63,156) size 1x13 754 RenderText {#text} at (0,169) size 121x26 734 755 text run at (0,169) width 118: "This is a text area with" 735 756 text run at (117,169) width 4: " " 736 757 text run at (0,182) width 64: "wrap=\"soft\"" 737 text run at (63,182) width 1: " " 758 RenderBR {BR} at (63,182) size 1x13 759 RenderText {#text} at (0,195) size 121x26 738 760 text run at (0,195) width 118: "This is a text area with" 739 761 text run at (117,195) width 4: " " 740 762 text run at (0,208) width 64: "wrap=\"soft\"" 741 text run at (63,208) width 1: " " 763 RenderBR {BR} at (63,208) size 1x13 764 RenderText {#text} at (0,221) size 121x26 742 765 text run at (0,221) width 118: "This is a text area with" 743 766 text run at (117,221) width 4: " " 744 767 text run at (0,234) width 64: "wrap=\"soft\"" 745 text run at (63,234) width 1: " " 768 RenderBR {BR} at (63,234) size 1x13 769 RenderText {#text} at (0,247) size 121x26 746 770 text run at (0,247) width 118: "This is a text area with" 747 771 text run at (117,247) width 4: " " 748 772 text run at (0,260) width 64: "wrap=\"soft\"" 749 text run at (63,260) width 1: " " 773 RenderBR {BR} at (63,260) size 1x13 774 RenderText {#text} at (0,273) size 121x26 750 775 text run at (0,273) width 118: "This is a text area with" 751 776 text run at (117,273) width 4: " " 752 777 text run at (0,286) width 64: "wrap=\"soft\"" 753 text run at (63,286) width 1: " " 778 RenderBR {BR} at (63,286) size 1x13 779 RenderText {#text} at (0,299) size 121x26 754 780 text run at (0,299) width 118: "This is a text area with" 755 781 text run at (117,299) width 4: " " 756 782 text run at (0,312) width 64: "wrap=\"soft\"" 757 text run at (63,312) width 1: " " 783 RenderBR {BR} at (63,312) size 1x13 784 RenderText {#text} at (0,325) size 121x26 758 785 text run at (0,325) width 118: "This is a text area with" 759 786 text run at (117,325) width 4: " " 760 787 text run at (0,338) width 64: "wrap=\"soft\"" 761 text run at (63,338) width 1: " " 788 RenderBR {BR} at (63,338) size 1x13 789 RenderText {#text} at (0,351) size 121x26 762 790 text run at (0,351) width 118: "This is a text area with" 763 791 text run at (117,351) width 4: " " 764 792 text run at (0,364) width 64: "wrap=\"soft\"" 765 text run at (63,364) width 1: " "793 RenderBR {BR} at (63,364) size 1x13 766 794 RenderBR {BR} at (0,377) size 0x13 767 795 layer at (378,1026) size 161x32 clip at (379,1027) size 144x30 scrollHeight 394 768 796 RenderTextControl {TEXTAREA} at (16,3) size 162x32 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 769 797 RenderBlock {DIV} at (3,3) size 140x390 770 RenderText {#text} at (0,0) size 121x377798 RenderText {#text} at (0,0) size 4x13 771 799 text run at (0,0) width 4: " " 772 text run at (3,0) width 1: " " 800 RenderBR {BR} at (3,0) size 1x13 801 RenderText {#text} at (0,13) size 121x26 773 802 text run at (0,13) width 118: "This is a text area with" 774 803 text run at (117,13) width 4: " " 775 804 text run at (0,26) width 64: "wrap=\"soft\"" 776 text run at (63,26) width 1: " " 805 RenderBR {BR} at (63,26) size 1x13 806 RenderText {#text} at (0,39) size 121x26 777 807 text run at (0,39) width 118: "This is a text area with" 778 808 text run at (117,39) width 4: " " 779 809 text run at (0,52) width 64: "wrap=\"soft\"" 780 text run at (63,52) width 1: " " 810 RenderBR {BR} at (63,52) size 1x13 811 RenderText {#text} at (0,65) size 121x26 781 812 text run at (0,65) width 118: "This is a text area with" 782 813 text run at (117,65) width 4: " " 783 814 text run at (0,78) width 64: "wrap=\"soft\"" 784 text run at (63,78) width 1: " " 815 RenderBR {BR} at (63,78) size 1x13 816 RenderText {#text} at (0,91) size 121x26 785 817 text run at (0,91) width 118: "This is a text area with" 786 818 text run at (117,91) width 4: " " 787 819 text run at (0,104) width 64: "wrap=\"soft\"" 788 text run at (63,104) width 1: " " 820 RenderBR {BR} at (63,104) size 1x13 821 RenderText {#text} at (0,117) size 121x26 789 822 text run at (0,117) width 118: "This is a text area with" 790 823 text run at (117,117) width 4: " " 791 824 text run at (0,130) width 64: "wrap=\"soft\"" 792 text run at (63,130) width 1: " " 825 RenderBR {BR} at (63,130) size 1x13 826 RenderText {#text} at (0,143) size 121x26 793 827 text run at (0,143) width 118: "This is a text area with" 794 828 text run at (117,143) width 4: " " 795 829 text run at (0,156) width 64: "wrap=\"soft\"" 796 text run at (63,156) width 1: " " 830 RenderBR {BR} at (63,156) size 1x13 831 RenderText {#text} at (0,169) size 121x26 797 832 text run at (0,169) width 118: "This is a text area with" 798 833 text run at (117,169) width 4: " " 799 834 text run at (0,182) width 64: "wrap=\"soft\"" 800 text run at (63,182) width 1: " " 835 RenderBR {BR} at (63,182) size 1x13 836 RenderText {#text} at (0,195) size 121x26 801 837 text run at (0,195) width 118: "This is a text area with" 802 838 text run at (117,195) width 4: " " 803 839 text run at (0,208) width 64: "wrap=\"soft\"" 804 text run at (63,208) width 1: " " 840 RenderBR {BR} at (63,208) size 1x13 841 RenderText {#text} at (0,221) size 121x26 805 842 text run at (0,221) width 118: "This is a text area with" 806 843 text run at (117,221) width 4: " " 807 844 text run at (0,234) width 64: "wrap=\"soft\"" 808 text run at (63,234) width 1: " " 845 RenderBR {BR} at (63,234) size 1x13 846 RenderText {#text} at (0,247) size 121x26 809 847 text run at (0,247) width 118: "This is a text area with" 810 848 text run at (117,247) width 4: " " 811 849 text run at (0,260) width 64: "wrap=\"soft\"" 812 text run at (63,260) width 1: " " 850 RenderBR {BR} at (63,260) size 1x13 851 RenderText {#text} at (0,273) size 121x26 813 852 text run at (0,273) width 118: "This is a text area with" 814 853 text run at (117,273) width 4: " " 815 854 text run at (0,286) width 64: "wrap=\"soft\"" 816 text run at (63,286) width 1: " " 855 RenderBR {BR} at (63,286) size 1x13 856 RenderText {#text} at (0,299) size 121x26 817 857 text run at (0,299) width 118: "This is a text area with" 818 858 text run at (117,299) width 4: " " 819 859 text run at (0,312) width 64: "wrap=\"soft\"" 820 text run at (63,312) width 1: " " 860 RenderBR {BR} at (63,312) size 1x13 861 RenderText {#text} at (0,325) size 121x26 821 862 text run at (0,325) width 118: "This is a text area with" 822 863 text run at (117,325) width 4: " " 823 864 text run at (0,338) width 64: "wrap=\"soft\"" 824 text run at (63,338) width 1: " " 865 RenderBR {BR} at (63,338) size 1x13 866 RenderText {#text} at (0,351) size 121x26 825 867 text run at (0,351) width 118: "This is a text area with" 826 868 text run at (117,351) width 4: " " 827 869 text run at (0,364) width 64: "wrap=\"soft\"" 828 text run at (63,364) width 1: " "870 RenderBR {BR} at (63,364) size 1x13 829 871 RenderBR {BR} at (0,377) size 0x13 -
trunk/LayoutTests/platform/mac/fast/forms/textarea-scroll-height-expected.txt
r251015 r280482 11 11 RenderTextControl {TEXTAREA} at (0,0) size 200x200 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 12 12 RenderBlock {DIV} at (3,3) size 179x312 13 RenderText {#text} at (0,0) size 83x 29913 RenderText {#text} at (0,0) size 83x13 14 14 text run at (0,0) width 83: "Lots of content." 15 text run at (82,0) width 1: " " 15 RenderBR {BR} at (82,0) size 1x13 16 RenderText {#text} at (0,13) size 83x13 16 17 text run at (0,13) width 83: "Lots of content." 17 text run at (82,13) width 1: " " 18 RenderBR {BR} at (82,13) size 1x13 19 RenderText {#text} at (0,26) size 83x13 18 20 text run at (0,26) width 83: "Lots of content." 19 text run at (82,26) width 1: " " 21 RenderBR {BR} at (82,26) size 1x13 22 RenderText {#text} at (0,39) size 83x13 20 23 text run at (0,39) width 83: "Lots of content." 21 text run at (82,39) width 1: " " 22 text run at (0,52) width 0: " " 24 RenderBR {BR} at (82,39) size 1x13 25 RenderBR {BR} at (0,52) size 0x13 26 RenderText {#text} at (0,65) size 83x13 23 27 text run at (0,65) width 83: "Lots of content." 24 text run at (82,65) width 1: " " 28 RenderBR {BR} at (82,65) size 1x13 29 RenderText {#text} at (0,78) size 83x13 25 30 text run at (0,78) width 83: "Lots of content." 26 text run at (82,78) width 1: " " 27 text run at (0,91) width 0: " " 31 RenderBR {BR} at (82,78) size 1x13 32 RenderBR {BR} at (0,91) size 0x13 33 RenderText {#text} at (0,104) size 83x13 28 34 text run at (0,104) width 83: "Lots of content." 29 text run at (82,104) width 1: " " 35 RenderBR {BR} at (82,104) size 1x13 36 RenderText {#text} at (0,117) size 83x13 30 37 text run at (0,117) width 83: "Lots of content." 31 text run at (82,117) width 1: " " 32 text run at (0,130) width 0: " " 38 RenderBR {BR} at (82,117) size 1x13 39 RenderBR {BR} at (0,130) size 0x13 40 RenderText {#text} at (0,143) size 83x13 33 41 text run at (0,143) width 83: "Lots of content." 34 text run at (82,143) width 1: " " 42 RenderBR {BR} at (82,143) size 1x13 43 RenderText {#text} at (0,156) size 83x13 35 44 text run at (0,156) width 83: "Lots of content." 36 text run at (82,156) width 1: " " 37 text run at (0,169) width 0: " " 45 RenderBR {BR} at (82,156) size 1x13 46 RenderBR {BR} at (0,169) size 0x13 47 RenderText {#text} at (0,182) size 83x13 38 48 text run at (0,182) width 83: "Lots of content." 39 text run at (82,182) width 1: " " 49 RenderBR {BR} at (82,182) size 1x13 50 RenderText {#text} at (0,195) size 83x13 40 51 text run at (0,195) width 83: "Lots of content." 41 text run at (82,195) width 1: " " 42 text run at (0,208) width 0: " " 52 RenderBR {BR} at (82,195) size 1x13 53 RenderBR {BR} at (0,208) size 0x13 54 RenderText {#text} at (0,221) size 83x13 43 55 text run at (0,221) width 83: "Lots of content." 44 text run at (82,221) width 1: " " 56 RenderBR {BR} at (82,221) size 1x13 57 RenderText {#text} at (0,234) size 83x13 45 58 text run at (0,234) width 83: "Lots of content." 46 text run at (82,234) width 1: " " 47 text run at (0,247) width 0: " " 59 RenderBR {BR} at (82,234) size 1x13 60 RenderBR {BR} at (0,247) size 0x13 61 RenderText {#text} at (0,260) size 83x13 48 62 text run at (0,260) width 83: "Lots of content." 49 text run at (82,260) width 1: " " 63 RenderBR {BR} at (82,260) size 1x13 64 RenderText {#text} at (0,273) size 83x13 50 65 text run at (0,273) width 83: "Lots of content." 51 text run at (82,273) width 1: " "52 text run at (0,286) width 0: " "66 RenderBR {BR} at (82,273) size 1x13 67 RenderBR {BR} at (0,286) size 0x13 53 68 RenderBR {BR} at (0,299) size 0x13 -
trunk/LayoutTests/platform/mac/fast/forms/textarea-scrollbar-expected.txt
r268958 r280482 11 11 RenderTextControl {TEXTAREA} at (2,20) size 161x84 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 12 12 RenderBlock {DIV} at (3,3) size 140x117 13 RenderText {#text} at (0,0) size 8x5213 RenderText {#text} at (0,0) size 6x13 14 14 text run at (0,0) width 6: "1" 15 text run at (5,0) width 1: " " 15 RenderBR {BR} at (5,0) size 1x13 16 RenderText {#text} at (0,13) size 7x13 16 17 text run at (0,13) width 7: "2" 17 text run at (6,13) width 1: " " 18 RenderBR {BR} at (6,13) size 1x13 19 RenderText {#text} at (0,26) size 7x13 18 20 text run at (0,26) width 7: "3" 19 text run at (6,26) width 1: " " 21 RenderBR {BR} at (6,26) size 1x13 22 RenderText {#text} at (0,39) size 8x13 20 23 text run at (0,39) width 8: "4" 21 text run at (7,39) width 1: " "24 RenderBR {BR} at (7,39) size 1x13 22 25 RenderText {#text} at (0,52) size 7x13 23 26 text run at (0,52) width 7: "5" … … 38 41 RenderText {#text} at (0,104) size 0x13 39 42 text run at (0,104) width 0: " " 40 caret: position 0 of child 9{#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body43 caret: position 0 of child 16 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body -
trunk/LayoutTests/platform/mac/fast/forms/textarea-scrolled-type-expected.txt
r268520 r280482 15 15 RenderTextControl {TEXTAREA} at (2,20) size 161x97 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 16 16 RenderBlock {DIV} at (3,3) size 140x273 17 RenderText {#text} at (0,0) size 40x26017 RenderText {#text} at (0,0) size 6x13 18 18 text run at (0,0) width 6: "1" 19 text run at (5,0) width 1: " " 19 RenderBR {BR} at (5,0) size 1x13 20 RenderText {#text} at (0,13) size 7x13 20 21 text run at (0,13) width 7: "2" 21 text run at (6,13) width 1: " " 22 RenderBR {BR} at (6,13) size 1x13 23 RenderText {#text} at (0,26) size 7x13 22 24 text run at (0,26) width 7: "3" 23 text run at (6,26) width 1: " " 25 RenderBR {BR} at (6,26) size 1x13 26 RenderText {#text} at (0,39) size 8x13 24 27 text run at (0,39) width 8: "4" 25 text run at (7,39) width 1: " " 28 RenderBR {BR} at (7,39) size 1x13 29 RenderText {#text} at (0,52) size 7x13 26 30 text run at (0,52) width 7: "5" 27 text run at (6,52) width 1: " " 31 RenderBR {BR} at (6,52) size 1x13 32 RenderText {#text} at (0,65) size 8x13 28 33 text run at (0,65) width 8: "6" 29 text run at (7,65) width 1: " " 34 RenderBR {BR} at (7,65) size 1x13 35 RenderText {#text} at (0,78) size 7x13 30 36 text run at (0,78) width 7: "7" 31 text run at (6,78) width 1: " " 37 RenderBR {BR} at (6,78) size 1x13 38 RenderText {#text} at (0,91) size 8x13 32 39 text run at (0,91) width 8: "8" 33 text run at (7,91) width 1: " " 40 RenderBR {BR} at (7,91) size 1x13 41 RenderText {#text} at (0,104) size 8x13 34 42 text run at (0,104) width 8: "9" 35 text run at (7,104) width 1: " " 43 RenderBR {BR} at (7,104) size 1x13 44 RenderText {#text} at (0,117) size 13x13 36 45 text run at (0,117) width 13: "10" 37 text run at (12,117) width 1: " " 46 RenderBR {BR} at (12,117) size 1x13 47 RenderText {#text} at (0,130) size 11x13 38 48 text run at (0,130) width 11: "11" 39 text run at (10,130) width 1: " " 49 RenderBR {BR} at (10,130) size 1x13 50 RenderText {#text} at (0,143) size 12x13 40 51 text run at (0,143) width 12: "12" 41 text run at (11,143) width 1: " " 52 RenderBR {BR} at (11,143) size 1x13 53 RenderText {#text} at (0,156) size 13x13 42 54 text run at (0,156) width 13: "13" 43 text run at (12,156) width 1: " " 55 RenderBR {BR} at (12,156) size 1x13 56 RenderText {#text} at (0,169) size 13x13 44 57 text run at (0,169) width 13: "14" 45 text run at (12,169) width 1: " " 58 RenderBR {BR} at (12,169) size 1x13 59 RenderText {#text} at (0,182) size 13x13 46 60 text run at (0,182) width 13: "15" 47 text run at (12,182) width 1: " " 61 RenderBR {BR} at (12,182) size 1x13 62 RenderText {#text} at (0,195) size 13x13 48 63 text run at (0,195) width 13: "16" 49 text run at (12,195) width 1: " " 64 RenderBR {BR} at (12,195) size 1x13 65 RenderText {#text} at (0,208) size 12x13 50 66 text run at (0,208) width 12: "17" 51 text run at (11,208) width 1: " " 67 RenderBR {BR} at (11,208) size 1x13 68 RenderText {#text} at (0,221) size 40x13 52 69 text run at (0,221) width 40: "18 Pass" 53 text run at (39,221) width 1: " " 70 RenderBR {BR} at (39,221) size 1x13 71 RenderText {#text} at (0,234) size 13x13 54 72 text run at (0,234) width 13: "19" 55 text run at (12,234) width 1: " " 73 RenderBR {BR} at (12,234) size 1x13 74 RenderText {#text} at (0,247) size 14x13 56 75 text run at (0,247) width 14: "20" 57 text run at (13,247) width 1: " "76 RenderBR {BR} at (13,247) size 1x13 58 77 RenderBR {BR} at (0,260) size 0x13 59 caret: position 49 of child 0{#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body78 caret: position 7 of child 34 {#text} of child 0 {DIV} of {#document-fragment} of child 3 {TEXTAREA} of body -
trunk/LayoutTests/platform/mac/fast/forms/textarea-width-expected.txt
r177774 r280482 17 17 text run at (0,0) width 454: "1234567890abcdefghijABCDEFGHIJ1234567890abcdefghijABCDEFGHIJ12345X7890abcde" 18 18 text run at (0,12) width 267: "fghijABCDEFGXIJ1234567890abcdefghijABCDEFGHIJ" 19 text run at (266,12) width 1: " "19 RenderBR {BR} at (266,12) size 1x12 20 20 RenderBR {BR} at (0,24) size 0x12 -
trunk/LayoutTests/platform/mac/fast/parser/open-comment-in-textarea-expected.txt
r270409 r280482 9 9 RenderTextControl {TEXTAREA} at (2,2) size 161x32 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 10 10 RenderBlock {DIV} at (3,3) size 140x52 11 RenderText {#text} at (0,0) size 139x3911 RenderText {#text} at (0,0) size 21x13 12 12 text run at (0,0) width 21: "<!--" 13 text run at (20,0) width 1: " " 13 RenderBR {BR} at (20,0) size 1x13 14 RenderText {#text} at (0,13) size 139x26 14 15 text run at (0,13) width 139: "This should be part of the " 15 16 text run at (0,26) width 47: "textarea." 16 text run at (46,26) width 1: " "17 RenderBR {BR} at (46,26) size 1x13 17 18 RenderBR {BR} at (0,39) size 0x13 -
trunk/LayoutTests/platform/mac/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt
r202826 r280482 17 17 RenderTextControl {TEXTAREA} at (2,2) size 371x58 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 18 18 RenderBlock {DIV} at (3,3) size 365x39 19 RenderText {#text} at (336,0) size 365x26 20 text run at (336,0) width 1 RTL: " " 19 RenderText {#text} at (336,0) size 29x13 21 20 text run at (336,0) width 29 RTL: "\x{5E9}\x{5DC}\x{5D5}\x{5DD}!" 21 RenderBR {BR} at (336,0) size 1x13 22 RenderText {#text} at (0,13) size 29x13 22 23 text run at (0,13) width 29: "hello!" 23 text run at (28,13) width 1: " "24 RenderBR {BR} at (28,13) size 1x13 24 25 RenderBR {BR} at (365,26) size 0x13 25 26 layer at (10,112) size 371x58 clip at (11,113) size 369x56 26 27 RenderTextControl {TEXTAREA} at (2,68) size 371x58 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 27 28 RenderBlock {DIV} at (3,3) size 365x39 28 RenderText {#text} at (336,0) size 365x26 29 text run at (336,0) width 1 RTL: " " 29 RenderText {#text} at (336,0) size 29x13 30 30 text run at (336,0) width 29 RTL: "\x{5E9}\x{5DC}\x{5D5}\x{5DD}!" 31 RenderBR {BR} at (336,0) size 1x13 32 RenderText {#text} at (0,13) size 29x13 31 33 text run at (0,13) width 29: "hello!" 32 text run at (28,13) width 1: " "34 RenderBR {BR} at (28,13) size 1x13 33 35 RenderBR {BR} at (0,26) size 0x13 34 36 layer at (10,178) size 371x58 clip at (11,179) size 369x56 35 37 RenderTextControl {TEXTAREA} at (2,134) size 371x58 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 36 38 RenderBlock {DIV} at (3,3) size 365x39 37 RenderText {#text} at (336,0) size 365x26 38 text run at (336,0) width 1 RTL: " " 39 RenderText {#text} at (336,0) size 29x13 39 40 text run at (336,0) width 29 RTL: "\x{5E9}\x{5DC}\x{5D5}\x{5DD}!" 41 RenderBR {BR} at (336,0) size 1x13 42 RenderText {#text} at (0,13) size 29x13 40 43 text run at (0,13) width 29: "hello!" 41 text run at (28,13) width 1: " "44 RenderBR {BR} at (28,13) size 1x13 42 45 RenderBR {BR} at (0,26) size 0x13 43 46 layer at (10,244) size 371x58 clip at (11,245) size 369x56 44 47 RenderTextControl {TEXTAREA} at (2,200) size 371x58 [bgcolor=#FFFFFF] [border: (1px solid #000000)] 45 48 RenderBlock {DIV} at (3,3) size 365x39 46 RenderText {#text} at (336,0) size 365x26 47 text run at (336,0) width 1 RTL: " " 49 RenderText {#text} at (336,0) size 29x13 48 50 text run at (336,0) width 29 RTL: "\x{5E9}\x{5DC}\x{5D5}\x{5DD}!" 51 RenderBR {BR} at (336,0) size 1x13 52 RenderText {#text} at (0,13) size 29x13 49 53 text run at (0,13) width 29: "hello!" 50 text run at (28,13) width 1: " "54 RenderBR {BR} at (28,13) size 1x13 51 55 RenderBR {BR} at (365,26) size 0x13 -
trunk/LayoutTests/platform/mac/http/tests/navigation/javascriptlink-frames-expected.txt
r270950 r280482 109 109 RenderText {#text} at (0,0) size 178x13 110 110 text run at (0,0) width 178: "More initial text before user input." 111 text run at (177,0) width 1: " "111 RenderBR {BR} at (177,0) size 1x13 112 112 RenderBR {BR} at (0,13) size 0x13 113 113 RenderFrame {FRAME} at (0,540) size 800x60 -
trunk/Source/WebCore/ChangeLog
r280479 r280482 1 2021-07-30 Chris Dumez <cdumez@apple.com> 2 3 HTMLElement.innerText setter should convert new lines to <br> 4 https://bugs.webkit.org/show_bug.cgi?id=228605 5 6 Reviewed by Sam Weinig. 7 8 HTMLElement.innerText setter should convert new lines to <br>: 9 - https://html.spec.whatwg.org/multipage/dom.html#the-innertext-idl-attribute:dom-innertext-3 10 - https://html.spec.whatwg.org/multipage/dom.html#rendered-text-fragment 11 12 Our innerText setter had some logic that was specific to form elements and specific render 13 styles that wasn't part of the specification. It was causing us to not replace the new lines 14 with <br> in some cases. I dropped this logic to align with Blink and Gecko, as those are 15 passing the same WPT tests. 16 17 No new tests, rebaselined existing tests. 18 19 * html/HTMLElement.cpp: 20 (WebCore::HTMLElement::setInnerText): 21 1 22 2021-07-30 Chris Dumez <cdumez@apple.com> 2 23 -
trunk/Source/WebCore/html/HTMLElement.cpp
r280310 r280482 567 567 } 568 568 569 // FIXME: Do we need to be able to detect preserveNewline style even when there's no renderer?570 // FIXME: Can the renderer be out of date here? Do we need to call updateStyleIfNeeded?571 // For example, for the contents of textarea elements that are display:none?572 auto* r = renderer();573 if ((r && r->style().preserveNewline()) || (isConnected() && isTextControlInnerTextElement())) {574 if (!text.contains('\r')) {575 stringReplaceAll(text);576 return { };577 }578 String textWithConsistentLineBreaks = text;579 textWithConsistentLineBreaks.replace("\r\n", "\n");580 textWithConsistentLineBreaks.replace('\r', '\n');581 stringReplaceAll(textWithConsistentLineBreaks);582 return { };583 }584 585 569 // FIXME: This should use replaceAll(), after we fix that to work properly for DocumentFragment. 586 570 // Add text nodes and <br> elements.
Note: See TracChangeset
for help on using the changeset viewer.