mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Issue #2862 - Change code references from CSS lowering to CSS flattening
This commit is contained in:
parent
505600c45e
commit
64d55b0a2e
4 changed files with 19 additions and 19 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#include <regex> // for std::regex and std::regex_match
|
||||
|
||||
#include "nsCSSParser.h"
|
||||
#include "CSSNestingLowerer.h"
|
||||
#include "CSSNestingFlattener.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include "nsCSSProps.h"
|
||||
#include "nsCSSKeywords.h"
|
||||
|
|
@ -1826,11 +1826,11 @@ CSSParserImpl::ParseSheet(const nsAString& aInput,
|
|||
"Sheet principal does not match passed principal");
|
||||
#endif
|
||||
|
||||
nsAutoString loweredInput;
|
||||
nsAutoString flattenedInput;
|
||||
const nsAString* input = &aInput;
|
||||
if (sNestingEnabled &&
|
||||
mozilla::css::LowerBasicCSSNesting(aInput, loweredInput)) {
|
||||
input = &loweredInput;
|
||||
mozilla::css::FlattenBasicCSSNesting(aInput, flattenedInput)) {
|
||||
input = &flattenedInput;
|
||||
}
|
||||
|
||||
nsCSSScanner scanner(*input, aLineNumber);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue