[Webkit-unassigned] [Bug 233252] Updating grid gap value does not recalculate styles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 7 10:44:51 PST 2022


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

--- Comment #7 from zalan <zalan at apple.com> ---
@@ -664,6 +664,9 @@ static bool rareNonInheritedDataChangeRequiresLayout(const StyleRareNonInherited
     if (first.flexibleBox != second.flexibleBox)
         return true;

+    if (first.columnGap != second.columnGap || first.rowGap != second.rowGap)
+        return true;
+
     if (first.order != second.order
         || first.alignContent != second.alignContent
         || first.alignItems != second.alignItems

fixes both grid and flex. patch is coming up.

-- 
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/20220207/a503ce80/attachment.htm>


More information about the webkit-unassigned mailing list