Title: [208031] trunk/Source/WebCore
Revision
208031
Author
[email protected]
Date
2016-10-27 21:30:22 -0700 (Thu, 27 Oct 2016)

Log Message

[CSS Parser] Enhance grid-auto-flow parsing to allow dense first.
https://bugs.webkit.org/show_bug.cgi?id=164110

Reviewed by Simon Fraser.

* css/StyleBuilderConverter.h:
(WebCore::StyleBuilderConverter::convertGridAutoFlow):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (208030 => 208031)


--- trunk/Source/WebCore/ChangeLog	2016-10-28 04:18:47 UTC (rev 208030)
+++ trunk/Source/WebCore/ChangeLog	2016-10-28 04:30:22 UTC (rev 208031)
@@ -1,3 +1,13 @@
+2016-10-27  Dave Hyatt  <[email protected]>
+
+        [CSS Parser] Enhance grid-auto-flow parsing to allow dense first.
+        https://bugs.webkit.org/show_bug.cgi?id=164110
+
+        Reviewed by Simon Fraser.
+
+        * css/StyleBuilderConverter.h:
+        (WebCore::StyleBuilderConverter::convertGridAutoFlow):
+
 2016-10-27  Simon Fraser  <[email protected]>
 
         constify the CSSValue arguments to StyleBuilderConverter functions

Modified: trunk/Source/WebCore/css/StyleBuilderConverter.h (208030 => 208031)


--- trunk/Source/WebCore/css/StyleBuilderConverter.h	2016-10-28 04:18:47 UTC (rev 208030)
+++ trunk/Source/WebCore/css/StyleBuilderConverter.h	2016-10-28 04:30:22 UTC (rev 208031)
@@ -1044,6 +1044,10 @@
         else
             autoFlow = AutoFlowColumn;
         break;
+    case CSSValueDense:
+        if (second && second->valueID() == CSSValueColumn)
+            return AutoFlowColumnDense;
+        return AutoFlowRowDense;
     default:
         ASSERT_NOT_REACHED();
         break;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to