Bug 1899126 - Simplify text-transform representation. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D211731
This commit is contained in:
@@ -2766,7 +2766,7 @@ void BuildTextRunsScanner::SetupBreakSinksForTextRun(gfxTextRun* aTextRun,
|
||||
if (aTextRun->GetFlags2() & nsTextFrameUtils::Flags::NoBreaks) {
|
||||
flags |= nsLineBreaker::BREAK_SKIP_SETTING_NO_BREAKS;
|
||||
}
|
||||
if (textStyle->mTextTransform.case_ == StyleTextTransformCase::Capitalize) {
|
||||
if (textStyle->mTextTransform & StyleTextTransform::CAPITALIZE) {
|
||||
flags |= nsLineBreaker::BREAK_NEED_CAPITALIZATION;
|
||||
}
|
||||
if (textStyle->mHyphens == StyleHyphens::Auto &&
|
||||
|
||||
Reference in New Issue
Block a user