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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-metrics-expected.txt

Issue 1522803002: Move textarea-related tests to fast/forms/textarea/, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@color-uaf
Patch Set: Created 5 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 This test checks that textareas have the right metrics. These numbers match IE7 except for scrollHeight. For two reasons: 1 This test checks that textareas have the right metrics. These numbers match IE7 except for scrollHeight. For two reasons:
2 1. scrollHeight is different for elements without enough content to cause scroll because IE7 then reports the height of the text inside the element as the scrol lHeight. IE8 reports has scrollHeight == offsetHeight. Gecko/WebKit have scrollH eight == clientHeight. 2 1. scrollHeight is different for elements without enough content to cause scroll because IE7 then reports the height of the text inside the element as the scrol lHeight. IE8 reports has scrollHeight == offsetHeight. Gecko/WebKit have scrollH eight == clientHeight.
3 2. For the elements with scroll in standards-mode, IE wraps the text differently . It seems to leave 2px less space for the text. We don't currently mimic this q uirk. It's not clear whether we should given that we agree with IE7's clientWidt h numbers in all these cases. 3 2. For the elements with scroll in standards-mode, IE wraps the text differently . It seems to leave 2px less space for the text. We don't currently mimic this q uirk. It's not clear whether we should given that we agree with IE7's clientWidt h numbers in all these cases.
4 4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 6
7 7
8 Testing BackCompat document. 8 Testing BackCompat document.
9 Properties = none 9 Properties = none
10 PASS BackCompatdoc.getElementById('no-styles').clientWidth is 48 10 PASS BackCompatdoc.getElementById('no-styles').clientWidth is 48
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 PASS CSS1Compatdoc.getElementById('-innerHTML-AAAAAAAAA-rows-10-').clientHeight is 54 164 PASS CSS1Compatdoc.getElementById('-innerHTML-AAAAAAAAA-rows-10-').clientHeight is 54
165 PASS CSS1Compatdoc.getElementById('-innerHTML-AAAAAAAAA-rows-10-').offsetWidth i s 56 165 PASS CSS1Compatdoc.getElementById('-innerHTML-AAAAAAAAA-rows-10-').offsetWidth i s 56
166 PASS CSS1Compatdoc.getElementById('-innerHTML-AAAAAAAAA-rows-10-').offsetHeight is 56 166 PASS CSS1Compatdoc.getElementById('-innerHTML-AAAAAAAAA-rows-10-').offsetHeight is 56
167 PASS CSS1Compatdoc.getElementById('-innerHTML-AAAAAAAAA-rows-10-').scrollWidth i s 37 167 PASS CSS1Compatdoc.getElementById('-innerHTML-AAAAAAAAA-rows-10-').scrollWidth i s 37
168 PASS CSS1Compatdoc.getElementById('-innerHTML-AAAAAAAAA-rows-10-').scrollHeight is 64 168 PASS CSS1Compatdoc.getElementById('-innerHTML-AAAAAAAAA-rows-10-').scrollHeight is 64
169 169
170 PASS successfullyParsed is true 170 PASS successfullyParsed is true
171 171
172 TEST COMPLETE 172 TEST COMPLETE
173 173
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698