mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
Issue #2828 - Part 3: Refactor selector matching and rule cascade data into separate files/classes
This commit is contained in:
parent
7b51aa7ca1
commit
03f29e75ec
20 changed files with 4432 additions and 4171 deletions
|
|
@ -45,6 +45,7 @@ EXPORTS += [
|
|||
'nsCSSPseudoElementList.h',
|
||||
'nsCSSPseudoElements.h',
|
||||
'nsCSSRuleProcessor.h',
|
||||
'nsCSSRuleUtils.h',
|
||||
'nsCSSScanner.h',
|
||||
'nsCSSValue.h',
|
||||
'nsDOMCSSAttrDeclaration.h',
|
||||
|
|
@ -70,6 +71,7 @@ EXPORTS += [
|
|||
'nsStyleStructInlines.h',
|
||||
'nsStyleTransformMatrix.h',
|
||||
'nsStyleUtil.h',
|
||||
'RuleCascadeData.h',
|
||||
]
|
||||
|
||||
EXPORTS.mozilla += [
|
||||
|
|
@ -146,7 +148,9 @@ UNIFIED_SOURCES += [
|
|||
'nsCSSProps.cpp',
|
||||
'nsCSSPseudoClasses.cpp',
|
||||
'nsCSSPseudoElements.cpp',
|
||||
'nsCSSRuleProcessor.cpp',
|
||||
'nsCSSRules.cpp',
|
||||
'nsCSSRuleUtils.cpp',
|
||||
'nsCSSScanner.cpp',
|
||||
'nsCSSValue.cpp',
|
||||
'nsDOMCSSAttrDeclaration.cpp',
|
||||
|
|
@ -184,14 +188,14 @@ UNIFIED_SOURCES += [
|
|||
# includes, via nsStyleCoord.h, <type_traits>, which ends up including
|
||||
# <xutility>, which fails in much the way described in
|
||||
# <https://bugzilla.mozilla.org/show_bug.cgi?id=1331102>.
|
||||
# - nsCSSRuleProcessor.cpp needs to be built separately because it uses
|
||||
# - RuleCascadeData.cpp needs to be built separately because it uses
|
||||
# plarena.h.
|
||||
# - nsLayoutStylesheetCache.cpp needs to be built separately because it uses
|
||||
# nsExceptionHandler.h, which includes windows.h.
|
||||
SOURCES += [
|
||||
'BindingStyleRule.cpp',
|
||||
'nsCSSRuleProcessor.cpp',
|
||||
'nsLayoutStylesheetCache.cpp',
|
||||
'RuleCascadeData.cpp',
|
||||
]
|
||||
|
||||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue