Changeset 155324 in webkit
- Timestamp:
- Sep 8, 2013 11:55:18 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r155323 r155324 1 2013-09-08 Gurpreet Kaur <k.gurpreet@samsung.com> 2 3 defining line height affects height of text box 4 https://bugs.webkit.org/show_bug.cgi?id=17619 5 6 Reviewed by Darin Adler. 7 8 * fast/dom/HTMLInputElement/input-line-height-expected.txt: Added. 9 * fast/dom/HTMLInputElement/input-line-height.html: Added. 10 11 Added new test for verifying that giving line-height to input element 12 has no affect on its height. 13 14 * fast/forms/placeholder-position-expected.txt: 15 * platform/mac/fast/forms/placeholder-position-expected.png: 16 17 Rebaselining existing tests as per the new behavior. The position 18 of input elements have been modified since line-height is not being 19 considered. 20 1 21 2013-09-08 Gurpreet Kaur <k.gurpreet@samsung.com> 2 22 -
trunk/LayoutTests/fast/forms/placeholder-position-expected.txt
r153647 r155324 30 30 RenderTextControl {INPUT} at (5,219) size 174x30 [bgcolor=#FFFFFF] [border: (5px solid #000000)] 31 31 RenderBR {BR} at (184,240) size 0x0 32 RenderTextControl {INPUT} at (2,256) size 123x 31[bgcolor=#FFFFFF] [border: (2px inset #000000)]33 RenderText {#text} at (127,2 62) size 4x1834 text run at (127,2 62) width 4: " "35 RenderTextControl {INPUT} at (133,256) size 123x 31[bgcolor=#FFFFFF] [border: (2px inset #000000)]36 RenderText {#text} at (258,2 62) size 4x1837 text run at (258,2 62) width 4: " "38 RenderBR {BR} at (262,27 6) size 0x039 RenderTextControl {INPUT} at (2,2 91) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]40 RenderText {#text} at (127,2 91) size 4x1841 text run at (127,2 91) width 4: " "42 RenderTextControl {INPUT} at (133,2 91) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]43 RenderText {#text} at (258,2 91) size 4x1844 text run at (258,2 91) width 4: " "45 RenderTextControl {INPUT} at (264,2 91) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]46 RenderText {#text} at (389,2 91) size 4x1847 text run at (389,2 91) width 4: " "48 RenderBR {BR} at (393, 305) size 0x049 RenderBR {BR} at (127,3 42) size 0x032 RenderTextControl {INPUT} at (2,256) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 33 RenderText {#text} at (127,256) size 4x18 34 text run at (127,256) width 4: " " 35 RenderTextControl {INPUT} at (133,256) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 36 RenderText {#text} at (258,256) size 4x18 37 text run at (258,256) width 4: " " 38 RenderBR {BR} at (262,270) size 0x0 39 RenderTextControl {INPUT} at (2,279) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 40 RenderText {#text} at (127,279) size 4x18 41 text run at (127,279) width 4: " " 42 RenderTextControl {INPUT} at (133,279) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 43 RenderText {#text} at (258,279) size 4x18 44 text run at (258,279) width 4: " " 45 RenderTextControl {INPUT} at (264,279) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 46 RenderText {#text} at (389,279) size 4x18 47 text run at (389,279) width 4: " " 48 RenderBR {BR} at (393,293) size 0x0 49 RenderBR {BR} at (127,330) size 0x0 50 50 layer at (21,13) size 117x13 51 51 RenderBlock {DIV} at (11,3) size 117x13 [color=#A9A9A9] … … 96 96 layer at (19,233) size 162x18 97 97 RenderBlock {DIV} at (6,6) size 162x18 98 layer at (13,267) size 117x 2599 RenderBlock {DIV} at (3,3) size 117x 25100 RenderText {#text} at (0, 6) size 30x13101 text run at (0, 6) width 30: "Value"102 layer at (144,267) size 117x 25103 RenderBlock {DIV} at (3,3) size 117x 25[color=#A9A9A9]104 RenderText {#text} at (0, 6) size 63x13105 text run at (0, 6) width 63: "placeholder"106 layer at (144,267) size 117x 25107 RenderBlock {DIV} at (3,3) size 117x 25108 layer at (13, 302) size 117x1398 layer at (13,267) size 117x13 99 RenderBlock {DIV} at (3,3) size 117x13 100 RenderText {#text} at (0,0) size 30x13 101 text run at (0,0) width 30: "Value" 102 layer at (144,267) size 117x13 103 RenderBlock {DIV} at (3,3) size 117x13 [color=#A9A9A9] 104 RenderText {#text} at (0,0) size 63x13 105 text run at (0,0) width 63: "placeholder" 106 layer at (144,267) size 117x13 107 RenderBlock {DIV} at (3,3) size 117x13 108 layer at (13,290) size 117x13 109 109 RenderBlock {DIV} at (3,3) size 117x13 110 110 RenderText {#text} at (43,0) size 31x13 111 111 text run at (43,0) width 31: "Value" 112 layer at (144, 302) size 117x13112 layer at (144,290) size 117x13 113 113 RenderBlock {DIV} at (3,3) size 117x13 [color=#A9A9A9] 114 114 RenderText {#text} at (27,0) size 63x13 115 115 text run at (27,0) width 63: "placeholder" 116 layer at (144, 302) size 117x13116 layer at (144,290) size 117x13 117 117 RenderBlock {DIV} at (3,3) size 117x13 118 layer at (275, 302) size 117x13118 layer at (275,290) size 117x13 119 119 RenderBlock {DIV} at (3,3) size 117x13 [color=#A9A9A9] 120 120 RenderText {#text} at (27,0) size 63x13 121 121 text run at (27,0) width 63: "placeholder" 122 layer at (275, 302) size 117x13122 layer at (275,290) size 117x13 123 123 RenderBlock {DIV} at (3,3) size 117x13 124 layer at (10,3 22) size 123x33125 RenderTextControl {INPUT} at (2,3 14) size 123x33 [bgcolor=#FFFFFF] [border: (2px inset #000000)]126 layer at (13,3 39) size 117x13124 layer at (10,310) size 123x33 125 RenderTextControl {INPUT} at (2,302) size 123x33 [bgcolor=#FFFFFF] [border: (2px inset #000000)] 126 layer at (13,327) size 117x13 127 127 RenderBlock {DIV} at (3,17) size 117x13 [color=#A9A9A9] 128 128 RenderText {#text} at (0,0) size 63x13 129 129 text run at (0,0) width 63: "placeholder" 130 layer at (13,3 39) size 117x13130 layer at (13,327) size 117x13 131 131 RenderBlock {DIV} at (3,17) size 117x13 -
trunk/Source/WebCore/ChangeLog
r155323 r155324 1 2013-09-08 Gurpreet Kaur <k.gurpreet@samsung.com> 2 3 defining line height affects height of text box 4 https://bugs.webkit.org/show_bug.cgi?id=17619 5 6 Reviewed by Darin Adler. 7 8 Giving line height to input elements increase the height 9 of the element. To make it work similiar as Mozilla and IE 10 line-height :normal should be applied for input elements. 11 12 Test: fast/dom/HTMLInputElement/input-line-height.html 13 14 * css/html.css: 15 (input): 16 Made the line-height: normal as !important so that it does not 17 consider any other line-height specified through internal or 18 external styles. 19 1 20 2013-09-08 Gurpreet Kaur <k.gurpreet@samsung.com> 2 21 -
trunk/Source/WebCore/css/html.css
r154858 r155324 412 412 } 413 413 414 input { 415 line-height: normal !important; 416 } 417 414 418 input[type="hidden"] { 415 419 display: none
Note: See TracChangeset
for help on using the changeset viewer.