Dactyloidae/layout/style
Moonchild 9ad680cfc4 Issue #2736 - Part 1: Provide more consistent principals to CSP.
We're currently fairly vague and inconsistent about the values we provide to
content policy implementations for requestOrigin and requestPrincipal. In some
cases they're the triggering principal, sometimes the loading principal,
sometimes the channel principal.

Our existing content policy implementations which require or expect a
loading principal currently retrieve it from the context node.
Since no current callers require the principal to be the loading
principal, and some already expect it to be the triggering principal
(which there's currently no other way to retrieve), a choice was made
to pass the triggering principal whenever possible, but use the loading
principal to determine the origin URL.
2025-05-14 14:21:46 +08:00
..
crashtests Issue #2135 - Bug 1453789: Remove Element.createShadowRoot 2023-03-06 16:16:40 +08:00
res Issue #2681 - unprefix :-moz-modal-dialog 2025-01-20 21:12:36 +08:00
test Issue #2477 - Part 2: Implement shorthand properties for [margin/padding][block/inline] 2024-04-11 15:56:31 +08:00
xbl-marquee
AnimationCollection.cpp Issue #2488 - Part 4: Remove the RestyleManagerHandle smart pointer class 2024-04-02 22:50:07 +08:00
AnimationCollection.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
AnimationCommon.cpp Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
AnimationCommon.h Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
BindingStyleRule.cpp Issue #2490 - Part 12: Convert CSSStyleRule to WebIDL. 2024-04-08 11:01:02 +08:00
BindingStyleRule.h Issue #2490 - Part 12: Convert CSSStyleRule to WebIDL. 2024-04-08 11:01:02 +08:00
contenteditable.css
CounterStyleManager.cpp Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class 2024-04-02 22:49:48 +08:00
CounterStyleManager.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
CSS.cpp Issue #2112 - Part 10: Remove remaining Stylo/Servo includes and code 2024-04-02 22:44:24 +08:00
CSS.h
CSSCalc.h Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
CSSEnabledState.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
CSSLexer.cpp
CSSLexer.h Issue #80 - De-unify layout/style 2020-05-02 08:28:32 +08:00
CSSRuleList.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
CSSRuleList.h Issue #2490 - WIP: part 9. Add a CSSRule Web IDL interface. 2024-04-08 10:56:20 +08:00
CSSStyleSheet.cpp Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED 2025-01-20 21:12:18 +08:00
CSSStyleSheet.h Issue #2490 - WIP: part 9. Add a CSSRule Web IDL interface. 2024-04-08 10:56:20 +08:00
CSSValue.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
CSSVariableDeclarations.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
CSSVariableDeclarations.h Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
CSSVariableImageTable.h
CSSVariableResolver.cpp Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
CSSVariableResolver.h Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
CSSVariableValues.cpp
CSSVariableValues.h Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
Declaration.cpp Issue #2477 - Part 2: Implement shorthand properties for [margin/padding][block/inline] 2024-04-11 15:56:31 +08:00
Declaration.h Issue #2490 - Part 1: Make all CSS rules cycle-collected. 2024-04-08 10:39:37 +08:00
designmode.css
ErrorReporter.cpp
ErrorReporter.h
FontFace.cpp Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS 2019-02-16 00:27:49 +08:00
FontFace.h
FontFaceSet.cpp Issue #2736 - Part 1: Provide more consistent principals to CSP. 2025-05-14 14:21:46 +08:00
FontFaceSet.h
FontFaceSetIterator.cpp
FontFaceSetIterator.h
generate-stylestructlist.py
GenerateCSSPropsGenerated.py
GroupRule.h Issue #2490 - Part 13: Convert media, supports, and moz-document rules to WebIDL. 2024-04-08 11:03:50 +08:00
ImageDocument.css
ImageLoader.cpp Issue #21 - Remove use counters telemetry 2022-04-28 10:43:09 +08:00
ImageLoader.h Issue #21 - Remove use counters telemetry 2022-04-28 10:43:09 +08:00
ImportRule.h Issue #2486 - Part 1: Initial plumbing and CSSOM support for cascade layers 2024-07-18 22:31:18 +08:00
IncrementalClearCOMRuleArray.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
IncrementalClearCOMRuleArray.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
jar.mn
LayerAnimationInfo.cpp Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
LayerAnimationInfo.h Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
Loader.cpp Issue #2736 - Part 1: Provide more consistent principals to CSP. 2025-05-14 14:21:46 +08:00
Loader.h Issue #2736 - Part 1: Provide more consistent principals to CSP. 2025-05-14 14:21:46 +08:00
Makefile.in
MediaQueryList.cpp Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED 2025-01-20 21:12:18 +08:00
MediaQueryList.h Issue #1656 - Part 3: Nuke more vim config lines in the tree. 2020-09-25 22:04:17 +08:00
moz.build Issue #2490 - Part 12: Convert CSSStyleRule to WebIDL. 2024-04-08 11:01:02 +08:00
NameSpaceRule.h Issue #2490 - Part 8: Get rid of css::Rule::GetDOMRule. 2024-04-08 10:56:04 +08:00
nsAnimationManager.cpp Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class 2024-04-02 22:49:48 +08:00
nsAnimationManager.h Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
nsComputedDOMStyle.cpp Issue #1925 - Convert NS_FULL_TO_HALF_CORNER to a constexpr function. 2024-08-05 10:35:50 +08:00
nsComputedDOMStyle.h Issue #1925 - Convert NS_FULL_TO_HALF_CORNER to a constexpr function. 2024-08-05 10:35:50 +08:00
nsComputedDOMStylePropertyList.h Issue #1838 - Part 2: Remove grid- prefix from grid-(column|row)-gap properties 2022-04-19 21:55:52 +08:00
nsCSSAnonBoxes.cpp
nsCSSAnonBoxes.h
nsCSSAnonBoxList.h
nsCSSCounterDescList.h
nsCSSDataBlock.cpp Issue #1925 - Remove use of NS_SIDE_* macros. 2024-08-05 10:31:46 +08:00
nsCSSDataBlock.h Issue #21 - Remove use counters telemetry 2022-04-28 10:43:09 +08:00
nsCSSFontDescList.h
nsCSSKeywordList.h Issue #2510 - Unprefix -moz-fit-content 2024-05-08 09:59:34 +08:00
nsCSSKeywords.cpp
nsCSSKeywords.h
nsCSSParser.cpp Issue #2720 - Implement two-location color stop logic. 2025-04-03 09:44:51 +08:00
nsCSSParser.h
nsCSSPropAliasList.h Issue #2075 - Part 1: Rename offset-* logical properties to inset-* 2023-01-06 20:35:40 +08:00
nsCSSPropertyID.h
nsCSSPropertyIDSet.h
nsCSSPropList.h Issue #2477 - Part 2: Implement shorthand properties for [margin/padding][block/inline] 2024-04-11 15:56:31 +08:00
nsCSSPropLogicalGroupList.h
nsCSSProps.cpp Issue #1925 - Remove use of NS_SIDE_* macros. 2024-08-05 10:31:46 +08:00
nsCSSProps.h Issue #21 - Remove use counters telemetry 2022-04-28 10:43:09 +08:00
nsCSSPropsGenerated.inc.in
nsCSSPseudoClasses.cpp Issue #2488 - Part 1a: nsCSSPseudoClassList should not include any header 2024-04-02 22:46:48 +08:00
nsCSSPseudoClasses.h Issue #1592 - Part 2: Parse ::slotted() pseudo-element as if it were a pseudo-class 2023-03-24 09:07:36 +08:00
nsCSSPseudoClassList.h Issue #2681 - Expose :modal to content. 2025-01-20 21:12:53 +08:00
nsCSSPseudoElementList.h Issue #1592 - Part 3: Ensure only tree-abiding pseudo-elements will follow ::slotted() 2023-03-24 09:10:42 +08:00
nsCSSPseudoElements.cpp Issue #1592 - Part 3: Ensure only tree-abiding pseudo-elements will follow ::slotted() 2023-03-24 09:10:42 +08:00
nsCSSPseudoElements.h Issue #1592 - Part 3: Ensure only tree-abiding pseudo-elements will follow ::slotted() 2023-03-24 09:10:42 +08:00
nsCSSRuleProcessor.cpp Issue #2078 - Follow-up: Don't try to resolve ancestor link elements when matching for Has*DependentStyle 2025-01-23 09:38:58 +08:00
nsCSSRuleProcessor.h Issue #1656 - Remove more vim control lines. 2023-05-05 22:57:19 +08:00
nsCSSRules.cpp Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED 2025-01-20 21:12:18 +08:00
nsCSSRules.h Issue #2486 - Part 1: Initial plumbing and CSSOM support for cascade layers 2024-07-18 22:31:18 +08:00
nsCSSScanner.cpp Issue #2143 - Implement CSS env() Environment Variables 2023-03-07 11:17:39 +08:00
nsCSSScanner.h
nsCSSValue.cpp Issue #1925 - Remove use of NS_CORNER_{TOP|BOTTOM}_{LEFT|RIGHT} macros. 2024-08-05 10:34:15 +08:00
nsCSSValue.h Issue #2522 - Part 2: Implement support for logical viewport units 2024-06-11 10:14:40 +08:00
nsDOMCSSAttrDeclaration.cpp Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class 2024-04-02 22:49:48 +08:00
nsDOMCSSAttrDeclaration.h Issue #2488 - Part 2: Remove the DeclarationBlock class and use Declaration directly 2024-04-02 22:47:20 +08:00
nsDOMCSSDeclaration.cpp Issue #2678 - Clean up some uses of the table-to-map segue. 2025-01-20 21:08:25 +08:00
nsDOMCSSDeclaration.h Issue #2488 - Part 2: Remove the DeclarationBlock class and use Declaration directly 2024-04-02 22:47:20 +08:00
nsDOMCSSRect.cpp
nsDOMCSSRect.h
nsDOMCSSRGBColor.cpp
nsDOMCSSRGBColor.h
nsDOMCSSValueList.cpp
nsDOMCSSValueList.h
nsFontFaceLoader.cpp Issue #21 - Remove Telemetry plumbing and fix build. 2022-04-28 10:25:48 +08:00
nsFontFaceLoader.h Issue #1656 - Remove more vim control lines. 2023-05-05 22:57:19 +08:00
nsFontFaceUtils.cpp Issue #1656 - Remove more vim control lines. 2023-05-05 22:57:19 +08:00
nsFontFaceUtils.h Issue #1656 - Remove more vim control lines. 2023-05-05 22:57:19 +08:00
nsHTMLCSSStyleSheet.cpp Issue #2488 - Part 4: Remove the RestyleManagerHandle smart pointer class 2024-04-02 22:50:07 +08:00
nsHTMLCSSStyleSheet.h
nsHTMLStyleSheet.cpp Issue #2488 - Part 4: Remove the RestyleManagerHandle smart pointer class 2024-04-02 22:50:07 +08:00
nsHTMLStyleSheet.h
nsICSSDeclaration.h Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions] 2020-04-18 07:06:12 +08:00
nsICSSLoaderObserver.h
nsICSSPseudoComparator.h
nsICSSStyleRuleDOMWrapper.h Issue #2490 - Part 12: Convert CSSStyleRule to WebIDL. 2024-04-08 11:01:02 +08:00
nsIMediaList.h
nsIStyleRule.h
nsIStyleRuleProcessor.h
nsLayoutStylesheetCache.cpp Issue #2488 - Part 6: Define and declare CSSStyleSheet cast functions directly in StyleSheet 2024-04-02 22:52:28 +08:00
nsLayoutStylesheetCache.h Issue #2112 - Part 8: Remove Stylo Stylesheet Cache 2024-04-02 22:42:25 +08:00
nsMediaFeatures.cpp Issue #1784 - Add -moz-dark-theme media query and allow prefers-color-scheme to follow it. 2021-06-24 11:10:22 +08:00
nsMediaFeatures.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsNthIndexCache.cpp
nsNthIndexCache.h
nsROCSSPrimitiveValue.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
nsROCSSPrimitiveValue.h
nsRuleData.cpp
nsRuleData.h
nsRuleNode.cpp Issue #1925 - Convert NS_FULL_TO_HALF_CORNER to a constexpr function. 2024-08-05 10:35:50 +08:00
nsRuleNode.h Issue #2112 - Part 4: Remove Stylo support for mask-image 2024-04-02 22:30:47 +08:00
nsRuleProcessorData.h Issue #1592 - Part 8: Test the assigned slot for type/class/ID/attribute instead of the slottable when matching ::slotted() 2023-03-24 09:12:35 +08:00
nsRuleWalker.h
nsStyleConsts.h Issue #1925 - Convert NS_SIDE_TO_HALF_CORNER to a constexpr function. 2024-08-05 10:38:32 +08:00
nsStyleContext.cpp Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class 2024-04-02 22:49:48 +08:00
nsStyleContext.h Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class 2024-04-02 22:49:48 +08:00
nsStyleCoord.cpp Issue #1925 - Convert NS_SIDE_TO_HALF_CORNER to a constexpr function. 2024-08-05 10:38:32 +08:00
nsStyleCoord.h Issue #1925 - Rename Corner to LogicalCorner and move it to nsStyleCoord.h. 2024-08-05 10:33:00 +08:00
nsStyleSet.cpp Issue #2488 - Part 6: Define and declare CSSStyleSheet cast functions directly in StyleSheet 2024-04-02 22:52:28 +08:00
nsStyleSet.h Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class 2024-04-02 22:49:48 +08:00
nsStyleStruct.cpp Issue #2737 - Part 1: Base implementation of SVGGeometryElement. 2025-04-30 23:02:16 +08:00
nsStyleStruct.h Issue #1925 - Follow-up: Fix debug builds (namespace) 2024-08-15 09:40:19 +08:00
nsStyleStructFwd.h
nsStyleStructInlines.h Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
nsStyleTransformMatrix.cpp
nsStyleTransformMatrix.h
nsStyleUtil.cpp Issue #2466 - Part 3: Implement style-src-elem and style-src-attr 2024-02-08 14:33:59 +08:00
nsStyleUtil.h Issue #2402 - CSP Violation events should have the correct sample for inline contexts. https://bugzilla.mozilla.org/show_bug.cgi?id=1473587 Add preference to increase max length of CSP report source sample. https://bugzilla.mozilla.org/show_bug.cgi?id=1415352 Return valid columnNumber value in CSP violation events. https://bugzilla.mozilla.org/show_bug.cgi?id=1418246 2024-01-11 09:50:12 +08:00
nsTransitionManager.cpp Issue #2488 - Part 4: Remove the RestyleManagerHandle smart pointer class 2024-04-02 22:50:07 +08:00
nsTransitionManager.h Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
PythonCSSProps.h
Rule.h Issue #2486 - Part 1: Initial plumbing and CSSOM support for cascade layers 2024-07-18 22:31:18 +08:00
RuleNodeCacheConditions.cpp Issue #1656 - Part 3: Nuke more vim config lines in the tree. 2020-09-25 22:04:17 +08:00
RuleNodeCacheConditions.h
RuleProcessorCache.cpp Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
RuleProcessorCache.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
SheetParsingMode.h Issue #1656 - Part 1: Nuke most vim config lines in the tree. 2020-09-25 22:04:12 +08:00
SheetType.h
StyleAnimationValue.cpp Issue #1925 - Convert NS_FULL_TO_HALF_CORNER to a constexpr function. 2024-08-05 10:35:50 +08:00
StyleAnimationValue.h Issue #2112 - Part 5: Remove Servo from forwarding code used by magic pointer classes 2024-04-02 22:41:34 +08:00
StyleComplexColor.h Issue #1668 - Part 1: Implement support for caret-color property. 2020-10-23 10:05:51 +08:00
StyleRule.cpp Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED 2025-01-20 21:12:18 +08:00
StyleRule.h Issue #2490 - Part 12: Convert CSSStyleRule to WebIDL. 2024-04-08 11:01:02 +08:00
StyleSheet.cpp Issue #2488 - Part 6: Define and declare CSSStyleSheet cast functions directly in StyleSheet 2024-04-02 22:52:28 +08:00
StyleSheet.h Issue #2490 - WIP: part 9. Add a CSSRule Web IDL interface. 2024-04-08 10:56:20 +08:00
StyleSheetInfo.h Issue #2112 - Part 10: Remove remaining Stylo/Servo includes and code 2024-04-02 22:44:24 +08:00
StyleSheetInlines.h Issue #2488 - Part 6: Define and declare CSSStyleSheet cast functions directly in StyleSheet 2024-04-02 22:52:28 +08:00
SVGAttrAnimationRuleProcessor.cpp
SVGAttrAnimationRuleProcessor.h
TopLevelImageDocument.css
TopLevelVideoDocument.css