Bug 1900232: Part 4 - Add anchor-size() to margin properties. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D222533
This commit is contained in:
@@ -1876,7 +1876,7 @@ bool BuildTextRunsScanner::ContinueTextRunAcrossFrames(nsTextFrame* aFrame1,
|
||||
//
|
||||
// 1. Any of margin/border/padding separating the two typographic
|
||||
// character units in the inline axis is non-zero.
|
||||
const auto& margin = ctx->StyleMargin()->mMargin.Get(aSide);
|
||||
const auto& margin = ctx->StyleMargin()->GetMargin(aSide);
|
||||
if (!margin.ConvertsToLength() ||
|
||||
margin.AsLengthPercentage().ToLength() != 0) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user