LibWeb: Remove no-longer-used StyleInvalidationReasons :^)

This commit is contained in:
Andreas Kling 2025-04-17 14:43:56 +02:00 committed by Andreas Kling
parent 55ab8ff539
commit 8d51c41a42
Notes: github-actions[bot] 2025-04-17 17:47:00 +00:00

View file

@ -49,7 +49,6 @@ enum class ShouldComputeRole {
};
#define ENUMERATE_STYLE_INVALIDATION_REASONS(X) \
X(ActiveElementChange) \
X(AdoptedStyleSheetsList) \
X(CSSFontLoaded) \
X(CSSImportRule) \
@ -60,7 +59,6 @@ enum class ShouldComputeRole {
X(EditingInsertion) \
X(ElementAttributeChange) \
X(ElementSetShadowRoot) \
X(FocusedElementChange) \
X(HTMLHyperlinkElementHrefChange) \
X(HTMLIFrameElementGeometryChange) \
X(HTMLInputElementSetChecked) \
@ -68,7 +66,6 @@ enum class ShouldComputeRole {
X(HTMLObjectElementUpdateLayoutAndChildObjects) \
X(HTMLOptionElementSelectedChange) \
X(HTMLSelectElementSetIsOpen) \
X(Hover) \
X(MediaListSetMediaText) \
X(MediaListAppendMedium) \
X(MediaListDeleteMedium) \
@ -83,8 +80,7 @@ enum class ShouldComputeRole {
X(StyleSheetDeleteRule) \
X(StyleSheetInsertRule) \
X(StyleSheetListAddSheet) \
X(StyleSheetListRemoveSheet) \
X(TargetElementChange)
X(StyleSheetListRemoveSheet)
enum class StyleInvalidationReason {
#define __ENUMERATE_STYLE_INVALIDATION_REASON(reason) reason,