[Webkit-unassigned] [Bug 224807] Clean up handling of `-webkit-inline-flex`/`-webkit-flex` CSS display values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 20 02:35:24 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224807

--- Comment #2 from Tim Nguyen (:ntim) <ntim at apple.com> ---
Sorry, the snippet I suggested was wrong, here's one that should be correct:

+    // Convert -webkit-flex/-webkit-inline-flex to flex/inline-flex
+    CSSValueID nextValueID = range.peek().id();
+    if (nextValueID == CSSValueWebkitInlineFlex || nextValueID == CSSValueWebkitFlex) {
+        consumeIdent(range);
+        return CSSValuePool::singleton().createValue(
+            nextValueID == CSSValueWebkitInlineFlex ? CSSValueInlineFlex : CSSValueFlex);
+    }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210420/ef933ff0/attachment-0001.htm>


More information about the webkit-unassigned mailing list