Bug 1730763 - Fix typo that causes some reftests to fail.

Adjust some tests that are not expected to pass until we implement style
containment.

MANUAL PUSH: Trivial typo fix CLOSED TREE
This commit is contained in:
Emilio Cobos Álvarez
2022-06-15 13:20:21 +02:00
parent c5fdaba997
commit 594d1d3fb7
5 changed files with 7 additions and 3 deletions

View File

@@ -2411,7 +2411,7 @@ nsIFrame* nsCSSFrameConstructor::ConstructDocElementFrame(
if (bodyStyle->StyleDisplay()->IsContainAny()) {
return rootWM;
}
const WritingMode bodyWM(computedStyle);
const WritingMode bodyWM(bodyStyle);
if (bodyWM != rootWM) {
nsContentUtils::ReportToConsole(
nsIScriptError::warningFlag, "Layout"_ns, mDocument,