Changeset 246463 in webkit
- Timestamp:
- Jun 15, 2019, 7:16:13 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
layout/blockformatting/BlockMarginCollapse.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r246462 r246463 1 2019-06-15 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][MarginCollapsing] Collapsed through margin values preserve quirk state. 4 https://bugs.webkit.org/show_bug.cgi?id=198885 5 <rdar://problem/51773568> 6 7 Reviewed by Antti Koivisto. 8 9 The collapsed through margin becomes a quirk margin if either of the vertical(before/after) margins have quirk value. 10 11 * layout/blockformatting/BlockMarginCollapse.cpp: 12 (WebCore::Layout::computedPositiveAndNegativeMargin): 13 1 14 2019-06-15 Zalan Bujtas <zalan@apple.com> 2 15 -
trunk/Source/WebCore/layout/blockformatting/BlockMarginCollapse.cpp
r246462 r246463 452 452 453 453 if (a.isNonZero() && b.isNonZero()) 454 computedValues.isQuirk = a.isQuirk &&b.isQuirk;454 computedValues.isQuirk = a.isQuirk || b.isQuirk; 455 455 else if (a.isNonZero()) 456 456 computedValues.isQuirk = a.isQuirk;
Note:
See TracChangeset
for help on using the changeset viewer.