Changeset 213315 in webkit


Ignore:
Timestamp:
Mar 2, 2017 3:49:26 PM (7 years ago)
Author:
Ryan Haddad
Message:

Update fast/css/flex-calculated-value.html after r213305.
https://bugs.webkit.org/show_bug.cgi?id=169100

Unreviewed test gardening.

  • fast/css/flex-calculated-value-expected.txt:
  • fast/css/flex-calculated-value.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r213314 r213315  
     12017-03-02  Ryan Haddad  <ryanhaddad@apple.com>
     2
     3        Update fast/css/flex-calculated-value.html after r213305.
     4        https://bugs.webkit.org/show_bug.cgi?id=169100
     5
     6        Unreviewed test gardening.
     7
     8        * fast/css/flex-calculated-value-expected.txt:
     9        * fast/css/flex-calculated-value.html:
     10
    1112017-03-02  Ryan Haddad  <ryanhaddad@apple.com>
    212
  • trunk/LayoutTests/fast/css/flex-calculated-value-expected.txt

    r176674 r213315  
    77testDiv.style['flex'] = 'calc(2 * 3) calc(2 * 3)'
    88PASS testDiv.style['flex'] is "6 6 0px"
    9 PASS window.getComputedStyle(testDiv).getPropertyValue('flex') is "6 6 0px"
     9PASS window.getComputedStyle(testDiv).getPropertyValue('flex') is "6 6 0%"
    1010testDiv.style['flex'] = 'calc(2 * 3) calc(2 * 3) calc(10% * 2)'
    1111PASS testDiv.style['flex'] is "6 6 calc(20%)"
     
    1313testDiv.style['flex'] = 'calc(2 * 3) calc(2 * 3) calc(3 - 3)'
    1414PASS testDiv.style['flex'] is "6 6 0px"
    15 PASS window.getComputedStyle(testDiv).getPropertyValue('flex') is "6 6 0px"
     15PASS window.getComputedStyle(testDiv).getPropertyValue('flex') is "6 6 0%"
    1616PASS successfullyParsed is true
    1717
  • trunk/LayoutTests/fast/css/flex-calculated-value.html

    r176674 r213315  
    1111evalAndLog("testDiv.style['flex'] = 'calc(2 * 3) calc(2 * 3)'");
    1212shouldBeEqualToString("testDiv.style['flex']", "6 6 0px");
    13 shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('flex')", "6 6 0px");
     13shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('flex')", "6 6 0%");
    1414
    1515evalAndLog("testDiv.style['flex'] = 'calc(2 * 3) calc(2 * 3) calc(10% * 2)'");
     
    1919evalAndLog("testDiv.style['flex'] = 'calc(2 * 3) calc(2 * 3) calc(3 - 3)'");
    2020shouldBeEqualToString("testDiv.style['flex']", "6 6 0px");
    21 shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('flex')", "6 6 0px");
     21shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('flex')", "6 6 0%");
    2222
    2323</script>
Note: See TracChangeset for help on using the changeset viewer.