Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: third_party/WebKit/LayoutTests/platform/win/fast/replaced/table-percent-height-text-controls-expected.txt

Issue 2535173006: Percent height border-box content should get correct height in percent height cells (Closed)
Patch Set: bug 669867 Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 1
2 2
3 3
4 4
5 5
6 6
7 This test checks that text controls with percentage heights within table cells h ave the correct height.Text controls are in a different test than other replaced elements because their metrics are platform-specific. 7 This test checks that text controls with percentage heights within table cells h ave the correct height.Text controls are in a different test than other replaced elements because their metrics are platform-specific.The reason a 75% control i s the same height as a 100% control is because a replaced element that depends o n theheight of its parent cell is treated as auto. So by itself it will set the height of the row. See https://drafts.csswg.org/css-tables-3/#row-layout
8 8
9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
10 10
11 11
12 PASS successfullyParsed is true 12 PASS successfullyParsed is true
13 13
14 TEST COMPLETE 14 TEST COMPLETE
15 PASS getWidth('input-password-75') is getWidth('input-password-100') 15 PASS getWidth('input-password-75') is getWidth('input-password-100')
16 PASS getFullHeight('input-password-75') != '0px' is true 16 PASS getFullHeight('input-password-75') != '0px' is true
17 FAIL getFullHeight('input-password-75') [16.5px] is not 75% of getFullHeight('in put-password-100') [22px]. 17 PASS getFullHeight('input-password-75') is getFullHeight('input-password-100')
18 PASS getWidth('input-text-75') is getWidth('input-text-100') 18 PASS getWidth('input-text-75') is getWidth('input-text-100')
19 PASS getFullHeight('input-text-75') != '0px' is true 19 PASS getFullHeight('input-text-75') != '0px' is true
20 FAIL getFullHeight('input-text-75') [16.5px] is not 75% of getFullHeight('input- text-100') [22px]. 20 PASS getFullHeight('input-text-75') is getFullHeight('input-text-100')
21 PASS getWidth('textarea-75') is getWidth('textarea-100') 21 PASS getWidth('textarea-75') is getWidth('textarea-100')
22 PASS getFullHeight('textarea-75') != '0px' is true 22 PASS getFullHeight('textarea-75') != '0px' is true
23 PASS getFullHeight('textarea-75') is 75% of getFullHeight('textarea-100'). 23 PASS getFullHeight('textarea-75') is getFullHeight('textarea-100')
24 PASS successfullyParsed is true 24 PASS successfullyParsed is true
25 25
26 TEST COMPLETE 26 TEST COMPLETE
27 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698