Changeset 257467 in webkit
- Timestamp:
- Feb 26, 2020 6:12:35 AM (4 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r257408 r257467 1 2020-02-26 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Unreviewed. Update fast/forms/number/number-size.html after r257299 4 5 Since r257299 the GTK port specific behavior is no longer needed, so we can remove the widthSpecified function 6 and use the specified value directly. 7 8 * fast/forms/number/number-size-expected.txt: 9 * fast/forms/number/number-size.html: 10 1 11 2020-02-25 Jack Lee <shihchieh_lee@apple.com> 2 12 -
trunk/LayoutTests/fast/forms/number/number-size-expected.txt
r219663 r257467 9 9 10 10 The number whose width is specified should respect the setting 11 PASS numberWithWidth.offsetWidth is widthSpecified(100)12 PASS numberWithWidth.min = 0; numberWithWidth.max = 100; numberWithWidth.offsetWidth is widthSpecified(100)11 PASS numberWithWidth.offsetWidth is 100 12 PASS numberWithWidth.min = 0; numberWithWidth.max = 100; numberWithWidth.offsetWidth is 100 13 13 14 14 The number input should ignore size attribute for layout -
trunk/LayoutTests/fast/forms/number/number-size.html
r219663 r257467 29 29 <script> 30 30 31 function widthSpecified(size) {32 // GTK+ port overrides the style width and always increments it with the spinbuttons size.33 if (isGtk())34 size += spinButtonWidth;35 return size;36 }37 38 31 description('Test for size attribute of input'); 39 32 … … 57 50 58 51 debug('The number whose width is specified should respect the setting'); 59 shouldBe('numberWithWidth.offsetWidth', ' widthSpecified(100)');60 shouldBe('numberWithWidth.min = 0; numberWithWidth.max = 100; numberWithWidth.offsetWidth', ' widthSpecified(100)');52 shouldBe('numberWithWidth.offsetWidth', '100'); 53 shouldBe('numberWithWidth.min = 0; numberWithWidth.max = 100; numberWithWidth.offsetWidth', '100'); 61 54 debug(''); 62 55
Note: See TracChangeset
for help on using the changeset viewer.