Title: [209003] trunk/Source/WebCore
Revision
209003
Author
[email protected]
Date
2016-11-28 11:55:19 -0800 (Mon, 28 Nov 2016)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (209002 => 209003)


--- trunk/Source/WebCore/ChangeLog	2016-11-28 19:52:38 UTC (rev 209002)
+++ trunk/Source/WebCore/ChangeLog	2016-11-28 19:55:19 UTC (rev 209003)
@@ -1,3 +1,13 @@
+2016-11-28  Dave Hyatt  <[email protected]>
+
+        [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):
+
 2016-11-28  Daniel Bates  <[email protected]>
 
         Replace CSSPropertyNames.in with a JSON file

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp (209002 => 209003)


--- trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-11-28 19:52:38 UTC (rev 209002)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-11-28 19:55:19 UTC (rev 209003)
@@ -4380,7 +4380,7 @@
         if (flexShrink == unsetValue)
             flexShrink = 1;
         if (!flexBasis)
-            flexBasis = CSSPrimitiveValue::create(0, CSSPrimitiveValue::UnitTypes::CSS_PERCENTAGE);
+            flexBasis = CSSPrimitiveValue::create(0, CSSPrimitiveValue::UnitTypes::CSS_PX);
     }
 
     if (!m_range.atEnd())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to