Changeset 257467 in webkit


Ignore:
Timestamp:
Feb 26, 2020 6:12:35 AM (4 years ago)
Author:
Carlos Garcia Campos
Message:

Unreviewed. Update fast/forms/number/number-size.html after r257299

Since r257299 the GTK port specific behavior is no longer needed, so we can remove the widthSpecified function
and use the specified value directly.

  • fast/forms/number/number-size-expected.txt:
  • fast/forms/number/number-size.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r257408 r257467  
     12020-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
    1112020-02-25  Jack Lee  <shihchieh_lee@apple.com>
    212
  • trunk/LayoutTests/fast/forms/number/number-size-expected.txt

    r219663 r257467  
    99
    1010The 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)
     11PASS numberWithWidth.offsetWidth is 100
     12PASS numberWithWidth.min = 0; numberWithWidth.max = 100; numberWithWidth.offsetWidth is 100
    1313
    1414The number input should ignore size attribute for layout
  • trunk/LayoutTests/fast/forms/number/number-size.html

    r219663 r257467  
    2929<script>
    3030
    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 
    3831description('Test for size attribute of input');
    3932
     
    5750
    5851debug('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)');
     52shouldBe('numberWithWidth.offsetWidth', '100');
     53shouldBe('numberWithWidth.min = 0; numberWithWidth.max = 100; numberWithWidth.offsetWidth', '100');
    6154debug('');
    6255
Note: See TracChangeset for help on using the changeset viewer.