Changeset 153647 in webkit
- Timestamp:
- Aug 2, 2013, 7:58:09 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r153640 r153647 1 2013-08-02 Antoine Quint <graouts@apple.com> 2 3 <input type="search"> doesn't correctly handle the "size" attribute 4 https://bugs.webkit.org/show_bug.cgi?id=119174 5 6 New test fast/forms/search/search-size-with-decorations.html that checks the different 7 decorations for search fields and the resulting sizes. 8 9 Also rebaselining the following tests since the rendering of search fields changed: 10 11 fast/forms/search-cancel-button-style-sharing.html 12 fast/forms/search-display-none-cancel-button.html 13 fast/forms/searchfield-heights.html 14 fast/forms/control-restrict-line-height.html 15 fast/forms/placeholder-pseudo-style.html 16 fast/forms/search-rtl.html 17 fast/css/text-overflow-input.html 18 fast/forms/placeholder-position.html 19 fast/repaint/search-field-cancel.html 20 fast/forms/input-appearance-height.html 21 fast/forms/search-vertical-alignment.html 22 fast/forms/box-shadow-override.html 23 fast/forms/search/search-size-with-decorations.html 24 fast/css/input-search-padding.html 25 fast/forms/search-styled.html 26 27 Reviewed by Darin Adler. 28 29 * fast/forms/placeholder-position-expected.txt: 30 * fast/forms/search/search-size-with-decorations-expected.txt: Added. 31 * fast/forms/search/search-size-with-decorations.html: Added. 32 * fast/repaint/search-field-cancel-expected.txt: 33 * platform/mac/fast/css/input-search-padding-expected.txt: 34 * platform/mac/fast/css/text-overflow-input-expected.png: 35 * platform/mac/fast/css/text-overflow-input-expected.txt: 36 * platform/mac/fast/forms/box-shadow-override-expected.png: 37 * platform/mac/fast/forms/box-shadow-override-expected.txt: 38 * platform/mac/fast/forms/control-restrict-line-height-expected.png: 39 * platform/mac/fast/forms/control-restrict-line-height-expected.txt: 40 * platform/mac/fast/forms/input-appearance-height-expected.png: 41 * platform/mac/fast/forms/input-appearance-height-expected.txt: 42 * platform/mac/fast/forms/placeholder-position-expected.png: 43 * platform/mac/fast/forms/placeholder-pseudo-style-expected.png: 44 * platform/mac/fast/forms/placeholder-pseudo-style-expected.txt: 45 * platform/mac/fast/forms/search-cancel-button-style-sharing-expected.png: 46 * platform/mac/fast/forms/search-cancel-button-style-sharing-expected.txt: 47 * platform/mac/fast/forms/search-display-none-cancel-button-expected.txt: 48 * platform/mac/fast/forms/search-rtl-expected.png: 49 * platform/mac/fast/forms/search-rtl-expected.txt: 50 * platform/mac/fast/forms/search-styled-expected.txt: 51 * platform/mac/fast/forms/search-vertical-alignment-expected.png: 52 * platform/mac/fast/forms/search-vertical-alignment-expected.txt: 53 * platform/mac/fast/forms/search/search-size-with-decorations-expected.png: Added. 54 * platform/mac/fast/forms/searchfield-heights-expected.png: 55 * platform/mac/fast/forms/searchfield-heights-expected.txt: 56 * platform/mac/fast/repaint/search-field-cancel-expected.png: 57 1 58 2013-08-02 Zalan Bujtas <zalan@apple.com> 2 59 -
trunk/LayoutTests/fast/forms/placeholder-position-expected.txt
r145977 r153647 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderTextControl {INPUT} at (2,2) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]7 RenderFlexibleBox {DIV} at (3,3) size 1 17x136 RenderTextControl {INPUT} at (2,2) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 7 RenderFlexibleBox {DIV} at (3,3) size 138x13 8 8 RenderBlock {DIV} at (0,1) size 8x11 9 RenderBlock {DIV} at (8,0) size 96x1310 RenderBlock {DIV} at (1 04,1) size 13x1111 RenderBR {BR} at (1 27,16) size 0x09 RenderBlock {DIV} at (8,0) size 117x13 10 RenderBlock {DIV} at (125,1) size 13x11 11 RenderBR {BR} at (148,16) size 0x0 12 12 RenderTextControl {INPUT} at (2,25) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 13 13 RenderBR {BR} at (127,39) size 0x0 14 RenderTextControl {INPUT} at (2,48) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]15 RenderFlexibleBox {DIV} at (3,3) size 1 17x1314 RenderTextControl {INPUT} at (2,48) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 15 RenderFlexibleBox {DIV} at (3,3) size 138x13 16 16 RenderBlock {DIV} at (0,1) size 8x11 17 RenderBlock {DIV} at (8,0) size 96x1318 RenderBlock {DIV} at (1 04,1) size 13x1119 RenderBR {BR} at (1 27,62) size 0x020 RenderTextControl {INPUT} at (2,71) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]21 RenderFlexibleBox {DIV} at (3,3) size 1 17x1317 RenderBlock {DIV} at (8,0) size 117x13 18 RenderBlock {DIV} at (125,1) size 13x11 19 RenderBR {BR} at (148,62) size 0x0 20 RenderTextControl {INPUT} at (2,71) size 158x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 21 RenderFlexibleBox {DIV} at (3,3) size 152x13 22 22 RenderBlock {DIV} at (0,1) size 22x11 23 RenderBlock {DIV} at (22,0) size 82x1324 RenderBlock {DIV} at (1 04,1) size 13x1125 RenderBR {BR} at (1 27,85) size 0x023 RenderBlock {DIV} at (22,0) size 117x13 24 RenderBlock {DIV} at (139,1) size 13x11 25 RenderBR {BR} at (162,85) size 0x0 26 26 RenderBR {BR} at (165,128) size 0x0 27 27 RenderTextControl {INPUT} at (2,130) size 123x33 [bgcolor=#FFFFFF] [border: (2px inset #000000)] … … 48 48 RenderBR {BR} at (393,305) size 0x0 49 49 RenderBR {BR} at (127,342) size 0x0 50 layer at (21,13) size 96x1351 RenderBlock {DIV} at (11,3) size 96x13 [color=#A9A9A9]50 layer at (21,13) size 117x13 51 RenderBlock {DIV} at (11,3) size 117x13 [color=#A9A9A9] 52 52 RenderText {#text} at (0,0) size 63x13 53 53 text run at (0,0) width 63: "placeholder" 54 layer at (21,13) size 96x1355 RenderBlock {DIV} at (0,0) size 96x1354 layer at (21,13) size 117x13 55 RenderBlock {DIV} at (0,0) size 117x13 56 56 layer at (13,36) size 117x13 57 57 RenderBlock {DIV} at (3,3) size 117x13 [color=#A9A9A9] … … 60 60 layer at (13,36) size 117x13 61 61 RenderBlock {DIV} at (3,3) size 117x13 62 layer at (21,59) size 96x1363 RenderBlock {DIV} at (11,3) size 96x13 [color=#A9A9A9]64 RenderText {#text} at ( 33,0) size 63x1365 text run at ( 33,0) width 63: "placeholder"66 layer at (21,59) size 96x1367 RenderBlock {DIV} at (0,0) size 96x1368 layer at (35,82) size 82x1369 RenderBlock {DIV} at (25,3) size 82x13 [color=#A9A9A9]62 layer at (21,59) size 117x13 63 RenderBlock {DIV} at (11,3) size 117x13 [color=#A9A9A9] 64 RenderText {#text} at (54,0) size 63x13 65 text run at (54,0) width 63: "placeholder" 66 layer at (21,59) size 117x13 67 RenderBlock {DIV} at (0,0) size 117x13 68 layer at (35,82) size 117x13 69 RenderBlock {DIV} at (25,3) size 117x13 [color=#A9A9A9] 70 70 RenderText {#text} at (0,0) size 63x13 71 71 text run at (0,0) width 63: "placeholder" 72 layer at (35,82) size 82x1373 RenderBlock {DIV} at (0,0) size 82x1372 layer at (35,82) size 117x13 73 RenderBlock {DIV} at (0,0) size 117x13 74 74 layer at (10,102) size 161x32 clip at (11,103) size 159x30 75 75 RenderTextControl {TEXTAREA} at (2,94) size 161x32 [bgcolor=#FFFFFF] [border: (1px solid #000000)] -
trunk/LayoutTests/fast/repaint/search-field-cancel-expected.txt
r146695 r153647 13 13 text run at (358,0) width 322: ". The cancel button in a search field fails to redraw." 14 14 RenderBlock (anonymous) at (0,34) size 784x23 15 RenderTextControl {INPUT} at (2,2) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]16 RenderFlexibleBox {DIV} at (3,3) size 1 17x1315 RenderTextControl {INPUT} at (2,2) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 16 RenderFlexibleBox {DIV} at (3,3) size 138x13 17 17 RenderBlock {DIV} at (0,1) size 8x11 18 RenderBlock {DIV} at (8,0) size 96x1319 RenderBlock {DIV} at (1 04,1) size 13x1118 RenderBlock {DIV} at (8,0) size 117x13 19 RenderBlock {DIV} at (125,1) size 13x11 20 20 RenderText {#text} at (0,0) size 0x0 21 layer at (21,47) size 96x1322 RenderBlock {DIV} at (0,0) size 96x1321 layer at (21,47) size 117x13 22 RenderBlock {DIV} at (0,0) size 117x13 23 23 RenderText {#text} at (0,0) size 54x13 24 24 text run at (0,0) width 54: "some text" -
trunk/LayoutTests/platform/mac/fast/css/input-search-padding-expected.txt
r145977 r153647 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderTextControl {INPUT} at (2,2) size 4 27x82 [bgcolor=#FFFFFF] [border: (2px inset #000000)]7 RenderFlexibleBox {DIV} at (3,3) size 4 21x476 RenderTextControl {INPUT} at (2,2) size 453x82 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 7 RenderFlexibleBox {DIV} at (3,3) size 447x47 8 8 RenderBlock {DIV} at (0,17) size 10x13 9 RenderBlock {DIV} at (10,0) size 395x4710 RenderBlock {DIV} at (4 05,17) size 16x1311 RenderBR {BR} at (4 31,44) size 0x09 RenderBlock {DIV} at (10,0) size 421x47 10 RenderBlock {DIV} at (431,17) size 16x13 11 RenderBR {BR} at (457,44) size 0x0 12 12 RenderTextControl {INPUT} at (2,88) size 427x82 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 13 13 RenderBR {BR} at (431,130) size 0x0 14 RenderTextControl {INPUT} at (2,172) size 2 22x25 [bgcolor=#FFFFFF] [border: (2px inset #000000)]15 RenderFlexibleBox {DIV} at (6,1) size 2 10x2314 RenderTextControl {INPUT} at (2,172) size 248x25 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 15 RenderFlexibleBox {DIV} at (6,1) size 236x23 16 16 RenderBlock {DIV} at (0,5) size 10x13 17 RenderBlock {DIV} at (10,0) size 184x2318 RenderBlock {DIV} at ( 194,5) size 16x1319 layer at (23,13) size 395x47 scrollWidth 40920 RenderBlock {DIV} at (0,0) size 395x4717 RenderBlock {DIV} at (10,0) size 210x23 18 RenderBlock {DIV} at (220,5) size 16x13 19 layer at (23,13) size 421x47 20 RenderBlock {DIV} at (0,0) size 421x47 21 21 RenderText {#text} at (0,0) size 408x47 22 22 text run at (0,0) width 408: "value jgq not clipped" … … 25 25 RenderText {#text} at (0,0) size 408x47 26 26 text run at (0,0) width 408: "value jgq not clipped" 27 layer at (26,181) size 184x2328 RenderBlock {DIV} at (0,0) size 184x2327 layer at (26,181) size 210x23 28 RenderBlock {DIV} at (0,0) size 210x23 29 29 RenderText {#text} at (0,0) size 127x23 30 30 text run at (0,0) width 127: "Sample Input" -
trunk/LayoutTests/platform/mac/fast/css/text-overflow-input-expected.txt
r149210 r153647 14 14 RenderText {#text} at (127,20) size 4x18 15 15 text run at (127,20) width 4: " " 16 RenderTextControl {INPUT} at (133,20) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]17 RenderFlexibleBox {DIV} at (3,3) size 1 17x1318 RenderBlock {DIV} at (0,1) size 8x11 19 RenderBlock {DIV} at (8,0) size 96x1320 RenderBlock {DIV} at (1 04,1) size 13x1121 RenderText {#text} at (2 58,20) size 4x1822 text run at (2 58,20) width 4: " "23 RenderTextControl {INPUT} at (2 64,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]24 RenderText {#text} at ( 389,20) size 4x1825 text run at ( 389,20) width 4: " "26 RenderTextControl {INPUT} at ( 395,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]27 RenderFlexibleBox {DIV} at (3,3) size 1 17x1328 RenderBlock {DIV} at (0,1) size 8x11 29 RenderBlock {DIV} at (8,0) size 96x1330 RenderBlock {DIV} at (1 04,1) size 13x1131 RenderText {#text} at (5 20,20) size 4x1832 text run at (5 20,20) width 4: " "33 RenderTextControl {INPUT} at (5 26,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]34 RenderBR {BR} at (6 51,20) size 0x1816 RenderTextControl {INPUT} at (133,20) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 17 RenderFlexibleBox {DIV} at (3,3) size 138x13 18 RenderBlock {DIV} at (0,1) size 8x11 19 RenderBlock {DIV} at (8,0) size 117x13 20 RenderBlock {DIV} at (125,1) size 13x11 21 RenderText {#text} at (279,20) size 4x18 22 text run at (279,20) width 4: " " 23 RenderTextControl {INPUT} at (285,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 24 RenderText {#text} at (410,20) size 4x18 25 text run at (410,20) width 4: " " 26 RenderTextControl {INPUT} at (416,20) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 27 RenderFlexibleBox {DIV} at (3,3) size 138x13 28 RenderBlock {DIV} at (0,1) size 8x11 29 RenderBlock {DIV} at (8,0) size 117x13 30 RenderBlock {DIV} at (125,1) size 13x11 31 RenderText {#text} at (562,20) size 4x18 32 text run at (562,20) width 4: " " 33 RenderTextControl {INPUT} at (568,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 34 RenderBR {BR} at (693,20) size 0x18 35 35 RenderTextControl {INPUT} at (2,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 36 36 RenderText {#text} at (127,43) size 4x18 37 37 text run at (127,43) width 4: " " 38 RenderTextControl {INPUT} at (133,43) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]39 RenderFlexibleBox {DIV} at (3,3) size 1 17x1340 RenderBlock {DIV} at (0,1) size 8x11 41 RenderBlock {DIV} at (8,0) size 96x1342 RenderBlock {DIV} at (1 04,1) size 13x1143 RenderText {#text} at (2 58,43) size 4x1844 text run at (2 58,43) width 4: " "45 RenderTextControl {INPUT} at (2 64,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]46 RenderText {#text} at ( 389,43) size 4x1847 text run at ( 389,43) width 4: " "48 RenderTextControl {INPUT} at ( 395,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]49 RenderFlexibleBox {DIV} at (3,3) size 1 17x1350 RenderBlock {DIV} at (0,1) size 8x11 51 RenderBlock {DIV} at (8,0) size 96x1352 RenderBlock {DIV} at (1 04,1) size 13x1153 RenderText {#text} at (5 20,43) size 4x1854 text run at (5 20,43) width 4: " "55 RenderTextControl {INPUT} at (5 26,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]38 RenderTextControl {INPUT} at (133,43) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 39 RenderFlexibleBox {DIV} at (3,3) size 138x13 40 RenderBlock {DIV} at (0,1) size 8x11 41 RenderBlock {DIV} at (8,0) size 117x13 42 RenderBlock {DIV} at (125,1) size 13x11 43 RenderText {#text} at (279,43) size 4x18 44 text run at (279,43) width 4: " " 45 RenderTextControl {INPUT} at (285,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 46 RenderText {#text} at (410,43) size 4x18 47 text run at (410,43) width 4: " " 48 RenderTextControl {INPUT} at (416,43) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 49 RenderFlexibleBox {DIV} at (3,3) size 138x13 50 RenderBlock {DIV} at (0,1) size 8x11 51 RenderBlock {DIV} at (8,0) size 117x13 52 RenderBlock {DIV} at (125,1) size 13x11 53 RenderText {#text} at (562,43) size 4x18 54 text run at (562,43) width 4: " " 55 RenderTextControl {INPUT} at (568,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 56 56 RenderText {#text} at (0,0) size 0x0 57 57 RenderBlock {P} at (0,114) size 784x64 … … 62 62 RenderText {#text} at (127,20) size 4x18 63 63 text run at (127,20) width 4: " " 64 RenderTextControl {INPUT} at (133,20) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]65 RenderFlexibleBox {DIV} at (3,3) size 1 17x1366 RenderBlock {DIV} at (0,1) size 8x11 67 RenderBlock {DIV} at (8,0) size 96x1368 RenderBlock {DIV} at (1 04,1) size 13x1169 RenderText {#text} at (2 58,20) size 4x1870 text run at (2 58,20) width 4: " "71 RenderTextControl {INPUT} at (2 64,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]72 RenderText {#text} at ( 389,20) size 4x1873 text run at ( 389,20) width 4: " "74 RenderTextControl {INPUT} at ( 395,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]75 RenderFlexibleBox {DIV} at (3,3) size 1 17x1376 RenderBlock {DIV} at (0,1) size 8x11 77 RenderBlock {DIV} at (8,0) size 96x1378 RenderBlock {DIV} at (1 04,1) size 13x1179 RenderText {#text} at (5 20,20) size 4x1880 text run at (5 20,20) width 4: " "81 RenderTextControl {INPUT} at (5 26,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]82 RenderBR {BR} at (6 51,20) size 0x1864 RenderTextControl {INPUT} at (133,20) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 65 RenderFlexibleBox {DIV} at (3,3) size 138x13 66 RenderBlock {DIV} at (0,1) size 8x11 67 RenderBlock {DIV} at (8,0) size 117x13 68 RenderBlock {DIV} at (125,1) size 13x11 69 RenderText {#text} at (279,20) size 4x18 70 text run at (279,20) width 4: " " 71 RenderTextControl {INPUT} at (285,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 72 RenderText {#text} at (410,20) size 4x18 73 text run at (410,20) width 4: " " 74 RenderTextControl {INPUT} at (416,20) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 75 RenderFlexibleBox {DIV} at (3,3) size 138x13 76 RenderBlock {DIV} at (0,1) size 8x11 77 RenderBlock {DIV} at (8,0) size 117x13 78 RenderBlock {DIV} at (125,1) size 13x11 79 RenderText {#text} at (562,20) size 4x18 80 text run at (562,20) width 4: " " 81 RenderTextControl {INPUT} at (568,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 82 RenderBR {BR} at (693,20) size 0x18 83 83 RenderTextControl {INPUT} at (2,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 84 84 RenderText {#text} at (127,43) size 4x18 85 85 text run at (127,43) width 4: " " 86 RenderTextControl {INPUT} at (133,43) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]87 RenderFlexibleBox {DIV} at (3,3) size 1 17x1388 RenderBlock {DIV} at (0,1) size 8x11 89 RenderBlock {DIV} at (8,0) size 96x1390 RenderBlock {DIV} at (1 04,1) size 13x1191 RenderText {#text} at (2 58,43) size 4x1892 text run at (2 58,43) width 4: " "93 RenderTextControl {INPUT} at (2 64,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]94 RenderText {#text} at ( 389,43) size 4x1895 text run at ( 389,43) width 4: " "96 RenderTextControl {INPUT} at ( 395,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]97 RenderFlexibleBox {DIV} at (3,3) size 1 17x1398 RenderBlock {DIV} at (0,1) size 8x11 99 RenderBlock {DIV} at (8,0) size 96x13100 RenderBlock {DIV} at (1 04,1) size 13x11101 RenderText {#text} at (5 20,43) size 4x18102 text run at (5 20,43) width 4: " "103 RenderTextControl {INPUT} at (5 26,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]86 RenderTextControl {INPUT} at (133,43) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 87 RenderFlexibleBox {DIV} at (3,3) size 138x13 88 RenderBlock {DIV} at (0,1) size 8x11 89 RenderBlock {DIV} at (8,0) size 117x13 90 RenderBlock {DIV} at (125,1) size 13x11 91 RenderText {#text} at (279,43) size 4x18 92 text run at (279,43) width 4: " " 93 RenderTextControl {INPUT} at (285,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 94 RenderText {#text} at (410,43) size 4x18 95 text run at (410,43) width 4: " " 96 RenderTextControl {INPUT} at (416,43) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 97 RenderFlexibleBox {DIV} at (3,3) size 138x13 98 RenderBlock {DIV} at (0,1) size 8x11 99 RenderBlock {DIV} at (8,0) size 117x13 100 RenderBlock {DIV} at (125,1) size 13x11 101 RenderText {#text} at (562,43) size 4x18 102 text run at (562,43) width 4: " " 103 RenderTextControl {INPUT} at (568,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 104 104 RenderText {#text} at (0,0) size 0x0 105 105 RenderBlock {P} at (0,194) size 784x64 … … 131 131 layer at (13,73) size 117x13 132 132 RenderBlock {DIV} at (3,3) size 117x13 133 layer at (152,73) size 96x13 scrollWidth 296134 RenderBlock {DIV} at (11,3) size 96x13 [color=#A9A9A9]135 RenderText {#text} at (0,0) size 296x13 136 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 137 layer at (152,73) size 96x13138 RenderBlock {DIV} at (0,0) size 96x13139 layer at (2 75,73) size 117x13 scrollWidth 297140 RenderBlock {DIV} at (3,3) size 117x13 141 RenderText {#text} at (0,0) size 296x13 142 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 143 layer at (4 14,73) size 96x13 scrollWidth 297144 RenderBlock {DIV} at (0,0) size 96x13145 RenderText {#text} at (0,0) size 296x13 146 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 147 layer at (5 37,73) size 117x13 scrollWidth 341133 layer at (152,73) size 117x13 scrollWidth 296 134 RenderBlock {DIV} at (11,3) size 117x13 [color=#A9A9A9] 135 RenderText {#text} at (0,0) size 296x13 136 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 137 layer at (152,73) size 117x13 138 RenderBlock {DIV} at (0,0) size 117x13 139 layer at (296,73) size 117x13 scrollWidth 297 140 RenderBlock {DIV} at (3,3) size 117x13 141 RenderText {#text} at (0,0) size 296x13 142 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 143 layer at (435,73) size 117x13 scrollWidth 297 144 RenderBlock {DIV} at (0,0) size 117x13 145 RenderText {#text} at (0,0) size 296x13 146 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 147 layer at (579,73) size 117x13 scrollWidth 341 148 148 RenderBlock {DIV} at (3,3) size 117x13 149 149 RenderText {#text} at (0,0) size 340x13 … … 155 155 layer at (13,96) size 117x13 156 156 RenderBlock {DIV} at (3,3) size 117x13 157 layer at (152,96) size 96x13 scrollX 200scrollWidth 296158 RenderBlock {DIV} at (11,3) size 96x13 [color=#A9A9A9]159 RenderText {#text} at (-1 99,0) size 296x13160 text run at (-1 99,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit"161 layer at (152,96) size 96x13162 RenderBlock {DIV} at (0,0) size 96x13163 layer at (2 75,96) size 117x13 scrollX 179 scrollWidth 296164 RenderBlock {DIV} at (3,3) size 117x13 165 RenderText {#text} at (-178,0) size 296x13 166 text run at (-178,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 167 layer at (4 14,96) size 96x13 scrollX 200scrollWidth 296168 RenderBlock {DIV} at (0,0) size 96x13169 RenderText {#text} at (-1 99,0) size 296x13170 text run at (-1 99,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit"171 layer at (5 37,96) size 117x13 scrollX 223 scrollWidth 340157 layer at (152,96) size 117x13 scrollX 179 scrollWidth 296 158 RenderBlock {DIV} at (11,3) size 117x13 [color=#A9A9A9] 159 RenderText {#text} at (-178,0) size 296x13 160 text run at (-178,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 161 layer at (152,96) size 117x13 162 RenderBlock {DIV} at (0,0) size 117x13 163 layer at (296,96) size 117x13 scrollX 179 scrollWidth 296 164 RenderBlock {DIV} at (3,3) size 117x13 165 RenderText {#text} at (-178,0) size 296x13 166 text run at (-178,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 167 layer at (435,96) size 117x13 scrollX 179 scrollWidth 296 168 RenderBlock {DIV} at (0,0) size 117x13 169 RenderText {#text} at (-178,0) size 296x13 170 text run at (-178,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 171 layer at (579,96) size 117x13 scrollX 223 scrollWidth 340 172 172 RenderBlock {DIV} at (3,3) size 117x13 173 173 RenderText {#text} at (-222,0) size 340x13 … … 179 179 layer at (13,153) size 117x13 180 180 RenderBlock {DIV} at (3,3) size 117x13 181 layer at (152,153) size 96x13 scrollWidth 296182 RenderBlock {DIV} at (11,3) size 96x13 [color=#A9A9A9]183 RenderText {#text} at (0,0) size 296x13 184 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 185 layer at (152,153) size 96x13186 RenderBlock {DIV} at (0,0) size 96x13187 layer at (2 75,153) size 117x13 scrollWidth 297188 RenderBlock {DIV} at (3,3) size 117x13 189 RenderText {#text} at (0,0) size 296x13 190 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 191 layer at (4 14,153) size 96x13 scrollWidth 297192 RenderBlock {DIV} at (0,0) size 96x13193 RenderText {#text} at (0,0) size 296x13 194 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 195 layer at (5 37,153) size 117x13 scrollWidth 341181 layer at (152,153) size 117x13 scrollWidth 296 182 RenderBlock {DIV} at (11,3) size 117x13 [color=#A9A9A9] 183 RenderText {#text} at (0,0) size 296x13 184 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 185 layer at (152,153) size 117x13 186 RenderBlock {DIV} at (0,0) size 117x13 187 layer at (296,153) size 117x13 scrollWidth 297 188 RenderBlock {DIV} at (3,3) size 117x13 189 RenderText {#text} at (0,0) size 296x13 190 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 191 layer at (435,153) size 117x13 scrollWidth 297 192 RenderBlock {DIV} at (0,0) size 117x13 193 RenderText {#text} at (0,0) size 296x13 194 text run at (0,0) width 296: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 195 layer at (579,153) size 117x13 scrollWidth 341 196 196 RenderBlock {DIV} at (3,3) size 117x13 197 197 RenderText {#text} at (0,0) size 340x13 … … 203 203 layer at (13,176) size 117x13 204 204 RenderBlock {DIV} at (3,3) size 117x13 205 layer at (152,176) size 96x13 scrollX 200scrollWidth 296206 RenderBlock {DIV} at (11,3) size 96x13 [color=#A9A9A9]207 RenderText {#text} at (-1 99,0) size 296x13208 text run at (-1 99,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit"209 layer at (152,176) size 96x13210 RenderBlock {DIV} at (0,0) size 96x13211 layer at (2 75,176) size 117x13 scrollX 179 scrollWidth 296212 RenderBlock {DIV} at (3,3) size 117x13 213 RenderText {#text} at (-178,0) size 296x13 214 text run at (-178,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 215 layer at (4 14,176) size 96x13 scrollX 200scrollWidth 296216 RenderBlock {DIV} at (0,0) size 96x13217 RenderText {#text} at (-1 99,0) size 296x13218 text run at (-1 99,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit"219 layer at (5 37,176) size 117x13 scrollX 223 scrollWidth 340205 layer at (152,176) size 117x13 scrollX 179 scrollWidth 296 206 RenderBlock {DIV} at (11,3) size 117x13 [color=#A9A9A9] 207 RenderText {#text} at (-178,0) size 296x13 208 text run at (-178,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 209 layer at (152,176) size 117x13 210 RenderBlock {DIV} at (0,0) size 117x13 211 layer at (296,176) size 117x13 scrollX 179 scrollWidth 296 212 RenderBlock {DIV} at (3,3) size 117x13 213 RenderText {#text} at (-178,0) size 296x13 214 text run at (-178,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 215 layer at (435,176) size 117x13 scrollX 179 scrollWidth 296 216 RenderBlock {DIV} at (0,0) size 117x13 217 RenderText {#text} at (-178,0) size 296x13 218 text run at (-178,0) width 295: "Lorem ipsum dolor sit amet, consectetur adipiscing elit" 219 layer at (579,176) size 117x13 scrollX 223 scrollWidth 340 220 220 RenderBlock {DIV} at (3,3) size 117x13 221 221 RenderText {#text} at (-222,0) size 340x13 -
trunk/LayoutTests/platform/mac/fast/forms/box-shadow-override-expected.txt
r149210 r153647 11 11 text run at (0,0) width 257: "You should not see any red on this page." 12 12 RenderBlock {DIV} at (0,68) size 784x23 13 RenderTextControl {INPUT} at (2,2) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]14 RenderFlexibleBox {DIV} at (3,3) size 1 17x1313 RenderTextControl {INPUT} at (2,2) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 14 RenderFlexibleBox {DIV} at (3,3) size 138x13 15 15 RenderBlock {DIV} at (0,1) size 8x11 16 RenderBlock {DIV} at (8,0) size 96x1317 RenderBlock {DIV} at (1 04,1) size 13x1116 RenderBlock {DIV} at (8,0) size 117x13 17 RenderBlock {DIV} at (125,1) size 13x11 18 18 RenderText {#text} at (0,0) size 0x0 19 19 RenderBlock {DIV} at (0,91) size 784x23 20 RenderTextControl {INPUT} at (2,2) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]21 RenderFlexibleBox {DIV} at (3,3) size 1 17x1320 RenderTextControl {INPUT} at (2,2) size 153x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 21 RenderFlexibleBox {DIV} at (3,3) size 147x13 22 22 RenderBlock {DIV} at (0,1) size 17x11 23 RenderBlock {DIV} at (17,0) size 87x1324 RenderBlock {DIV} at (1 04,1) size 13x1123 RenderBlock {DIV} at (17,0) size 117x13 24 RenderBlock {DIV} at (134,1) size 13x11 25 25 RenderText {#text} at (0,0) size 0x0 26 26 RenderBlock {DIV} at (0,114) size 784x23 27 RenderTextControl {INPUT} at (2,2) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]28 RenderFlexibleBox {DIV} at (3,3) size 1 17x1327 RenderTextControl {INPUT} at (2,2) size 158x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 28 RenderFlexibleBox {DIV} at (3,3) size 152x13 29 29 RenderBlock {DIV} at (0,1) size 22x11 30 RenderBlock {DIV} at (22,0) size 82x1331 RenderBlock {DIV} at (1 04,1) size 13x1130 RenderBlock {DIV} at (22,0) size 117x13 31 RenderBlock {DIV} at (139,1) size 13x11 32 32 RenderText {#text} at (0,0) size 0x0 33 33 RenderBlock (anonymous) at (0,137) size 784x32 … … 74 74 text run at (0,0) width 64: "Button" 75 75 RenderText {#text} at (0,0) size 0x0 76 layer at (21,81) size 96x1377 RenderBlock {DIV} at (0,0) size 96x1376 layer at (21,81) size 117x13 77 RenderBlock {DIV} at (0,0) size 117x13 78 78 RenderText {#text} at (0,0) size 36x13 79 79 text run at (0,0) width 36: "Search" 80 layer at (30,104) size 87x1381 RenderBlock {DIV} at (0,0) size 87x1382 layer at (35,127) size 82x1383 RenderBlock {DIV} at (0,0) size 82x1380 layer at (30,104) size 117x13 81 RenderBlock {DIV} at (0,0) size 117x13 82 layer at (35,127) size 117x13 83 RenderBlock {DIV} at (0,0) size 117x13 -
trunk/LayoutTests/platform/mac/fast/forms/control-restrict-line-height-expected.txt
r149210 r153647 21 21 text run at (298,41) width 4: " " 22 22 RenderBR {BR} at (0,0) size 0x0 23 RenderTextControl {INPUT} at (2,64) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]24 RenderFlexibleBox {DIV} at (3,3) size 1 17x1323 RenderTextControl {INPUT} at (2,64) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 24 RenderFlexibleBox {DIV} at (3,3) size 138x13 25 25 RenderBlock {DIV} at (0,1) size 8x11 26 RenderBlock {DIV} at (8,0) size 96x1327 RenderBlock {DIV} at (1 04,1) size 13x1126 RenderBlock {DIV} at (8,0) size 117x13 27 RenderBlock {DIV} at (125,1) size 13x11 28 28 RenderText {#text} at (0,0) size 0x0 29 layer at (21,75) size 96x13 scrollWidth 27930 RenderBlock {DIV} at (0,0) size 96x1329 layer at (21,75) size 117x13 scrollWidth 279 30 RenderBlock {DIV} at (0,0) size 117x13 31 31 RenderText {#text} at (0,0) size 278x13 32 32 text run at (0,0) width 278: "This text should be centered vertically in the button" -
trunk/LayoutTests/platform/mac/fast/forms/input-appearance-height-expected.txt
r149210 r153647 89 89 RenderText {#text} at (0,237) size 44x18 90 90 text run at (0,237) width 44: "search " 91 RenderTextControl {INPUT} at (46,237) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]92 RenderFlexibleBox {DIV} at (3,3) size 1 17x1391 RenderTextControl {INPUT} at (46,237) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 92 RenderFlexibleBox {DIV} at (3,3) size 138x13 93 93 RenderBlock {DIV} at (0,1) size 8x11 94 RenderBlock {DIV} at (8,0) size 96x1395 RenderBlock {DIV} at (1 04,1) size 13x1194 RenderBlock {DIV} at (8,0) size 117x13 95 RenderBlock {DIV} at (125,1) size 13x11 96 96 RenderText {#text} at (0,0) size 0x0 97 97 layer at (49,31) size 117x13 … … 103 103 layer at (77,243) size 117x13 104 104 RenderBlock {DIV} at (3,3) size 117x13 105 layer at (65,266) size 96x13106 RenderBlock {DIV} at (0,0) size 96x13105 layer at (65,266) size 117x13 106 RenderBlock {DIV} at (0,0) size 117x13 -
trunk/LayoutTests/platform/mac/fast/forms/placeholder-pseudo-style-expected.txt
r145977 r153647 10 10 RenderText {#text} at (127,20) size 4x18 11 11 text run at (127,20) width 4: " " 12 RenderTextControl {INPUT} at (133,20) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]13 RenderFlexibleBox {DIV} at (3,3) size 1 17x1312 RenderTextControl {INPUT} at (133,20) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 13 RenderFlexibleBox {DIV} at (3,3) size 138x13 14 14 RenderBlock {DIV} at (0,1) size 8x11 15 RenderBlock {DIV} at (8,0) size 96x1316 RenderBlock {DIV} at (1 04,1) size 13x1117 RenderText {#text} at (2 58,20) size 4x1818 text run at (2 58,20) width 4: " "19 RenderTextControl {INPUT} at (2 64,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]20 RenderText {#text} at ( 389,20) size 4x1821 text run at ( 389,20) width 4: " "22 RenderTextControl {INPUT} at ( 395,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]23 RenderText {#text} at (5 20,20) size 4x1824 text run at (5 20,20) width 4: " "25 RenderTextControl {INPUT} at (5 26,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]26 RenderText {#text} at (6 51,20) size 4x1827 text run at (6 51,20) width 4: " "28 RenderTextControl {INPUT} at ( 657,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]15 RenderBlock {DIV} at (8,0) size 117x13 16 RenderBlock {DIV} at (125,1) size 13x11 17 RenderText {#text} at (279,20) size 4x18 18 text run at (279,20) width 4: " " 19 RenderTextControl {INPUT} at (285,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 20 RenderText {#text} at (410,20) size 4x18 21 text run at (410,20) width 4: " " 22 RenderTextControl {INPUT} at (416,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 23 RenderText {#text} at (541,20) size 4x18 24 text run at (541,20) width 4: " " 25 RenderTextControl {INPUT} at (547,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 26 RenderText {#text} at (672,20) size 4x18 27 text run at (672,20) width 4: " " 28 RenderTextControl {INPUT} at (2,43) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 29 29 RenderText {#text} at (0,0) size 0x0 30 30 layer at (13,31) size 117x13 … … 34 34 layer at (13,31) size 117x13 35 35 RenderBlock {DIV} at (3,3) size 117x13 36 layer at (152,31) size 96x1337 RenderBlock {DIV} at (11,3) size 96x13 [color=#640000]36 layer at (152,31) size 117x13 37 RenderBlock {DIV} at (11,3) size 117x13 [color=#640000] 38 38 RenderText {#text} at (0,0) size 35x13 39 39 text run at (0,0) width 35: "search" 40 layer at (152,31) size 96x1341 RenderBlock {DIV} at (0,0) size 96x1342 layer at (2 75,31) size 117x1340 layer at (152,31) size 117x13 41 RenderBlock {DIV} at (0,0) size 117x13 42 layer at (296,31) size 117x13 43 43 RenderBlock {DIV} at (3,3) size 117x13 [color=#640000] 44 44 RenderText {#text} at (0,0) size 51x13 45 45 text run at (0,0) width 51: "password" 46 layer at (2 75,31) size 117x1346 layer at (296,31) size 117x13 47 47 RenderBlock {DIV} at (3,3) size 117x13 48 layer at (4 06,31) size 117x1348 layer at (427,31) size 117x13 49 49 RenderBlock {DIV} at (3,3) size 117x13 [color=#640000] 50 50 RenderText {#text} at (0,0) size 70x13 51 51 text run at (0,0) width 70: "disabled text" 52 layer at (4 06,31) size 117x1352 layer at (427,31) size 117x13 53 53 RenderBlock {DIV} at (3,3) size 117x13 [color=#545454] 54 layer at (5 37,31) size 117x1354 layer at (558,31) size 117x13 55 55 RenderBlock {DIV} at (3,3) size 117x13 [color=#A9A9A9] 56 56 RenderText {#text} at (0,0) size 38x13 57 57 text run at (0,0) width 38: "default" 58 layer at (5 37,31) size 117x1358 layer at (558,31) size 117x13 59 59 RenderBlock {DIV} at (3,3) size 117x13 60 layer at ( 668,31) size 117x1360 layer at (13,54) size 117x13 61 61 RenderBlock {DIV} at (3,3) size 117x13 [color=#A9A9A9] 62 62 RenderText {#text} at (0,0) size 86x13 63 63 text run at (0,0) width 86: "default disabled" 64 layer at ( 668,31) size 117x1364 layer at (13,54) size 117x13 65 65 RenderBlock {DIV} at (3,3) size 117x13 -
trunk/LayoutTests/platform/mac/fast/forms/search-cancel-button-style-sharing-expected.txt
r145977 r153647 8 8 text run at (0,0) width 385: "Only the second search field should have a cancel button (\x{D7})." 9 9 RenderBlock (anonymous) at (0,34) size 784x23 10 RenderTextControl {INPUT} at (2,2) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]11 RenderFlexibleBox {DIV} at (3,3) size 1 17x1310 RenderTextControl {INPUT} at (2,2) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 11 RenderFlexibleBox {DIV} at (3,3) size 138x13 12 12 RenderBlock {DIV} at (0,1) size 8x11 13 RenderBlock {DIV} at (8,0) size 96x1314 RenderBlock {DIV} at (1 04,1) size 13x1115 RenderText {#text} at (1 27,2) size 4x1816 text run at (1 27,2) width 4: " "17 RenderTextControl {INPUT} at (1 33,2) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]18 RenderFlexibleBox {DIV} at (3,3) size 1 17x1313 RenderBlock {DIV} at (8,0) size 117x13 14 RenderBlock {DIV} at (125,1) size 13x11 15 RenderText {#text} at (148,2) size 4x18 16 text run at (148,2) width 4: " " 17 RenderTextControl {INPUT} at (154,2) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 18 RenderFlexibleBox {DIV} at (3,3) size 138x13 19 19 RenderBlock {DIV} at (0,1) size 8x11 20 RenderBlock {DIV} at (8,0) size 96x1321 RenderBlock {DIV} at (1 04,1) size 13x1120 RenderBlock {DIV} at (8,0) size 117x13 21 RenderBlock {DIV} at (125,1) size 13x11 22 22 RenderText {#text} at (0,0) size 0x0 23 layer at (21,47) size 96x1324 RenderBlock {DIV} at (0,0) size 96x1325 layer at (1 52,47) size 96x1326 RenderBlock {DIV} at (0,0) size 96x1323 layer at (21,47) size 117x13 24 RenderBlock {DIV} at (0,0) size 117x13 25 layer at (173,47) size 117x13 26 RenderBlock {DIV} at (0,0) size 117x13 27 27 RenderText {#text} at (0,0) size 43x13 28 28 text run at (0,0) width 43: "this one" -
trunk/LayoutTests/platform/mac/fast/forms/search-display-none-cancel-button-expected.txt
r145977 r153647 7 7 text run at (0,0) width 499: "This tests that the display:none style will work on a search field's cancel button." 8 8 RenderBR {BR} at (499,14) size 0x0 9 RenderTextControl {INPUT} at (2,20) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]10 RenderFlexibleBox {DIV} at (3,3) size 1 17x139 RenderTextControl {INPUT} at (2,20) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 10 RenderFlexibleBox {DIV} at (3,3) size 138x13 11 11 RenderBlock {DIV} at (0,1) size 8x11 12 RenderBlock {DIV} at (8,0) size 1 09x1312 RenderBlock {DIV} at (8,0) size 130x13 13 13 RenderText {#text} at (0,0) size 0x0 14 layer at (21,31) size 1 09x1315 RenderBlock {DIV} at (0,0) size 1 09x1314 layer at (21,31) size 130x13 15 RenderBlock {DIV} at (0,0) size 130x13 16 16 RenderText {#text} at (0,0) size 20x13 17 17 text run at (0,0) width 20: "test" -
trunk/LayoutTests/platform/mac/fast/forms/search-rtl-expected.txt
r149210 r153647 17 17 text run at (752,0) width 4: "." 18 18 RenderBlock {P} at (0,34) size 784x69 19 RenderTextControl {INPUT} at (2,2) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]20 RenderFlexibleBox {DIV} at (3,3) size 1 17x1319 RenderTextControl {INPUT} at (2,2) size 158x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 20 RenderFlexibleBox {DIV} at (3,3) size 152x13 21 21 RenderBlock {DIV} at (0,1) size 22x11 22 RenderBlock {DIV} at (22,0) size 82x1323 RenderBlock {DIV} at (1 04,1) size 13x1124 RenderText {#text} at (1 27,2) size 4x1825 text run at (1 27,2) width 4: " "22 RenderBlock {DIV} at (22,0) size 117x13 23 RenderBlock {DIV} at (139,1) size 13x11 24 RenderText {#text} at (162,2) size 4x18 25 text run at (162,2) width 4: " " 26 26 RenderBR {BR} at (0,0) size 0x0 27 RenderTextControl {INPUT} at (2,25) size 173x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]28 RenderFlexibleBox {DIV} at (3,3) size 167x1327 RenderTextControl {INPUT} at (2,25) size 208x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 28 RenderFlexibleBox {DIV} at (3,3) size 202x13 29 29 RenderBlock {DIV} at (0,1) size 22x11 30 RenderBlock {DIV} at (22,0) size 1 32x1331 RenderBlock {DIV} at (1 54,1) size 13x1132 RenderText {#text} at ( 177,25) size 4x1833 text run at ( 177,25) width 4: " "30 RenderBlock {DIV} at (22,0) size 167x13 31 RenderBlock {DIV} at (189,1) size 13x11 32 RenderText {#text} at (212,25) size 4x18 33 text run at (212,25) width 4: " " 34 34 RenderBR {BR} at (0,0) size 0x0 35 RenderTextControl {INPUT} at (2,48) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]36 RenderFlexibleBox {DIV} at (3,3) size 1 17x1335 RenderTextControl {INPUT} at (2,48) size 158x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 36 RenderFlexibleBox {DIV} at (3,3) size 152x13 37 37 RenderBlock {DIV} at (0,1) size 22x11 38 RenderBlock {DIV} at (22,0) size 82x1339 RenderBlock {DIV} at (1 04,1) size 13x1138 RenderBlock {DIV} at (22,0) size 117x13 39 RenderBlock {DIV} at (139,1) size 13x11 40 40 RenderText {#text} at (0,0) size 0x0 41 41 RenderBlock {P} at (0,119) size 784x18 42 42 RenderText {#text} at (0,0) size 39x18 43 43 text run at (0,0) width 39: "PASS" 44 layer at (35,47) size 82x13 scrollX 53scrollWidth 13545 RenderBlock {DIV} at (0,0) size 82x1346 RenderText {#text} at (- 52,0) size 135x1347 text run at (- 52,0) width 22 RTL: " \x{5D5}\x{5D6}\x{5D4}\x{5D5}"48 text run at ( -30,0) width 19: "she"49 text run at ( -11,0) width 44RTL: " \x{5D5}\x{5D4}\x{5D9}\x{5D0} \x{5D6}\x{5D4} "50 text run at ( 32,0) width 14: "he"51 text run at ( 45,0) width 37 RTL: "\x{5D4}\x{5D5}\x{5D0} \x{5D6}\x{5D4} "52 layer at (35,70) size 1 32x13 scrollX 3 scrollWidth 13553 RenderBlock {DIV} at (0,0) size 1 32x1354 RenderText {#text} at ( -2,0) size 135x1355 text run at ( -2,0) width 22RTL: " \x{5D5}\x{5D6}\x{5D4}\x{5D5}"56 text run at ( 19,0) width 20: "she"57 text run at ( 38,0) width 45 RTL: " \x{5D5}\x{5D4}\x{5D9}\x{5D0} \x{5D6}\x{5D4} "58 text run at ( 82,0) width 14: "he"59 text run at ( 95,0) width 37 RTL: "\x{5D4}\x{5D5}\x{5D0} \x{5D6}\x{5D4} "60 layer at (35,93) size 82x1361 RenderBlock {DIV} at (0,0) size 82x1344 layer at (35,47) size 117x13 scrollX 18 scrollWidth 135 45 RenderBlock {DIV} at (0,0) size 117x13 46 RenderText {#text} at (-17,0) size 135x13 47 text run at (-17,0) width 22 RTL: " \x{5D5}\x{5D6}\x{5D4}\x{5D5}" 48 text run at (4,0) width 20: "she" 49 text run at (23,0) width 45 RTL: " \x{5D5}\x{5D4}\x{5D9}\x{5D0} \x{5D6}\x{5D4} " 50 text run at (67,0) width 14: "he" 51 text run at (80,0) width 37 RTL: "\x{5D4}\x{5D5}\x{5D0} \x{5D6}\x{5D4} " 52 layer at (35,70) size 167x13 53 RenderBlock {DIV} at (0,0) size 167x13 54 RenderText {#text} at (32,0) size 135x13 55 text run at (32,0) width 23 RTL: " \x{5D5}\x{5D6}\x{5D4}\x{5D5}" 56 text run at (54,0) width 20: "she" 57 text run at (73,0) width 45 RTL: " \x{5D5}\x{5D4}\x{5D9}\x{5D0} \x{5D6}\x{5D4} " 58 text run at (117,0) width 14: "he" 59 text run at (130,0) width 37 RTL: "\x{5D4}\x{5D5}\x{5D0} \x{5D6}\x{5D4} " 60 layer at (35,93) size 117x13 61 RenderBlock {DIV} at (0,0) size 117x13 62 62 caret: position 0 of child 0 {DIV} of child 1 {DIV} of child 0 {DIV} of {#document-fragment} of child 9 {INPUT} of child 3 {P} of body -
trunk/LayoutTests/platform/mac/fast/forms/search-styled-expected.txt
r145977 r153647 4 4 RenderBlock {HTML} at (0,0) size 800x39 5 5 RenderBody {BODY} at (8,8) size 784x23 6 RenderTextControl {INPUT} at (2,2) size 1 23x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]7 RenderFlexibleBox {DIV} at (3,3) size 1 17x136 RenderTextControl {INPUT} at (2,2) size 158x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 7 RenderFlexibleBox {DIV} at (3,3) size 152x13 8 8 RenderBlock {DIV} at (0,1) size 22x11 9 RenderBlock {DIV} at (22,0) size 82x1310 RenderBlock {DIV} at (1 04,1) size 13x119 RenderBlock {DIV} at (22,0) size 117x13 10 RenderBlock {DIV} at (139,1) size 13x11 11 11 RenderText {#text} at (0,0) size 0x0 12 layer at (35,13) size 82x13 scrollWidth 9213 RenderBlock {DIV} at (25,3) size 82x13 [color=#A9A9A9]12 layer at (35,13) size 117x13 13 RenderBlock {DIV} at (25,3) size 117x13 [color=#A9A9A9] 14 14 RenderText {#text} at (0,0) size 92x13 15 15 text run at (0,0) width 92: "Search for Events" 16 layer at (35,13) size 82x1317 RenderBlock {DIV} at (0,0) size 82x1316 layer at (35,13) size 117x13 17 RenderBlock {DIV} at (0,0) size 117x13 -
trunk/LayoutTests/platform/mac/fast/forms/search-vertical-alignment-expected.txt
r149210 r153647 12 12 text run at (459,18) width 122: "same in both fields." 13 13 RenderBlock {P} at (0,52) size 784x45 14 RenderTextControl {INPUT} at (2,0) size 1 23x45 [bgcolor=#FFFFFF] [border: (2px inset #000000)]15 RenderFlexibleBox {DIV} at (3,3) size 1 17x3914 RenderTextControl {INPUT} at (2,0) size 153x45 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 15 RenderFlexibleBox {DIV} at (3,3) size 147x39 16 16 RenderBlock {DIV} at (0,14) size 17x11 17 RenderBlock {DIV} at (17,13) size 87x1318 RenderBlock {DIV} at (1 04,14) size 13x1119 RenderText {#text} at (1 27,13) size 4x1820 text run at (1 27,13) width 4: " "21 RenderTextControl {INPUT} at (1 33,0) size 123x45 [bgcolor=#FFFFFF] [border: (2px inset #000000)]17 RenderBlock {DIV} at (17,13) size 117x13 18 RenderBlock {DIV} at (134,14) size 13x11 19 RenderText {#text} at (157,13) size 4x18 20 text run at (157,13) width 4: " " 21 RenderTextControl {INPUT} at (163,0) size 123x45 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 22 22 RenderText {#text} at (0,0) size 0x0 23 23 RenderBlock {P} at (0,113) size 784x18 24 RenderTextControl {INPUT} at (2,2) size 1 23x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)]25 RenderFlexibleBox {DIV} at (3,1) size 1 17x1324 RenderTextControl {INPUT} at (2,2) size 153x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 25 RenderFlexibleBox {DIV} at (3,1) size 147x13 26 26 RenderBlock {DIV} at (0,1) size 17x11 27 RenderBlock {DIV} at (17,0) size 87x1328 RenderBlock {DIV} at (1 04,1) size 13x1129 RenderText {#text} at (1 27,0) size 4x1830 text run at (1 27,0) width 4: " "31 RenderTextControl {INPUT} at (1 33,2) size 123x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)]27 RenderBlock {DIV} at (17,0) size 117x13 28 RenderBlock {DIV} at (134,1) size 13x11 29 RenderText {#text} at (157,0) size 4x18 30 text run at (157,0) width 4: " " 31 RenderTextControl {INPUT} at (163,2) size 123x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 32 32 RenderText {#text} at (0,0) size 0x0 33 33 RenderBlock {P} at (0,147) size 784x18 34 RenderTextControl {INPUT} at (2,2) size 1 23x12 [bgcolor=#FFFFFF] [border: (2px inset #000000)]35 RenderFlexibleBox {DIV} at (3,0) size 1 17x1234 RenderTextControl {INPUT} at (2,2) size 153x12 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 35 RenderFlexibleBox {DIV} at (3,0) size 147x12 36 36 RenderBlock {DIV} at (0,0) size 17x11 37 RenderBlock {DIV} at (17,3) size 87x638 RenderBlock {DIV} at (1 04,0) size 13x1139 RenderText {#text} at (1 27,0) size 4x1840 text run at (1 27,0) width 4: " "41 RenderTextControl {INPUT} at (1 33,2) size 123x12 [bgcolor=#FFFFFF] [border: (2px inset #000000)]37 RenderBlock {DIV} at (17,3) size 117x6 38 RenderBlock {DIV} at (134,0) size 13x11 39 RenderText {#text} at (157,0) size 4x18 40 text run at (157,0) width 4: " " 41 RenderTextControl {INPUT} at (163,2) size 123x12 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 42 42 RenderText {#text} at (0,0) size 0x0 43 layer at (30,76) size 87x1344 RenderBlock {DIV} at (0,0) size 87x1343 layer at (30,76) size 117x13 44 RenderBlock {DIV} at (0,0) size 117x13 45 45 RenderText {#text} at (0,0) size 24x13 46 46 text run at (0,0) width 24: "Text" 47 layer at (1 44,76) size 117x1347 layer at (174,76) size 117x13 48 48 RenderBlock {DIV} at (3,16) size 117x13 49 49 RenderText {#text} at (0,0) size 24x13 50 50 text run at (0,0) width 24: "Text" 51 layer at (30,124) size 87x1352 RenderBlock {DIV} at (0,0) size 87x1351 layer at (30,124) size 117x13 52 RenderBlock {DIV} at (0,0) size 117x13 53 53 RenderText {#text} at (0,0) size 24x13 54 54 text run at (0,0) width 24: "Text" 55 layer at (1 44,124) size 117x1355 layer at (174,124) size 117x13 56 56 RenderBlock {DIV} at (3,1) size 117x13 57 57 RenderText {#text} at (0,0) size 24x13 58 58 text run at (0,0) width 24: "Text" 59 layer at (30,160) size 87x6 scrollHeight 1360 RenderBlock {DIV} at (0,0) size 87x659 layer at (30,160) size 117x6 scrollHeight 13 60 RenderBlock {DIV} at (0,0) size 117x6 61 61 RenderText {#text} at (0,0) size 24x13 62 62 text run at (0,0) width 24: "Text" 63 layer at (1 44,160) size 117x6 scrollHeight 1363 layer at (174,160) size 117x6 scrollHeight 13 64 64 RenderBlock {DIV} at (3,3) size 117x6 65 65 RenderText {#text} at (0,0) size 24x13 -
trunk/LayoutTests/platform/mac/fast/forms/searchfield-heights-expected.txt
r149210 r153647 7 7 text run at (0,0) width 368: "This tests that aqua-style search fields do not honor height." 8 8 RenderBR {BR} at (368,14) size 0x0 9 RenderTextControl {INPUT} at (0,22) size 1 00x17 [bgcolor=#FFFFFF] [border: (2px inset #000000)]10 RenderFlexibleBox {DIV} at (3,3) size 94x119 RenderTextControl {INPUT} at (0,22) size 121x17 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 10 RenderFlexibleBox {DIV} at (3,3) size 115x11 11 11 RenderBlock {DIV} at (0,1) size 8x9 12 RenderBlock {DIV} at (8,0) size 73x1113 RenderBlock {DIV} at ( 81,1) size 13x914 RenderText {#text} at (1 00,20) size 4x1815 text run at (1 00,20) width 4: " "16 RenderTextControl {INPUT} at (1 06,20) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]17 RenderFlexibleBox {DIV} at (3,3) size 1 17x1312 RenderBlock {DIV} at (8,0) size 94x11 13 RenderBlock {DIV} at (102,1) size 13x9 14 RenderText {#text} at (121,20) size 4x18 15 text run at (121,20) width 4: " " 16 RenderTextControl {INPUT} at (127,20) size 144x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 17 RenderFlexibleBox {DIV} at (3,3) size 138x13 18 18 RenderBlock {DIV} at (0,1) size 8x11 19 RenderBlock {DIV} at (8,0) size 96x1320 RenderBlock {DIV} at (1 04,1) size 13x1121 RenderText {#text} at (2 31,20) size 4x1822 text run at (2 31,20) width 4: " "23 RenderTextControl {INPUT} at (2 37,18) size 146x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]24 RenderFlexibleBox {DIV} at (3,3) size 1 40x1619 RenderBlock {DIV} at (8,0) size 117x13 20 RenderBlock {DIV} at (125,1) size 13x11 21 RenderText {#text} at (273,20) size 4x18 22 text run at (273,20) width 4: " " 23 RenderTextControl {INPUT} at (279,18) size 172x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 24 RenderFlexibleBox {DIV} at (3,3) size 166x16 25 25 RenderBlock {DIV} at (0,1) size 10x13 26 RenderBlock {DIV} at (10,0) size 1 14x1627 RenderBlock {DIV} at (1 24,1) size 16x1326 RenderBlock {DIV} at (10,0) size 140x16 27 RenderBlock {DIV} at (150,1) size 16x13 28 28 RenderText {#text} at (0,0) size 0x0 29 layer at (19,33) size 73x1130 RenderBlock {DIV} at (0,0) size 73x1129 layer at (19,33) size 94x11 30 RenderBlock {DIV} at (0,0) size 94x11 31 31 RenderText {#text} at (0,0) size 20x11 32 32 text run at (0,0) width 20: "mini" 33 layer at (1 25,31) size 96x1334 RenderBlock {DIV} at (0,0) size 96x1333 layer at (146,31) size 117x13 34 RenderBlock {DIV} at (0,0) size 117x13 35 35 RenderText {#text} at (0,0) size 29x13 36 36 text run at (0,0) width 29: "small" 37 layer at ( 258,29) size 114x1638 RenderBlock {DIV} at (0,0) size 1 14x1637 layer at (300,29) size 140x16 38 RenderBlock {DIV} at (0,0) size 140x16 39 39 RenderText {#text} at (0,0) size 45x16 40 40 text run at (0,0) width 45: "regular" -
trunk/Source/WebCore/ChangeLog
r153645 r153647 1 2013-08-02 Antoine Quint <graouts@apple.com> 2 3 <input type="search"> doesn't correctly handle the "size" attribute 4 https://bugs.webkit.org/show_bug.cgi?id=119174 5 6 We weren't taking into account the decorations for search fields (results and close buttons) 7 when computing the preferred logical width for these fields based on the "size" attribute 8 and as a result we would not guarantee that we could show the number of characters set by 9 the "size" attribute. 10 11 To make the process of reporting extra width due to decorations cleaner, we add a new decorationWidth() 12 method for InputType subclasses to override and called through HTMLInputElement::decorationWidth() 13 and have NumberInputType and SearchInputType return custom decoration widths. 14 15 Reviewed by Darin Adler. 16 17 Test: fast/forms/search/search-size-with-decorations.html 18 19 * html/HTMLInputElement.cpp: 20 (WebCore::HTMLInputElement::decorationWidth): 21 * html/HTMLInputElement.h: 22 * html/InputType.cpp: 23 (WebCore::InputType::decorationWidth): 24 * html/InputType.h: 25 Expose a new method to get the width for the input's decoration through the InputType. 26 27 * html/NumberInputType.cpp: 28 (WebCore::NumberInputType::decorationWidth): 29 * html/NumberInputType.h: 30 Override InputType::decorationWidth() to return the decoration width for a number input 31 using the same code previously used in RenderTextControlSingleLine::preferredContentLogicalWidth(). 32 33 * html/SearchInputType.cpp: 34 (WebCore::SearchInputType::sizeShouldIncludeDecoration): 35 Override InputType::sizeShouldIncludeDecoration() to return true since search fields 36 have custom decoration adding to the size of the field. 37 38 (WebCore::SearchInputType::decorationWidth): 39 Return the combined size of the results and cancel buttons, as available. 40 * html/SearchInputType.h: 41 42 * rendering/RenderTextControlSingleLine.cpp: 43 (WebCore::RenderTextControlSingleLine::preferredContentLogicalWidth): 44 Remove the code specific to NumberInputType (which was moved to InputType::decorationWidth()) 45 and replace it with a call to HTMLInputElement::decorationWidth() since this method will now 46 return the extra decoration width for an input element should it have any. 47 1 48 2013-08-02 Patrick Gansterer <paroga@webkit.org> 2 49 -
trunk/Source/WebCore/html/HTMLInputElement.cpp
r153541 r153647 936 936 } 937 937 938 float HTMLInputElement::decorationWidth() const 939 { 940 return m_inputType->decorationWidth(); 941 } 942 938 943 void HTMLInputElement::copyNonAttributePropertiesFromElement(const Element& source) 939 944 { -
trunk/Source/WebCore/html/HTMLInputElement.h
r153541 r153647 151 151 int size() const; 152 152 bool sizeShouldIncludeDecoration(int& preferredSize) const; 153 float decorationWidth() const; 153 154 154 155 void setType(const String&); -
trunk/Source/WebCore/html/InputType.cpp
r150876 r153647 315 315 } 316 316 317 float InputType::decorationWidth() const 318 { 319 return 0; 320 } 321 317 322 bool InputType::isInRange(const String& value) const 318 323 { -
trunk/Source/WebCore/html/InputType.h
r151947 r153647 167 167 double maximum() const; 168 168 virtual bool sizeShouldIncludeDecoration(int defaultSize, int& preferredSize) const; 169 virtual float decorationWidth() const; 169 170 bool stepMismatch(const String&) const; 170 171 virtual bool getAllowedValueStep(Decimal*) const; -
trunk/Source/WebCore/html/NumberInputType.cpp
r151947 r153647 203 203 } 204 204 205 float NumberInputType::decorationWidth() const 206 { 207 float width = 0; 208 HTMLElement* spinButton = element()->innerSpinButtonElement(); 209 if (RenderBox* spinRenderer = spinButton ? spinButton->renderBox() : 0) { 210 width += spinRenderer->borderAndPaddingLogicalWidth(); 211 // Since the width of spinRenderer is not calculated yet, spinRenderer->logicalWidth() returns 0. 212 // So computedStyle()->logicalWidth() is used instead. 213 width += spinButton->computedStyle()->logicalWidth().value(); 214 } 215 return width; 216 } 217 205 218 bool NumberInputType::isSteppable() const 206 219 { -
trunk/Source/WebCore/html/NumberInputType.h
r141086 r153647 51 51 virtual bool typeMismatch() const OVERRIDE; 52 52 virtual bool sizeShouldIncludeDecoration(int defaultSize, int& preferredSize) const OVERRIDE; 53 virtual float decorationWidth() const OVERRIDE; 53 54 virtual bool isSteppable() const OVERRIDE; 54 55 virtual StepRange createStepRange(AnyStepHandling) const OVERRIDE; -
trunk/Source/WebCore/html/SearchInputType.cpp
r142375 r153647 193 193 } 194 194 195 bool SearchInputType::sizeShouldIncludeDecoration(int, int& preferredSize) const 196 { 197 preferredSize = element()->size(); 198 return true; 199 } 200 201 float SearchInputType::decorationWidth() const 202 { 203 float width = 0; 204 if (m_resultsButton) 205 width += m_resultsButton->computedStyle()->logicalWidth().value(); 206 if (m_cancelButton) 207 width += m_cancelButton->computedStyle()->logicalWidth().value(); 208 return width; 209 } 210 195 211 } // namespace WebCore -
trunk/Source/WebCore/html/SearchInputType.h
r141086 r153647 61 61 virtual void handleKeydownEvent(KeyboardEvent*) OVERRIDE; 62 62 virtual void didSetValueByUserEdit(ValueChangeState) OVERRIDE; 63 virtual bool sizeShouldIncludeDecoration(int defaultSize, int& preferredSize) const OVERRIDE; 64 virtual float decorationWidth() const OVERRIDE; 63 65 64 66 void searchEventTimerFired(Timer<SearchInputType>*); -
trunk/Source/WebCore/rendering/RenderTextControlSingleLine.cpp
r151695 r153647 338 338 result += maxCharWidth - charWidth; 339 339 340 if (includesDecoration) { 341 HTMLElement* spinButton = innerSpinButtonElement(); 342 if (RenderBox* spinRenderer = spinButton ? spinButton->renderBox() : 0) { 343 result += spinRenderer->borderAndPaddingLogicalWidth(); 344 // Since the width of spinRenderer is not calculated yet, spinRenderer->logicalWidth() returns 0. 345 // So computedStyle()->logicalWidth() is used instead. 346 result += spinButton->computedStyle()->logicalWidth().value(); 347 } 348 } 340 if (includesDecoration) 341 result += inputElement()->decorationWidth(); 349 342 350 343 return result;
Note:
See TracChangeset
for help on using the changeset viewer.