Changeset 209003 in webkit


Ignore:
Timestamp:
Nov 28, 2016 11:55:19 AM (7 years ago)
Author:
hyatt@apple.com
Message:

[CSS Parser] flex-basis should be pixel units not percentages.
https://bugs.webkit.org/show_bug.cgi?id=165100

Reviewed by Zalan Bujtas.

  • css/parser/CSSPropertyParser.cpp:

(WebCore::CSSPropertyParser::consumeFlex):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r209001 r209003  
     12016-11-28  Dave Hyatt  <hyatt@apple.com>
     2
     3        [CSS Parser] flex-basis should be pixel units not percentages.
     4        https://bugs.webkit.org/show_bug.cgi?id=165100
     5
     6        Reviewed by Zalan Bujtas.
     7
     8        * css/parser/CSSPropertyParser.cpp:
     9        (WebCore::CSSPropertyParser::consumeFlex):
     10
    1112016-11-28  Daniel Bates  <dabates@apple.com>
    212
  • trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp

    r209000 r209003  
    43814381            flexShrink = 1;
    43824382        if (!flexBasis)
    4383             flexBasis = CSSPrimitiveValue::create(0, CSSPrimitiveValue::UnitTypes::CSS_PERCENTAGE);
     4383            flexBasis = CSSPrimitiveValue::create(0, CSSPrimitiveValue::UnitTypes::CSS_PX);
    43844384    }
    43854385
Note: See TracChangeset for help on using the changeset viewer.