From 9ef38fe9efa9d0194b66495f04bd25410436f130 Mon Sep 17 00:00:00 2001 From: Keyan Zhang Date: Sun, 7 Apr 2019 16:32:19 -0700 Subject: [PATCH] improve Flow --- .flowconfig | 11 + __fixtures__/.flowconfig | 22 + __fixtures__/flow-errors-fixture.js | 13 + __tests__/__snapshots__/flow.ts.snap | 77 + __tests__/flow.ts | 22 + index.js.flow | 4037 +++++++++++++++----------- package.json | 2 +- src/output.ts | 70 +- typecheck.js | 19 +- yarn.lock | 8 +- 10 files changed, 2496 insertions(+), 1785 deletions(-) create mode 100644 __fixtures__/.flowconfig create mode 100644 __fixtures__/flow-errors-fixture.js create mode 100644 __tests__/__snapshots__/flow.ts.snap create mode 100644 __tests__/flow.ts diff --git a/.flowconfig b/.flowconfig index a563318..e85ef80 100644 --- a/.flowconfig +++ b/.flowconfig @@ -1,12 +1,23 @@ [ignore] .*/node_modules +.*/__fixtures__/.* [include] [libs] [lints] +untyped-import=warn [options] [strict] +sketchy-null +sketchy-number +untyped-type-import +unclear-type +unsafe-getters-setters +nonstrict-import +unnecessary-optional-chain +unnecessary-invariant +deprecated-utility diff --git a/__fixtures__/.flowconfig b/__fixtures__/.flowconfig new file mode 100644 index 0000000..2620d4e --- /dev/null +++ b/__fixtures__/.flowconfig @@ -0,0 +1,22 @@ +[ignore] + +[include] +../index.js.flow + +[libs] + +[lints] +untyped-import=warn + +[options] + +[strict] +sketchy-null +sketchy-number +untyped-type-import +unclear-type +unsafe-getters-setters +nonstrict-import +unnecessary-optional-chain +unnecessary-invariant +deprecated-utility diff --git a/__fixtures__/flow-errors-fixture.js b/__fixtures__/flow-errors-fixture.js new file mode 100644 index 0000000..8d56377 --- /dev/null +++ b/__fixtures__/flow-errors-fixture.js @@ -0,0 +1,13 @@ +// @flow strict +import * as CSS from '../index.js.flow'; + +const css: CSS.Properties<*> = { + flexGrow: 'invalid', + unknownProperty: 'here', +}; + +const cssWithFallbackValues: CSS.PropertiesFallback<*> = { + flexGrow: [true], + flexDirection: ['123'], + colour: 'typo', +}; diff --git a/__tests__/__snapshots__/flow.ts.snap b/__tests__/__snapshots__/flow.ts.snap new file mode 100644 index 0000000..b80a059 --- /dev/null +++ b/__tests__/__snapshots__/flow.ts.snap @@ -0,0 +1,77 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`it detects errors 1`] = ` +"Error ------------------------------------------------------------------------- __fixtures__/flow-errors-fixture.js:4:32 + +Cannot assign object literal to \`css\` because: + - property \`unknownProperty\` is missing in \`Properties\` [1] but exists in object literal [2]. + - in property \`flexGrow\`: + - Either string [3] is incompatible with enum [4]. + - Or string [3] is incompatible with number [5]. + + __fixtures__/flow-errors-fixture.js:4:32 + v + 4| const css: CSS.Properties<*> = { + 5| flexGrow: 'invalid', + 6| unknownProperty: 'here', + 7| }; + ^ [2] + +References: + __fixtures__/flow-errors-fixture.js:4:12 + 4| const css: CSS.Properties<*> = { + ^^^^^^^^^^^^^^^^^ [1] + __fixtures__/flow-errors-fixture.js:5:13 + 5| flexGrow: 'invalid', + ^^^^^^^^^ [3] + index.js.flow:4531:22 + 4531| type GlobalsNumber = Globals | number; + ^^^^^^^ [4] + index.js.flow:4531:32 + 4531| type GlobalsNumber = Globals | number; + ^^^^^^ [5] + + +Error ------------------------------------------------------------------------- __fixtures__/flow-errors-fixture.js:9:58 + +Cannot assign object literal to \`cssWithFallbackValues\` because: + - property \`colour\` is missing in \`PropertiesFallback\` [1] but exists in object literal [2]. + - in array element of property \`flexGrow\`: + - Either boolean [3] is incompatible with enum [4]. + - Or boolean [3] is incompatible with number [5]. + - string [6] is incompatible with enum [7] in array element of property \`flexDirection\`. + + __fixtures__/flow-errors-fixture.js:9:58 + v + 9| const cssWithFallbackValues: CSS.PropertiesFallback<*> = { + 10| flexGrow: [true], + 11| flexDirection: ['123'], + 12| colour: 'typo', + 13| }; + ^ [2] + +References: + __fixtures__/flow-errors-fixture.js:9:30 + 9| const cssWithFallbackValues: CSS.PropertiesFallback<*> = { + ^^^^^^^^^^^^^^^^^^^^^^^^^ [1] + __fixtures__/flow-errors-fixture.js:10:14 + 10| flexGrow: [true], + ^^^^ [3] + index.js.flow:4531:22 + 4531| type GlobalsNumber = Globals | number; + ^^^^^^^ [4] + index.js.flow:4531:32 + 4531| type GlobalsNumber = Globals | number; + ^^^^^^ [5] + __fixtures__/flow-errors-fixture.js:11:19 + 11| flexDirection: ['123'], + ^^^^^ [6] + index.js.flow:106:72 + 106| type FallbackableFlexDirectionProperty = FlexDirectionProperty | Array; + ^^^^^^^^^^^^^^^^^^^^^ [7] + + + +Found 5 errors +" +`; diff --git a/__tests__/flow.ts b/__tests__/flow.ts new file mode 100644 index 0000000..c6e23ff --- /dev/null +++ b/__tests__/flow.ts @@ -0,0 +1,22 @@ +import * as path from 'path'; +import { spawnSync } from 'child_process'; + +test('it detects errors', () => { + const flowBin = path.resolve( + __dirname, + '../node_modules', + '.bin', + process.platform === 'win32' ? 'flow.cmd' : 'flow', + ); + + const fixturesDir = path.resolve(__dirname, '../__fixtures__'); + + const args = ['check', fixturesDir]; + + const result = spawnSync(flowBin, args, { + stdio: 'pipe', + encoding: 'utf8', + }); + + expect(result.stdout).toMatchSnapshot(); +}); diff --git a/index.js.flow b/index.js.flow index a96bdd6..2f2996d 100644 --- a/index.js.flow +++ b/index.js.flow @@ -1,5 +1,517 @@ -// @flow -export type StandardLonghandProperties = { +// @flow strict + +// See https://github.com/frenic/csstype/pull/67 for why all "fallbackable" types (e.g. `string | Array`) are lifted here +type FallbackableAlignContentProperty = AlignContentProperty | Array; +type FallbackableAlignItemsProperty = AlignItemsProperty | Array; +type FallbackableAlignSelfProperty = AlignSelfProperty | Array; +type FallbackableGlobalsString = GlobalsString | Array; +type FallbackableAnimationDirectionProperty = AnimationDirectionProperty | Array; +type FallbackableAnimationFillModeProperty = AnimationFillModeProperty | Array; +type FallbackableAnimationIterationCountProperty = AnimationIterationCountProperty | Array; +type FallbackableAnimationNameProperty = AnimationNameProperty | Array; +type FallbackableAnimationPlayStateProperty = AnimationPlayStateProperty | Array; +type FallbackableAnimationTimingFunctionProperty = AnimationTimingFunctionProperty | Array; +type FallbackableAppearanceProperty = AppearanceProperty | Array; +type FallbackableBackdropFilterProperty = BackdropFilterProperty | Array; +type FallbackableBackfaceVisibilityProperty = BackfaceVisibilityProperty | Array; +type FallbackableBackgroundAttachmentProperty = BackgroundAttachmentProperty | Array; +type FallbackableBackgroundBlendModeProperty = BackgroundBlendModeProperty | Array; +type FallbackableBackgroundClipProperty = BackgroundClipProperty | Array; +type FallbackableBackgroundColorProperty = BackgroundColorProperty | Array; +type FallbackableBackgroundImageProperty = BackgroundImageProperty | Array; +type FallbackableBackgroundOriginProperty = BackgroundOriginProperty | Array; +type FallbackableBackgroundPositionProperty = BackgroundPositionProperty | Array>; +type FallbackableBackgroundPositionXProperty = BackgroundPositionXProperty | Array>; +type FallbackableBackgroundPositionYProperty = BackgroundPositionYProperty | Array>; +type FallbackableBackgroundRepeatProperty = BackgroundRepeatProperty | Array; +type FallbackableBackgroundSizeProperty = BackgroundSizeProperty | Array>; +type FallbackableBlockOverflowProperty = BlockOverflowProperty | Array; +type FallbackableBlockSizeProperty = BlockSizeProperty | Array>; +type FallbackableBorderBlockColorProperty = BorderBlockColorProperty | Array; +type FallbackableBorderBlockEndColorProperty = BorderBlockEndColorProperty | Array; +type FallbackableBorderBlockEndStyleProperty = BorderBlockEndStyleProperty | Array; +type FallbackableBorderBlockEndWidthProperty = BorderBlockEndWidthProperty | Array>; +type FallbackableBorderBlockStartColorProperty = BorderBlockStartColorProperty | Array; +type FallbackableBorderBlockStartStyleProperty = BorderBlockStartStyleProperty | Array; +type FallbackableBorderBlockStartWidthProperty = BorderBlockStartWidthProperty | Array>; +type FallbackableBorderBlockStyleProperty = BorderBlockStyleProperty | Array; +type FallbackableBorderBlockWidthProperty = BorderBlockWidthProperty | Array>; +type FallbackableBorderBottomColorProperty = BorderBottomColorProperty | Array; +type FallbackableBorderBottomLeftRadiusProperty = BorderBottomLeftRadiusProperty | Array>; +type FallbackableBorderBottomRightRadiusProperty = BorderBottomRightRadiusProperty | Array>; +type FallbackableBorderBottomStyleProperty = BorderBottomStyleProperty | Array; +type FallbackableBorderBottomWidthProperty = BorderBottomWidthProperty | Array>; +type FallbackableBorderCollapseProperty = BorderCollapseProperty | Array; +type FallbackableBorderEndEndRadiusProperty = BorderEndEndRadiusProperty | Array>; +type FallbackableBorderEndStartRadiusProperty = BorderEndStartRadiusProperty | Array>; +type FallbackableBorderImageOutsetProperty = BorderImageOutsetProperty | Array>; +type FallbackableBorderImageRepeatProperty = BorderImageRepeatProperty | Array; +type FallbackableBorderImageSliceProperty = BorderImageSliceProperty | Array; +type FallbackableBorderImageSourceProperty = BorderImageSourceProperty | Array; +type FallbackableBorderImageWidthProperty = BorderImageWidthProperty | Array>; +type FallbackableBorderInlineColorProperty = BorderInlineColorProperty | Array; +type FallbackableBorderInlineEndColorProperty = BorderInlineEndColorProperty | Array; +type FallbackableBorderInlineEndStyleProperty = BorderInlineEndStyleProperty | Array; +type FallbackableBorderInlineEndWidthProperty = BorderInlineEndWidthProperty | Array>; +type FallbackableBorderInlineStartColorProperty = BorderInlineStartColorProperty | Array; +type FallbackableBorderInlineStartStyleProperty = BorderInlineStartStyleProperty | Array; +type FallbackableBorderInlineStartWidthProperty = BorderInlineStartWidthProperty | Array>; +type FallbackableBorderInlineStyleProperty = BorderInlineStyleProperty | Array; +type FallbackableBorderInlineWidthProperty = BorderInlineWidthProperty | Array>; +type FallbackableBorderLeftColorProperty = BorderLeftColorProperty | Array; +type FallbackableBorderLeftStyleProperty = BorderLeftStyleProperty | Array; +type FallbackableBorderLeftWidthProperty = BorderLeftWidthProperty | Array>; +type FallbackableBorderRightColorProperty = BorderRightColorProperty | Array; +type FallbackableBorderRightStyleProperty = BorderRightStyleProperty | Array; +type FallbackableBorderRightWidthProperty = BorderRightWidthProperty | Array>; +type FallbackableBorderSpacingProperty = BorderSpacingProperty | Array>; +type FallbackableBorderStartEndRadiusProperty = BorderStartEndRadiusProperty | Array>; +type FallbackableBorderStartStartRadiusProperty = BorderStartStartRadiusProperty | Array>; +type FallbackableBorderTopColorProperty = BorderTopColorProperty | Array; +type FallbackableBorderTopLeftRadiusProperty = BorderTopLeftRadiusProperty | Array>; +type FallbackableBorderTopRightRadiusProperty = BorderTopRightRadiusProperty | Array>; +type FallbackableBorderTopStyleProperty = BorderTopStyleProperty | Array; +type FallbackableBorderTopWidthProperty = BorderTopWidthProperty | Array>; +type FallbackableBottomProperty = BottomProperty | Array>; +type FallbackableBoxDecorationBreakProperty = BoxDecorationBreakProperty | Array; +type FallbackableBoxShadowProperty = BoxShadowProperty | Array; +type FallbackableBoxSizingProperty = BoxSizingProperty | Array; +type FallbackableBreakAfterProperty = BreakAfterProperty | Array; +type FallbackableBreakBeforeProperty = BreakBeforeProperty | Array; +type FallbackableBreakInsideProperty = BreakInsideProperty | Array; +type FallbackableCaptionSideProperty = CaptionSideProperty | Array; +type FallbackableCaretColorProperty = CaretColorProperty | Array; +type FallbackableClearProperty = ClearProperty | Array; +type FallbackableClipPathProperty = ClipPathProperty | Array; +type FallbackableColorProperty = ColorProperty | Array; +type FallbackableColorAdjustProperty = ColorAdjustProperty | Array; +type FallbackableColumnCountProperty = ColumnCountProperty | Array; +type FallbackableColumnFillProperty = ColumnFillProperty | Array; +type FallbackableColumnGapProperty = ColumnGapProperty | Array>; +type FallbackableColumnRuleColorProperty = ColumnRuleColorProperty | Array; +type FallbackableColumnRuleStyleProperty = ColumnRuleStyleProperty | Array; +type FallbackableColumnRuleWidthProperty = ColumnRuleWidthProperty | Array>; +type FallbackableColumnSpanProperty = ColumnSpanProperty | Array; +type FallbackableColumnWidthProperty = ColumnWidthProperty | Array>; +type FallbackableContainProperty = ContainProperty | Array; +type FallbackableContentProperty = ContentProperty | Array; +type FallbackableCounterIncrementProperty = CounterIncrementProperty | Array; +type FallbackableCounterResetProperty = CounterResetProperty | Array; +type FallbackableCursorProperty = CursorProperty | Array; +type FallbackableDirectionProperty = DirectionProperty | Array; +type FallbackableDisplayProperty = DisplayProperty | Array; +type FallbackableEmptyCellsProperty = EmptyCellsProperty | Array; +type FallbackableFilterProperty = FilterProperty | Array; +type FallbackableFlexBasisProperty = FlexBasisProperty | Array>; +type FallbackableFlexDirectionProperty = FlexDirectionProperty | Array; +type FallbackableGlobalsNumber = GlobalsNumber | Array; +type FallbackableFlexWrapProperty = FlexWrapProperty | Array; +type FallbackableFloatProperty = FloatProperty | Array; +type FallbackableFontFamilyProperty = FontFamilyProperty | Array; +type FallbackableFontFeatureSettingsProperty = FontFeatureSettingsProperty | Array; +type FallbackableFontKerningProperty = FontKerningProperty | Array; +type FallbackableFontLanguageOverrideProperty = FontLanguageOverrideProperty | Array; +type FallbackableFontOpticalSizingProperty = FontOpticalSizingProperty | Array; +type FallbackableFontSizeProperty = FontSizeProperty | Array>; +type FallbackableFontSizeAdjustProperty = FontSizeAdjustProperty | Array; +type FallbackableFontStretchProperty = FontStretchProperty | Array; +type FallbackableFontStyleProperty = FontStyleProperty | Array; +type FallbackableFontSynthesisProperty = FontSynthesisProperty | Array; +type FallbackableFontVariantProperty = FontVariantProperty | Array; +type FallbackableFontVariantCapsProperty = FontVariantCapsProperty | Array; +type FallbackableFontVariantEastAsianProperty = FontVariantEastAsianProperty | Array; +type FallbackableFontVariantLigaturesProperty = FontVariantLigaturesProperty | Array; +type FallbackableFontVariantNumericProperty = FontVariantNumericProperty | Array; +type FallbackableFontVariantPositionProperty = FontVariantPositionProperty | Array; +type FallbackableFontVariationSettingsProperty = FontVariationSettingsProperty | Array; +type FallbackableFontWeightProperty = FontWeightProperty | Array; +type FallbackableGridAutoColumnsProperty = GridAutoColumnsProperty | Array>; +type FallbackableGridAutoFlowProperty = GridAutoFlowProperty | Array; +type FallbackableGridAutoRowsProperty = GridAutoRowsProperty | Array>; +type FallbackableGridColumnEndProperty = GridColumnEndProperty | Array; +type FallbackableGridColumnStartProperty = GridColumnStartProperty | Array; +type FallbackableGridRowEndProperty = GridRowEndProperty | Array; +type FallbackableGridRowStartProperty = GridRowStartProperty | Array; +type FallbackableGridTemplateAreasProperty = GridTemplateAreasProperty | Array; +type FallbackableGridTemplateColumnsProperty = GridTemplateColumnsProperty | Array>; +type FallbackableGridTemplateRowsProperty = GridTemplateRowsProperty | Array>; +type FallbackableHangingPunctuationProperty = HangingPunctuationProperty | Array; +type FallbackableHeightProperty = HeightProperty | Array>; +type FallbackableHyphensProperty = HyphensProperty | Array; +type FallbackableImageOrientationProperty = ImageOrientationProperty | Array; +type FallbackableImageRenderingProperty = ImageRenderingProperty | Array; +type FallbackableImageResolutionProperty = ImageResolutionProperty | Array; +type FallbackableInitialLetterProperty = InitialLetterProperty | Array; +type FallbackableInlineSizeProperty = InlineSizeProperty | Array>; +type FallbackableInsetBlockEndProperty = InsetBlockEndProperty | Array>; +type FallbackableInsetBlockStartProperty = InsetBlockStartProperty | Array>; +type FallbackableInsetInlineEndProperty = InsetInlineEndProperty | Array>; +type FallbackableInsetInlineStartProperty = InsetInlineStartProperty | Array>; +type FallbackableIsolationProperty = IsolationProperty | Array; +type FallbackableJustifyContentProperty = JustifyContentProperty | Array; +type FallbackableJustifyItemsProperty = JustifyItemsProperty | Array; +type FallbackableJustifySelfProperty = JustifySelfProperty | Array; +type FallbackableLeftProperty = LeftProperty | Array>; +type FallbackableLetterSpacingProperty = LetterSpacingProperty | Array>; +type FallbackableLineBreakProperty = LineBreakProperty | Array; +type FallbackableLineHeightProperty = LineHeightProperty | Array>; +type FallbackableLineHeightStepProperty = LineHeightStepProperty | Array>; +type FallbackableListStyleImageProperty = ListStyleImageProperty | Array; +type FallbackableListStylePositionProperty = ListStylePositionProperty | Array; +type FallbackableListStyleTypeProperty = ListStyleTypeProperty | Array; +type FallbackableMarginBlockProperty = MarginBlockProperty | Array>; +type FallbackableMarginBlockEndProperty = MarginBlockEndProperty | Array>; +type FallbackableMarginBlockStartProperty = MarginBlockStartProperty | Array>; +type FallbackableMarginBottomProperty = MarginBottomProperty | Array>; +type FallbackableMarginInlineProperty = MarginInlineProperty | Array>; +type FallbackableMarginInlineEndProperty = MarginInlineEndProperty | Array>; +type FallbackableMarginInlineStartProperty = MarginInlineStartProperty | Array>; +type FallbackableMarginLeftProperty = MarginLeftProperty | Array>; +type FallbackableMarginRightProperty = MarginRightProperty | Array>; +type FallbackableMarginTopProperty = MarginTopProperty | Array>; +type FallbackableMaskBorderModeProperty = MaskBorderModeProperty | Array; +type FallbackableMaskBorderOutsetProperty = MaskBorderOutsetProperty | Array>; +type FallbackableMaskBorderRepeatProperty = MaskBorderRepeatProperty | Array; +type FallbackableMaskBorderSliceProperty = MaskBorderSliceProperty | Array; +type FallbackableMaskBorderSourceProperty = MaskBorderSourceProperty | Array; +type FallbackableMaskBorderWidthProperty = MaskBorderWidthProperty | Array>; +type FallbackableMaskClipProperty = MaskClipProperty | Array; +type FallbackableMaskCompositeProperty = MaskCompositeProperty | Array; +type FallbackableMaskImageProperty = MaskImageProperty | Array; +type FallbackableMaskModeProperty = MaskModeProperty | Array; +type FallbackableMaskOriginProperty = MaskOriginProperty | Array; +type FallbackableMaskPositionProperty = MaskPositionProperty | Array>; +type FallbackableMaskRepeatProperty = MaskRepeatProperty | Array; +type FallbackableMaskSizeProperty = MaskSizeProperty | Array>; +type FallbackableMaskTypeProperty = MaskTypeProperty | Array; +type FallbackableMaxBlockSizeProperty = MaxBlockSizeProperty | Array>; +type FallbackableMaxHeightProperty = MaxHeightProperty | Array>; +type FallbackableMaxInlineSizeProperty = MaxInlineSizeProperty | Array>; +type FallbackableMaxLinesProperty = MaxLinesProperty | Array; +type FallbackableMaxWidthProperty = MaxWidthProperty | Array>; +type FallbackableMinBlockSizeProperty = MinBlockSizeProperty | Array>; +type FallbackableMinHeightProperty = MinHeightProperty | Array>; +type FallbackableMinInlineSizeProperty = MinInlineSizeProperty | Array>; +type FallbackableMinWidthProperty = MinWidthProperty | Array>; +type FallbackableMixBlendModeProperty = MixBlendModeProperty | Array; +type FallbackableOffsetDistanceProperty = OffsetDistanceProperty | Array>; +type FallbackableOffsetPathProperty = OffsetPathProperty | Array; +type FallbackableOffsetRotateProperty = OffsetRotateProperty | Array; +type FallbackableObjectFitProperty = ObjectFitProperty | Array; +type FallbackableObjectPositionProperty = ObjectPositionProperty | Array>; +type FallbackableOffsetAnchorProperty = OffsetAnchorProperty | Array>; +type FallbackableOffsetPositionProperty = OffsetPositionProperty | Array>; +type FallbackableOutlineColorProperty = OutlineColorProperty | Array; +type FallbackableOutlineOffsetProperty = OutlineOffsetProperty | Array>; +type FallbackableOutlineStyleProperty = OutlineStyleProperty | Array; +type FallbackableOutlineWidthProperty = OutlineWidthProperty | Array>; +type FallbackableOverflowProperty = OverflowProperty | Array; +type FallbackableOverflowAnchorProperty = OverflowAnchorProperty | Array; +type FallbackableOverflowBlockProperty = OverflowBlockProperty | Array; +type FallbackableOverflowClipBoxProperty = OverflowClipBoxProperty | Array; +type FallbackableOverflowInlineProperty = OverflowInlineProperty | Array; +type FallbackableOverflowWrapProperty = OverflowWrapProperty | Array; +type FallbackableOverflowXProperty = OverflowXProperty | Array; +type FallbackableOverflowYProperty = OverflowYProperty | Array; +type FallbackableOverscrollBehaviorProperty = OverscrollBehaviorProperty | Array; +type FallbackableOverscrollBehaviorXProperty = OverscrollBehaviorXProperty | Array; +type FallbackableOverscrollBehaviorYProperty = OverscrollBehaviorYProperty | Array; +type FallbackablePaddingBlockProperty = PaddingBlockProperty | Array>; +type FallbackablePaddingBlockEndProperty = PaddingBlockEndProperty | Array>; +type FallbackablePaddingBlockStartProperty = PaddingBlockStartProperty | Array>; +type FallbackablePaddingBottomProperty = PaddingBottomProperty | Array>; +type FallbackablePaddingInlineProperty = PaddingInlineProperty | Array>; +type FallbackablePaddingInlineEndProperty = PaddingInlineEndProperty | Array>; +type FallbackablePaddingInlineStartProperty = PaddingInlineStartProperty | Array>; +type FallbackablePaddingLeftProperty = PaddingLeftProperty | Array>; +type FallbackablePaddingRightProperty = PaddingRightProperty | Array>; +type FallbackablePaddingTopProperty = PaddingTopProperty | Array>; +type FallbackablePageBreakAfterProperty = PageBreakAfterProperty | Array; +type FallbackablePageBreakBeforeProperty = PageBreakBeforeProperty | Array; +type FallbackablePageBreakInsideProperty = PageBreakInsideProperty | Array; +type FallbackablePaintOrderProperty = PaintOrderProperty | Array; +type FallbackablePerspectiveProperty = PerspectiveProperty | Array>; +type FallbackablePerspectiveOriginProperty = PerspectiveOriginProperty | Array>; +type FallbackablePlaceContentProperty = PlaceContentProperty | Array; +type FallbackablePointerEventsProperty = PointerEventsProperty | Array; +type FallbackablePositionProperty = PositionProperty | Array; +type FallbackableQuotesProperty = QuotesProperty | Array; +type FallbackableResizeProperty = ResizeProperty | Array; +type FallbackableRightProperty = RightProperty | Array>; +type FallbackableRotateProperty = RotateProperty | Array; +type FallbackableRowGapProperty = RowGapProperty | Array>; +type FallbackableRubyAlignProperty = RubyAlignProperty | Array; +type FallbackableRubyMergeProperty = RubyMergeProperty | Array; +type FallbackableRubyPositionProperty = RubyPositionProperty | Array; +type FallbackableScaleProperty = ScaleProperty | Array; +type FallbackableScrollBehaviorProperty = ScrollBehaviorProperty | Array; +type FallbackableScrollMarginProperty = ScrollMarginProperty | Array>; +type FallbackableScrollMarginBlockProperty = ScrollMarginBlockProperty | Array>; +type FallbackableScrollMarginBlockEndProperty = ScrollMarginBlockEndProperty | Array>; +type FallbackableScrollMarginBlockStartProperty = ScrollMarginBlockStartProperty | Array>; +type FallbackableScrollMarginBottomProperty = ScrollMarginBottomProperty | Array>; +type FallbackableScrollMarginInlineEndProperty = ScrollMarginInlineEndProperty | Array>; +type FallbackableScrollMarginInlineStartProperty = ScrollMarginInlineStartProperty | Array>; +type FallbackableScrollMarginLeftProperty = ScrollMarginLeftProperty | Array>; +type FallbackableScrollMarginRightProperty = ScrollMarginRightProperty | Array>; +type FallbackableScrollMarginTopProperty = ScrollMarginTopProperty | Array>; +type FallbackableScrollPaddingProperty = ScrollPaddingProperty | Array>; +type FallbackableScrollPaddingBlockProperty = ScrollPaddingBlockProperty | Array>; +type FallbackableScrollPaddingBlockEndProperty = ScrollPaddingBlockEndProperty | Array>; +type FallbackableScrollPaddingBlockStartProperty = ScrollPaddingBlockStartProperty | Array>; +type FallbackableScrollPaddingBottomProperty = ScrollPaddingBottomProperty | Array>; +type FallbackableScrollPaddingInlineProperty = ScrollPaddingInlineProperty | Array>; +type FallbackableScrollPaddingInlineEndProperty = ScrollPaddingInlineEndProperty | Array>; +type FallbackableScrollPaddingInlineStartProperty = ScrollPaddingInlineStartProperty | Array>; +type FallbackableScrollPaddingLeftProperty = ScrollPaddingLeftProperty | Array>; +type FallbackableScrollPaddingRightProperty = ScrollPaddingRightProperty | Array>; +type FallbackableScrollPaddingTopProperty = ScrollPaddingTopProperty | Array>; +type FallbackableScrollSnapAlignProperty = ScrollSnapAlignProperty | Array; +type FallbackableScrollSnapTypeProperty = ScrollSnapTypeProperty | Array; +type FallbackableScrollbarColorProperty = ScrollbarColorProperty | Array; +type FallbackableScrollbarWidthProperty = ScrollbarWidthProperty | Array; +type FallbackableShapeMarginProperty = ShapeMarginProperty | Array>; +type FallbackableShapeOutsideProperty = ShapeOutsideProperty | Array; +type FallbackableTabSizeProperty = TabSizeProperty | Array>; +type FallbackableTableLayoutProperty = TableLayoutProperty | Array; +type FallbackableTextAlignProperty = TextAlignProperty | Array; +type FallbackableTextAlignLastProperty = TextAlignLastProperty | Array; +type FallbackableTextCombineUprightProperty = TextCombineUprightProperty | Array; +type FallbackableTextDecorationColorProperty = TextDecorationColorProperty | Array; +type FallbackableTextDecorationLineProperty = TextDecorationLineProperty | Array; +type FallbackableTextDecorationSkipProperty = TextDecorationSkipProperty | Array; +type FallbackableTextDecorationSkipInkProperty = TextDecorationSkipInkProperty | Array; +type FallbackableTextDecorationStyleProperty = TextDecorationStyleProperty | Array; +type FallbackableTextEmphasisColorProperty = TextEmphasisColorProperty | Array; +type FallbackableTextEmphasisStyleProperty = TextEmphasisStyleProperty | Array; +type FallbackableTextIndentProperty = TextIndentProperty | Array>; +type FallbackableTextJustifyProperty = TextJustifyProperty | Array; +type FallbackableTextOrientationProperty = TextOrientationProperty | Array; +type FallbackableTextOverflowProperty = TextOverflowProperty | Array; +type FallbackableTextRenderingProperty = TextRenderingProperty | Array; +type FallbackableTextShadowProperty = TextShadowProperty | Array; +type FallbackableTextSizeAdjustProperty = TextSizeAdjustProperty | Array; +type FallbackableTextTransformProperty = TextTransformProperty | Array; +type FallbackableTextUnderlinePositionProperty = TextUnderlinePositionProperty | Array; +type FallbackableTopProperty = TopProperty | Array>; +type FallbackableTouchActionProperty = TouchActionProperty | Array; +type FallbackableTransformProperty = TransformProperty | Array; +type FallbackableTransformBoxProperty = TransformBoxProperty | Array; +type FallbackableTransformOriginProperty = TransformOriginProperty | Array>; +type FallbackableTransformStyleProperty = TransformStyleProperty | Array; +type FallbackableTransitionPropertyProperty = TransitionPropertyProperty | Array; +type FallbackableTransitionTimingFunctionProperty = TransitionTimingFunctionProperty | Array; +type FallbackableTranslateProperty = TranslateProperty | Array>; +type FallbackableUnicodeBidiProperty = UnicodeBidiProperty | Array; +type FallbackableUserSelectProperty = UserSelectProperty | Array; +type FallbackableVerticalAlignProperty = VerticalAlignProperty | Array>; +type FallbackableVisibilityProperty = VisibilityProperty | Array; +type FallbackableWhiteSpaceProperty = WhiteSpaceProperty | Array; +type FallbackableWidthProperty = WidthProperty | Array>; +type FallbackableWillChangeProperty = WillChangeProperty | Array; +type FallbackableWordBreakProperty = WordBreakProperty | Array; +type FallbackableWordSpacingProperty = WordSpacingProperty | Array>; +type FallbackableWordWrapProperty = WordWrapProperty | Array; +type FallbackableWritingModeProperty = WritingModeProperty | Array; +type FallbackableZIndexProperty = ZIndexProperty | Array; +type FallbackableZoomProperty = ZoomProperty | Array; +type FallbackableGlobals = Globals | Array; +type FallbackableAnimationProperty = AnimationProperty | Array; +type FallbackableBackgroundProperty = BackgroundProperty | Array>; +type FallbackableBorderProperty = BorderProperty | Array>; +type FallbackableBorderBlockProperty = BorderBlockProperty | Array>; +type FallbackableBorderBlockEndProperty = BorderBlockEndProperty | Array>; +type FallbackableBorderBlockStartProperty = BorderBlockStartProperty | Array>; +type FallbackableBorderBottomProperty = BorderBottomProperty | Array>; +type FallbackableBorderColorProperty = BorderColorProperty | Array; +type FallbackableBorderImageProperty = BorderImageProperty | Array; +type FallbackableBorderInlineProperty = BorderInlineProperty | Array>; +type FallbackableBorderInlineEndProperty = BorderInlineEndProperty | Array>; +type FallbackableBorderInlineStartProperty = BorderInlineStartProperty | Array>; +type FallbackableBorderLeftProperty = BorderLeftProperty | Array>; +type FallbackableBorderRadiusProperty = BorderRadiusProperty | Array>; +type FallbackableBorderRightProperty = BorderRightProperty | Array>; +type FallbackableBorderStyleProperty = BorderStyleProperty | Array; +type FallbackableBorderTopProperty = BorderTopProperty | Array>; +type FallbackableBorderWidthProperty = BorderWidthProperty | Array>; +type FallbackableColumnRuleProperty = ColumnRuleProperty | Array>; +type FallbackableColumnsProperty = ColumnsProperty | Array>; +type FallbackableFlexProperty = FlexProperty | Array>; +type FallbackableFlexFlowProperty = FlexFlowProperty | Array; +type FallbackableFontProperty = FontProperty | Array; +type FallbackableGapProperty = GapProperty | Array>; +type FallbackableGridProperty = GridProperty | Array; +type FallbackableGridAreaProperty = GridAreaProperty | Array; +type FallbackableGridColumnProperty = GridColumnProperty | Array; +type FallbackableGridRowProperty = GridRowProperty | Array; +type FallbackableGridTemplateProperty = GridTemplateProperty | Array; +type FallbackableLineClampProperty = LineClampProperty | Array; +type FallbackableListStyleProperty = ListStyleProperty | Array; +type FallbackableMarginProperty = MarginProperty | Array>; +type FallbackableMaskProperty = MaskProperty | Array>; +type FallbackableMaskBorderProperty = MaskBorderProperty | Array; +type FallbackableOffsetProperty = OffsetProperty | Array>; +type FallbackableOutlineProperty = OutlineProperty | Array>; +type FallbackablePaddingProperty = PaddingProperty | Array>; +type FallbackablePlaceItemsProperty = PlaceItemsProperty | Array; +type FallbackablePlaceSelfProperty = PlaceSelfProperty | Array; +type FallbackableTextDecorationProperty = TextDecorationProperty | Array; +type FallbackableTextEmphasisProperty = TextEmphasisProperty | Array; +type FallbackableTransitionProperty = TransitionProperty | Array; +type FallbackableMozAppearanceProperty = MozAppearanceProperty | Array; +type FallbackableMozBorderBottomColorsProperty = MozBorderBottomColorsProperty | Array; +type FallbackableMozBorderLeftColorsProperty = MozBorderLeftColorsProperty | Array; +type FallbackableMozBorderRightColorsProperty = MozBorderRightColorsProperty | Array; +type FallbackableMozBorderTopColorsProperty = MozBorderTopColorsProperty | Array; +type FallbackableMozContextPropertiesProperty = MozContextPropertiesProperty | Array; +type FallbackableMozFloatEdgeProperty = MozFloatEdgeProperty | Array; +type FallbackableMozImageRegionProperty = MozImageRegionProperty | Array; +type FallbackableMozOrientProperty = MozOrientProperty | Array; +type FallbackableMozOutlineRadiusBottomleftProperty = MozOutlineRadiusBottomleftProperty | Array>; +type FallbackableMozOutlineRadiusBottomrightProperty = MozOutlineRadiusBottomrightProperty | Array>; +type FallbackableMozOutlineRadiusTopleftProperty = MozOutlineRadiusTopleftProperty | Array>; +type FallbackableMozOutlineRadiusToprightProperty = MozOutlineRadiusToprightProperty | Array>; +type FallbackableMozStackSizingProperty = MozStackSizingProperty | Array; +type FallbackableMozUserFocusProperty = MozUserFocusProperty | Array; +type FallbackableMozUserModifyProperty = MozUserModifyProperty | Array; +type FallbackableMozWindowDraggingProperty = MozWindowDraggingProperty | Array; +type FallbackableMozWindowShadowProperty = MozWindowShadowProperty | Array; +type FallbackableMsAcceleratorProperty = MsAcceleratorProperty | Array; +type FallbackableMsBlockProgressionProperty = MsBlockProgressionProperty | Array; +type FallbackableMsContentZoomChainingProperty = MsContentZoomChainingProperty | Array; +type FallbackableMsContentZoomSnapTypeProperty = MsContentZoomSnapTypeProperty | Array; +type FallbackableMsContentZoomingProperty = MsContentZoomingProperty | Array; +type FallbackableMsFlowFromProperty = MsFlowFromProperty | Array; +type FallbackableMsFlowIntoProperty = MsFlowIntoProperty | Array; +type FallbackableMsHighContrastAdjustProperty = MsHighContrastAdjustProperty | Array; +type FallbackableMsHyphenateLimitCharsProperty = MsHyphenateLimitCharsProperty | Array; +type FallbackableMsHyphenateLimitLinesProperty = MsHyphenateLimitLinesProperty | Array; +type FallbackableMsHyphenateLimitZoneProperty = MsHyphenateLimitZoneProperty | Array>; +type FallbackableMsImeAlignProperty = MsImeAlignProperty | Array; +type FallbackableMsOverflowStyleProperty = MsOverflowStyleProperty | Array; +type FallbackableMsScrollChainingProperty = MsScrollChainingProperty | Array; +type FallbackableMsScrollLimitXMaxProperty = MsScrollLimitXMaxProperty | Array>; +type FallbackableMsScrollLimitXMinProperty = MsScrollLimitXMinProperty | Array>; +type FallbackableMsScrollLimitYMaxProperty = MsScrollLimitYMaxProperty | Array>; +type FallbackableMsScrollLimitYMinProperty = MsScrollLimitYMinProperty | Array>; +type FallbackableMsScrollRailsProperty = MsScrollRailsProperty | Array; +type FallbackableMsScrollSnapTypeProperty = MsScrollSnapTypeProperty | Array; +type FallbackableMsScrollTranslationProperty = MsScrollTranslationProperty | Array; +type FallbackableMsTextAutospaceProperty = MsTextAutospaceProperty | Array; +type FallbackableMsTouchSelectProperty = MsTouchSelectProperty | Array; +type FallbackableMsUserSelectProperty = MsUserSelectProperty | Array; +type FallbackableMsWrapFlowProperty = MsWrapFlowProperty | Array; +type FallbackableMsWrapMarginProperty = MsWrapMarginProperty | Array>; +type FallbackableMsWrapThroughProperty = MsWrapThroughProperty | Array; +type FallbackableWebkitAppearanceProperty = WebkitAppearanceProperty | Array; +type FallbackableWebkitBorderBeforeColorProperty = WebkitBorderBeforeColorProperty | Array; +type FallbackableWebkitBorderBeforeStyleProperty = WebkitBorderBeforeStyleProperty | Array; +type FallbackableWebkitBorderBeforeWidthProperty = WebkitBorderBeforeWidthProperty | Array>; +type FallbackableWebkitBoxReflectProperty = WebkitBoxReflectProperty | Array>; +type FallbackableWebkitMaskAttachmentProperty = WebkitMaskAttachmentProperty | Array; +type FallbackableWebkitMaskClipProperty = WebkitMaskClipProperty | Array; +type FallbackableWebkitMaskCompositeProperty = WebkitMaskCompositeProperty | Array; +type FallbackableWebkitMaskImageProperty = WebkitMaskImageProperty | Array; +type FallbackableWebkitMaskOriginProperty = WebkitMaskOriginProperty | Array; +type FallbackableWebkitMaskPositionProperty = WebkitMaskPositionProperty | Array>; +type FallbackableWebkitMaskPositionXProperty = WebkitMaskPositionXProperty | Array>; +type FallbackableWebkitMaskPositionYProperty = WebkitMaskPositionYProperty | Array>; +type FallbackableWebkitMaskRepeatProperty = WebkitMaskRepeatProperty | Array; +type FallbackableWebkitMaskRepeatXProperty = WebkitMaskRepeatXProperty | Array; +type FallbackableWebkitMaskRepeatYProperty = WebkitMaskRepeatYProperty | Array; +type FallbackableWebkitMaskSizeProperty = WebkitMaskSizeProperty | Array>; +type FallbackableWebkitOverflowScrollingProperty = WebkitOverflowScrollingProperty | Array; +type FallbackableWebkitTapHighlightColorProperty = WebkitTapHighlightColorProperty | Array; +type FallbackableWebkitTextFillColorProperty = WebkitTextFillColorProperty | Array; +type FallbackableWebkitTextStrokeColorProperty = WebkitTextStrokeColorProperty | Array; +type FallbackableWebkitTextStrokeWidthProperty = WebkitTextStrokeWidthProperty | Array>; +type FallbackableWebkitTouchCalloutProperty = WebkitTouchCalloutProperty | Array; +type FallbackableWebkitUserModifyProperty = WebkitUserModifyProperty | Array; +type FallbackableMsContentZoomSnapProperty = MsContentZoomSnapProperty | Array; +type FallbackableWebkitBorderBeforeProperty = WebkitBorderBeforeProperty | Array>; +type FallbackableWebkitLineClampProperty = WebkitLineClampProperty | Array; +type FallbackableWebkitMaskProperty = WebkitMaskProperty | Array>; +type FallbackableWebkitTextStrokeProperty = WebkitTextStrokeProperty | Array>; +type FallbackableBoxAlignProperty = BoxAlignProperty | Array; +type FallbackableBoxDirectionProperty = BoxDirectionProperty | Array; +type FallbackableBoxLinesProperty = BoxLinesProperty | Array; +type FallbackableBoxOrientProperty = BoxOrientProperty | Array; +type FallbackableBoxPackProperty = BoxPackProperty | Array; +type FallbackableClipProperty = ClipProperty | Array; +type FallbackableFontVariantAlternatesProperty = FontVariantAlternatesProperty | Array; +type FallbackableGridColumnGapProperty = GridColumnGapProperty | Array>; +type FallbackableGridGapProperty = GridGapProperty | Array>; +type FallbackableGridRowGapProperty = GridRowGapProperty | Array>; +type FallbackableImeModeProperty = ImeModeProperty | Array; +type FallbackableScrollSnapCoordinateProperty = ScrollSnapCoordinateProperty | Array>; +type FallbackableScrollSnapDestinationProperty = ScrollSnapDestinationProperty | Array>; +type FallbackableScrollSnapPointsXProperty = ScrollSnapPointsXProperty | Array; +type FallbackableScrollSnapPointsYProperty = ScrollSnapPointsYProperty | Array; +type FallbackableScrollSnapTypeXProperty = ScrollSnapTypeXProperty | Array; +type FallbackableScrollSnapTypeYProperty = ScrollSnapTypeYProperty | Array; +type FallbackableMozBindingProperty = MozBindingProperty | Array; +type FallbackableMozOutlineRadiusProperty = MozOutlineRadiusProperty | Array>; +type FallbackableMozTextBlinkProperty = MozTextBlinkProperty | Array; +type FallbackableMozUserInputProperty = MozUserInputProperty | Array; +type FallbackableMsScrollbar3dlightColorProperty = MsScrollbar3dlightColorProperty | Array; +type FallbackableMsScrollbarArrowColorProperty = MsScrollbarArrowColorProperty | Array; +type FallbackableMsScrollbarBaseColorProperty = MsScrollbarBaseColorProperty | Array; +type FallbackableMsScrollbarDarkshadowColorProperty = MsScrollbarDarkshadowColorProperty | Array; +type FallbackableMsScrollbarFaceColorProperty = MsScrollbarFaceColorProperty | Array; +type FallbackableMsScrollbarHighlightColorProperty = MsScrollbarHighlightColorProperty | Array; +type FallbackableMsScrollbarShadowColorProperty = MsScrollbarShadowColorProperty | Array; +type FallbackableMsScrollbarTrackColorProperty = MsScrollbarTrackColorProperty | Array; +type FallbackableAlignmentBaselineProperty = AlignmentBaselineProperty | Array; +type FallbackableBaselineShiftProperty = BaselineShiftProperty | Array>; +type FallbackableClipRuleProperty = ClipRuleProperty | Array; +type FallbackableColorInterpolationProperty = ColorInterpolationProperty | Array; +type FallbackableColorRenderingProperty = ColorRenderingProperty | Array; +type FallbackableDominantBaselineProperty = DominantBaselineProperty | Array; +type FallbackableFillProperty = FillProperty | Array; +type FallbackableFillRuleProperty = FillRuleProperty | Array; +type FallbackableFloodColorProperty = FloodColorProperty | Array; +type FallbackableGlyphOrientationVerticalProperty = GlyphOrientationVerticalProperty | Array; +type FallbackableLightingColorProperty = LightingColorProperty | Array; +type FallbackableMarkerProperty = MarkerProperty | Array; +type FallbackableMarkerEndProperty = MarkerEndProperty | Array; +type FallbackableMarkerMidProperty = MarkerMidProperty | Array; +type FallbackableMarkerStartProperty = MarkerStartProperty | Array; +type FallbackableShapeRenderingProperty = ShapeRenderingProperty | Array; +type FallbackableStopColorProperty = StopColorProperty | Array; +type FallbackableStrokeProperty = StrokeProperty | Array; +type FallbackableStrokeDasharrayProperty = StrokeDasharrayProperty | Array>; +type FallbackableStrokeDashoffsetProperty = StrokeDashoffsetProperty | Array>; +type FallbackableStrokeLinecapProperty = StrokeLinecapProperty | Array; +type FallbackableStrokeLinejoinProperty = StrokeLinejoinProperty | Array; +type FallbackableStrokeWidthProperty = StrokeWidthProperty | Array>; +type FallbackableTextAnchorProperty = TextAnchorProperty | Array; +type FallbackableVectorEffectProperty = VectorEffectProperty | Array; +type FallbackableString = string | Array; +type FallbackableCounterStyleRangeProperty = CounterStyleRangeProperty | Array; +type FallbackableCounterStyleSpeakAsProperty = CounterStyleSpeakAsProperty | Array; +type FallbackableCounterStyleSystemProperty = CounterStyleSystemProperty | Array; +type FallbackableFontFaceFontFeatureSettingsProperty = FontFaceFontFeatureSettingsProperty | Array; +type FallbackableFontFaceFontDisplayProperty = FontFaceFontDisplayProperty | Array; +type FallbackableFontFaceFontStretchProperty = FontFaceFontStretchProperty | Array; +type FallbackableFontFaceFontStyleProperty = FontFaceFontStyleProperty | Array; +type FallbackableFontFaceFontVariantProperty = FontFaceFontVariantProperty | Array; +type FallbackableFontFaceFontVariationSettingsProperty = FontFaceFontVariationSettingsProperty | Array; +type FallbackableFontFaceFontWeightProperty = FontFaceFontWeightProperty | Array; +type FallbackablePageBleedProperty = PageBleedProperty | Array>; +type FallbackablePageMarksProperty = PageMarksProperty | Array; +type FallbackableViewportHeightProperty = ViewportHeightProperty | Array>; +type FallbackableViewportMaxHeightProperty = ViewportMaxHeightProperty | Array>; +type FallbackableViewportMaxWidthProperty = ViewportMaxWidthProperty | Array>; +type FallbackableViewportMaxZoomProperty = ViewportMaxZoomProperty | Array; +type FallbackableViewportMinHeightProperty = ViewportMinHeightProperty | Array>; +type FallbackableViewportMinWidthProperty = ViewportMinWidthProperty | Array>; +type FallbackableViewportMinZoomProperty = ViewportMinZoomProperty | Array; +type FallbackableViewportOrientationProperty = ViewportOrientationProperty | Array; +type FallbackableViewportUserZoomProperty = ViewportUserZoomProperty | Array; +type FallbackableViewportWidthProperty = ViewportWidthProperty | Array>; +type FallbackableViewportZoomProperty = ViewportZoomProperty | Array; + +export type StandardLonghandProperties = {| alignContent?: AlignContentProperty, alignItems?: AlignItemsProperty, alignSelf?: AlignSelfProperty, @@ -328,9 +840,9 @@ export type StandardLonghandProperties = { writingMode?: WritingModeProperty, zIndex?: ZIndexProperty, zoom?: ZoomProperty, -}; +|}; -export type StandardShorthandProperties = { +export type StandardShorthandProperties = {| all?: Globals, animation?: AnimationProperty, background?: BackgroundProperty, @@ -375,11 +887,11 @@ export type StandardShorthandProperties = { textDecoration?: TextDecorationProperty, textEmphasis?: TextEmphasisProperty, transition?: TransitionProperty, -}; +|}; -export type StandardProperties = StandardLonghandProperties & StandardShorthandProperties; +export type StandardProperties = {| ...StandardLonghandProperties, ...StandardShorthandProperties |}; -export type VendorLonghandProperties = { +export type VendorLonghandProperties = {| MozAnimationDelay?: GlobalsString, MozAnimationDirection?: AnimationDirectionProperty, MozAnimationDuration?: GlobalsString, @@ -593,9 +1105,9 @@ export type VendorLonghandProperties = { WebkitUserModify?: WebkitUserModifyProperty, WebkitUserSelect?: UserSelectProperty, WebkitWritingMode?: WritingModeProperty, -}; +|}; -export type VendorShorthandProperties = { +export type VendorShorthandProperties = {| MozAnimation?: AnimationProperty, MozBorderImage?: BorderImageProperty, MozColumnRule?: ColumnRuleProperty, @@ -621,11 +1133,11 @@ export type VendorShorthandProperties = { WebkitTextEmphasis?: TextEmphasisProperty, WebkitTextStroke?: WebkitTextStrokeProperty, WebkitTransition?: TransitionProperty, -}; +|}; -export type VendorProperties = VendorLonghandProperties & VendorShorthandProperties; +export type VendorProperties = {| ...VendorLonghandProperties, ...VendorShorthandProperties |}; -export type ObsoleteProperties = { +export type ObsoleteProperties = {| boxAlign?: BoxAlignProperty, boxDirection?: BoxDirectionProperty, boxFlex?: GlobalsNumber, @@ -724,9 +1236,9 @@ export type ObsoleteProperties = { WebkitBoxPack?: BoxPackProperty, WebkitScrollSnapPointsX?: ScrollSnapPointsXProperty, WebkitScrollSnapPointsY?: ScrollSnapPointsYProperty, -}; +|}; -export type SvgProperties = { +export type SvgProperties = {| alignmentBaseline?: AlignmentBaselineProperty, baselineShift?: BaselineShiftProperty, clip?: ClipProperty, @@ -787,11 +1299,11 @@ export type SvgProperties = { whiteSpace?: WhiteSpaceProperty, wordSpacing?: WordSpacingProperty, writingMode?: WritingModeProperty, -}; +|}; -export type Properties = StandardProperties & VendorProperties & ObsoleteProperties & SvgProperties; +export type Properties = {| ...StandardProperties, ...VendorProperties, ...ObsoleteProperties, ...SvgProperties |}; -export type StandardLonghandPropertiesHyphen = { +export type StandardLonghandPropertiesHyphen = {| "align-content"?: AlignContentProperty, "align-items"?: AlignItemsProperty, "align-self"?: AlignSelfProperty, @@ -1120,9 +1632,9 @@ export type StandardLonghandPropertiesHyphen = { "writing-mode"?: WritingModeProperty, "z-index"?: ZIndexProperty, zoom?: ZoomProperty, -}; +|}; -export type StandardShorthandPropertiesHyphen = { +export type StandardShorthandPropertiesHyphen = {| all?: Globals, animation?: AnimationProperty, background?: BackgroundProperty, @@ -1167,11 +1679,11 @@ export type StandardShorthandPropertiesHyphen = { "text-decoration"?: TextDecorationProperty, "text-emphasis"?: TextEmphasisProperty, transition?: TransitionProperty, -}; +|}; -export type StandardPropertiesHyphen = StandardLonghandPropertiesHyphen & StandardShorthandPropertiesHyphen; +export type StandardPropertiesHyphen = {| ...StandardLonghandPropertiesHyphen, ...StandardShorthandPropertiesHyphen |}; -export type VendorLonghandPropertiesHyphen = { +export type VendorLonghandPropertiesHyphen = {| "-moz-animation-delay"?: GlobalsString, "-moz-animation-direction"?: AnimationDirectionProperty, "-moz-animation-duration"?: GlobalsString, @@ -1385,9 +1897,9 @@ export type VendorLonghandPropertiesHyphen = { "-webkit-user-modify"?: WebkitUserModifyProperty, "-webkit-user-select"?: UserSelectProperty, "-webkit-writing-mode"?: WritingModeProperty, -}; +|}; -export type VendorShorthandPropertiesHyphen = { +export type VendorShorthandPropertiesHyphen = {| "-moz-animation"?: AnimationProperty, "-moz-border-image"?: BorderImageProperty, "-moz-column-rule"?: ColumnRuleProperty, @@ -1413,11 +1925,11 @@ export type VendorShorthandPropertiesHyphen = { "-webkit-text-emphasis"?: TextEmphasisProperty, "-webkit-text-stroke"?: WebkitTextStrokeProperty, "-webkit-transition"?: TransitionProperty, -}; +|}; -export type VendorPropertiesHyphen = VendorLonghandPropertiesHyphen & VendorShorthandPropertiesHyphen; +export type VendorPropertiesHyphen = {| ...VendorLonghandPropertiesHyphen, ...VendorShorthandPropertiesHyphen |}; -export type ObsoletePropertiesHyphen = { +export type ObsoletePropertiesHyphen = {| "box-align"?: BoxAlignProperty, "box-direction"?: BoxDirectionProperty, "box-flex"?: GlobalsNumber, @@ -1516,9 +2028,9 @@ export type ObsoletePropertiesHyphen = { "-webkit-box-pack"?: BoxPackProperty, "-webkit-scroll-snap-points-x"?: ScrollSnapPointsXProperty, "-webkit-scroll-snap-points-y"?: ScrollSnapPointsYProperty, -}; +|}; -export type SvgPropertiesHyphen = { +export type SvgPropertiesHyphen = {| "alignment-baseline"?: AlignmentBaselineProperty, "baseline-shift"?: BaselineShiftProperty, clip?: ClipProperty, @@ -1579,1604 +2091,1613 @@ export type SvgPropertiesHyphen = { "white-space"?: WhiteSpaceProperty, "word-spacing"?: WordSpacingProperty, "writing-mode"?: WritingModeProperty, -}; - -export type PropertiesHyphen = StandardPropertiesHyphen & - VendorPropertiesHyphen & - ObsoletePropertiesHyphen & - SvgPropertiesHyphen; - -export type StandardLonghandPropertiesFallback = { - alignContent?: AlignContentProperty | AlignContentProperty[], - alignItems?: AlignItemsProperty | AlignItemsProperty[], - alignSelf?: AlignSelfProperty | AlignSelfProperty[], - animationDelay?: GlobalsString | GlobalsString[], - animationDirection?: AnimationDirectionProperty | AnimationDirectionProperty[], - animationDuration?: GlobalsString | GlobalsString[], - animationFillMode?: AnimationFillModeProperty | AnimationFillModeProperty[], - animationIterationCount?: AnimationIterationCountProperty | AnimationIterationCountProperty[], - animationName?: AnimationNameProperty | AnimationNameProperty[], - animationPlayState?: AnimationPlayStateProperty | AnimationPlayStateProperty[], - animationTimingFunction?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], - appearance?: AppearanceProperty | AppearanceProperty[], - backdropFilter?: BackdropFilterProperty | BackdropFilterProperty[], - backfaceVisibility?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[], - backgroundAttachment?: BackgroundAttachmentProperty | BackgroundAttachmentProperty[], - backgroundBlendMode?: BackgroundBlendModeProperty | BackgroundBlendModeProperty[], - backgroundClip?: BackgroundClipProperty | BackgroundClipProperty[], - backgroundColor?: BackgroundColorProperty | BackgroundColorProperty[], - backgroundImage?: BackgroundImageProperty | BackgroundImageProperty[], - backgroundOrigin?: BackgroundOriginProperty | BackgroundOriginProperty[], - backgroundPosition?: BackgroundPositionProperty | BackgroundPositionProperty[], - backgroundPositionX?: BackgroundPositionXProperty | BackgroundPositionXProperty[], - backgroundPositionY?: BackgroundPositionYProperty | BackgroundPositionYProperty[], - backgroundRepeat?: BackgroundRepeatProperty | BackgroundRepeatProperty[], - backgroundSize?: BackgroundSizeProperty | BackgroundSizeProperty[], - blockOverflow?: BlockOverflowProperty | BlockOverflowProperty[], - blockSize?: BlockSizeProperty | BlockSizeProperty[], - borderBlockColor?: BorderBlockColorProperty | BorderBlockColorProperty[], - borderBlockEndColor?: BorderBlockEndColorProperty | BorderBlockEndColorProperty[], - borderBlockEndStyle?: BorderBlockEndStyleProperty | BorderBlockEndStyleProperty[], - borderBlockEndWidth?: BorderBlockEndWidthProperty | BorderBlockEndWidthProperty[], - borderBlockStartColor?: BorderBlockStartColorProperty | BorderBlockStartColorProperty[], - borderBlockStartStyle?: BorderBlockStartStyleProperty | BorderBlockStartStyleProperty[], - borderBlockStartWidth?: BorderBlockStartWidthProperty | BorderBlockStartWidthProperty[], - borderBlockStyle?: BorderBlockStyleProperty | BorderBlockStyleProperty[], - borderBlockWidth?: BorderBlockWidthProperty | BorderBlockWidthProperty[], - borderBottomColor?: BorderBottomColorProperty | BorderBottomColorProperty[], - borderBottomLeftRadius?: BorderBottomLeftRadiusProperty | BorderBottomLeftRadiusProperty[], - borderBottomRightRadius?: BorderBottomRightRadiusProperty | BorderBottomRightRadiusProperty[], - borderBottomStyle?: BorderBottomStyleProperty | BorderBottomStyleProperty[], - borderBottomWidth?: BorderBottomWidthProperty | BorderBottomWidthProperty[], - borderCollapse?: BorderCollapseProperty | BorderCollapseProperty[], - borderEndEndRadius?: BorderEndEndRadiusProperty | BorderEndEndRadiusProperty[], - borderEndStartRadius?: BorderEndStartRadiusProperty | BorderEndStartRadiusProperty[], - borderImageOutset?: BorderImageOutsetProperty | BorderImageOutsetProperty[], - borderImageRepeat?: BorderImageRepeatProperty | BorderImageRepeatProperty[], - borderImageSlice?: BorderImageSliceProperty | BorderImageSliceProperty[], - borderImageSource?: BorderImageSourceProperty | BorderImageSourceProperty[], - borderImageWidth?: BorderImageWidthProperty | BorderImageWidthProperty[], - borderInlineColor?: BorderInlineColorProperty | BorderInlineColorProperty[], - borderInlineEndColor?: BorderInlineEndColorProperty | BorderInlineEndColorProperty[], - borderInlineEndStyle?: BorderInlineEndStyleProperty | BorderInlineEndStyleProperty[], - borderInlineEndWidth?: BorderInlineEndWidthProperty | BorderInlineEndWidthProperty[], - borderInlineStartColor?: BorderInlineStartColorProperty | BorderInlineStartColorProperty[], - borderInlineStartStyle?: BorderInlineStartStyleProperty | BorderInlineStartStyleProperty[], - borderInlineStartWidth?: BorderInlineStartWidthProperty | BorderInlineStartWidthProperty[], - borderInlineStyle?: BorderInlineStyleProperty | BorderInlineStyleProperty[], - borderInlineWidth?: BorderInlineWidthProperty | BorderInlineWidthProperty[], - borderLeftColor?: BorderLeftColorProperty | BorderLeftColorProperty[], - borderLeftStyle?: BorderLeftStyleProperty | BorderLeftStyleProperty[], - borderLeftWidth?: BorderLeftWidthProperty | BorderLeftWidthProperty[], - borderRightColor?: BorderRightColorProperty | BorderRightColorProperty[], - borderRightStyle?: BorderRightStyleProperty | BorderRightStyleProperty[], - borderRightWidth?: BorderRightWidthProperty | BorderRightWidthProperty[], - borderSpacing?: BorderSpacingProperty | BorderSpacingProperty[], - borderStartEndRadius?: BorderStartEndRadiusProperty | BorderStartEndRadiusProperty[], - borderStartStartRadius?: BorderStartStartRadiusProperty | BorderStartStartRadiusProperty[], - borderTopColor?: BorderTopColorProperty | BorderTopColorProperty[], - borderTopLeftRadius?: BorderTopLeftRadiusProperty | BorderTopLeftRadiusProperty[], - borderTopRightRadius?: BorderTopRightRadiusProperty | BorderTopRightRadiusProperty[], - borderTopStyle?: BorderTopStyleProperty | BorderTopStyleProperty[], - borderTopWidth?: BorderTopWidthProperty | BorderTopWidthProperty[], - bottom?: BottomProperty | BottomProperty[], - boxDecorationBreak?: BoxDecorationBreakProperty | BoxDecorationBreakProperty[], - boxShadow?: BoxShadowProperty | BoxShadowProperty[], - boxSizing?: BoxSizingProperty | BoxSizingProperty[], - breakAfter?: BreakAfterProperty | BreakAfterProperty[], - breakBefore?: BreakBeforeProperty | BreakBeforeProperty[], - breakInside?: BreakInsideProperty | BreakInsideProperty[], - captionSide?: CaptionSideProperty | CaptionSideProperty[], - caretColor?: CaretColorProperty | CaretColorProperty[], - clear?: ClearProperty | ClearProperty[], - clipPath?: ClipPathProperty | ClipPathProperty[], - color?: ColorProperty | ColorProperty[], - colorAdjust?: ColorAdjustProperty | ColorAdjustProperty[], - columnCount?: ColumnCountProperty | ColumnCountProperty[], - columnFill?: ColumnFillProperty | ColumnFillProperty[], - columnGap?: ColumnGapProperty | ColumnGapProperty[], - columnRuleColor?: ColumnRuleColorProperty | ColumnRuleColorProperty[], - columnRuleStyle?: ColumnRuleStyleProperty | ColumnRuleStyleProperty[], - columnRuleWidth?: ColumnRuleWidthProperty | ColumnRuleWidthProperty[], - columnSpan?: ColumnSpanProperty | ColumnSpanProperty[], - columnWidth?: ColumnWidthProperty | ColumnWidthProperty[], - contain?: ContainProperty | ContainProperty[], - content?: ContentProperty | ContentProperty[], - counterIncrement?: CounterIncrementProperty | CounterIncrementProperty[], - counterReset?: CounterResetProperty | CounterResetProperty[], - cursor?: CursorProperty | CursorProperty[], - direction?: DirectionProperty | DirectionProperty[], - display?: DisplayProperty | DisplayProperty[], - emptyCells?: EmptyCellsProperty | EmptyCellsProperty[], - filter?: FilterProperty | FilterProperty[], - flexBasis?: FlexBasisProperty | FlexBasisProperty[], - flexDirection?: FlexDirectionProperty | FlexDirectionProperty[], - flexGrow?: GlobalsNumber | GlobalsNumber[], - flexShrink?: GlobalsNumber | GlobalsNumber[], - flexWrap?: FlexWrapProperty | FlexWrapProperty[], - float?: FloatProperty | FloatProperty[], - fontFamily?: FontFamilyProperty | FontFamilyProperty[], - fontFeatureSettings?: FontFeatureSettingsProperty | FontFeatureSettingsProperty[], - fontKerning?: FontKerningProperty | FontKerningProperty[], - fontLanguageOverride?: FontLanguageOverrideProperty | FontLanguageOverrideProperty[], - fontOpticalSizing?: FontOpticalSizingProperty | FontOpticalSizingProperty[], - fontSize?: FontSizeProperty | FontSizeProperty[], - fontSizeAdjust?: FontSizeAdjustProperty | FontSizeAdjustProperty[], - fontStretch?: FontStretchProperty | FontStretchProperty[], - fontStyle?: FontStyleProperty | FontStyleProperty[], - fontSynthesis?: FontSynthesisProperty | FontSynthesisProperty[], - fontVariant?: FontVariantProperty | FontVariantProperty[], - fontVariantCaps?: FontVariantCapsProperty | FontVariantCapsProperty[], - fontVariantEastAsian?: FontVariantEastAsianProperty | FontVariantEastAsianProperty[], - fontVariantLigatures?: FontVariantLigaturesProperty | FontVariantLigaturesProperty[], - fontVariantNumeric?: FontVariantNumericProperty | FontVariantNumericProperty[], - fontVariantPosition?: FontVariantPositionProperty | FontVariantPositionProperty[], - fontVariationSettings?: FontVariationSettingsProperty | FontVariationSettingsProperty[], - fontWeight?: FontWeightProperty | FontWeightProperty[], - gridAutoColumns?: GridAutoColumnsProperty | GridAutoColumnsProperty[], - gridAutoFlow?: GridAutoFlowProperty | GridAutoFlowProperty[], - gridAutoRows?: GridAutoRowsProperty | GridAutoRowsProperty[], - gridColumnEnd?: GridColumnEndProperty | GridColumnEndProperty[], - gridColumnStart?: GridColumnStartProperty | GridColumnStartProperty[], - gridRowEnd?: GridRowEndProperty | GridRowEndProperty[], - gridRowStart?: GridRowStartProperty | GridRowStartProperty[], - gridTemplateAreas?: GridTemplateAreasProperty | GridTemplateAreasProperty[], - gridTemplateColumns?: GridTemplateColumnsProperty | GridTemplateColumnsProperty[], - gridTemplateRows?: GridTemplateRowsProperty | GridTemplateRowsProperty[], - hangingPunctuation?: HangingPunctuationProperty | HangingPunctuationProperty[], - height?: HeightProperty | HeightProperty[], - hyphens?: HyphensProperty | HyphensProperty[], - imageOrientation?: ImageOrientationProperty | ImageOrientationProperty[], - imageRendering?: ImageRenderingProperty | ImageRenderingProperty[], - imageResolution?: ImageResolutionProperty | ImageResolutionProperty[], - initialLetter?: InitialLetterProperty | InitialLetterProperty[], - inlineSize?: InlineSizeProperty | InlineSizeProperty[], - insetBlockEnd?: InsetBlockEndProperty | InsetBlockEndProperty[], - insetBlockStart?: InsetBlockStartProperty | InsetBlockStartProperty[], - insetInlineEnd?: InsetInlineEndProperty | InsetInlineEndProperty[], - insetInlineStart?: InsetInlineStartProperty | InsetInlineStartProperty[], - isolation?: IsolationProperty | IsolationProperty[], - justifyContent?: JustifyContentProperty | JustifyContentProperty[], - justifyItems?: JustifyItemsProperty | JustifyItemsProperty[], - justifySelf?: JustifySelfProperty | JustifySelfProperty[], - left?: LeftProperty | LeftProperty[], - letterSpacing?: LetterSpacingProperty | LetterSpacingProperty[], - lineBreak?: LineBreakProperty | LineBreakProperty[], - lineHeight?: LineHeightProperty | LineHeightProperty[], - lineHeightStep?: LineHeightStepProperty | LineHeightStepProperty[], - listStyleImage?: ListStyleImageProperty | ListStyleImageProperty[], - listStylePosition?: ListStylePositionProperty | ListStylePositionProperty[], - listStyleType?: ListStyleTypeProperty | ListStyleTypeProperty[], - marginBlock?: MarginBlockProperty | MarginBlockProperty[], - marginBlockEnd?: MarginBlockEndProperty | MarginBlockEndProperty[], - marginBlockStart?: MarginBlockStartProperty | MarginBlockStartProperty[], - marginBottom?: MarginBottomProperty | MarginBottomProperty[], - marginInline?: MarginInlineProperty | MarginInlineProperty[], - marginInlineEnd?: MarginInlineEndProperty | MarginInlineEndProperty[], - marginInlineStart?: MarginInlineStartProperty | MarginInlineStartProperty[], - marginLeft?: MarginLeftProperty | MarginLeftProperty[], - marginRight?: MarginRightProperty | MarginRightProperty[], - marginTop?: MarginTopProperty | MarginTopProperty[], - maskBorderMode?: MaskBorderModeProperty | MaskBorderModeProperty[], - maskBorderOutset?: MaskBorderOutsetProperty | MaskBorderOutsetProperty[], - maskBorderRepeat?: MaskBorderRepeatProperty | MaskBorderRepeatProperty[], - maskBorderSlice?: MaskBorderSliceProperty | MaskBorderSliceProperty[], - maskBorderSource?: MaskBorderSourceProperty | MaskBorderSourceProperty[], - maskBorderWidth?: MaskBorderWidthProperty | MaskBorderWidthProperty[], - maskClip?: MaskClipProperty | MaskClipProperty[], - maskComposite?: MaskCompositeProperty | MaskCompositeProperty[], - maskImage?: MaskImageProperty | MaskImageProperty[], - maskMode?: MaskModeProperty | MaskModeProperty[], - maskOrigin?: MaskOriginProperty | MaskOriginProperty[], - maskPosition?: MaskPositionProperty | MaskPositionProperty[], - maskRepeat?: MaskRepeatProperty | MaskRepeatProperty[], - maskSize?: MaskSizeProperty | MaskSizeProperty[], - maskType?: MaskTypeProperty | MaskTypeProperty[], - maxBlockSize?: MaxBlockSizeProperty | MaxBlockSizeProperty[], - maxHeight?: MaxHeightProperty | MaxHeightProperty[], - maxInlineSize?: MaxInlineSizeProperty | MaxInlineSizeProperty[], - maxLines?: MaxLinesProperty | MaxLinesProperty[], - maxWidth?: MaxWidthProperty | MaxWidthProperty[], - minBlockSize?: MinBlockSizeProperty | MinBlockSizeProperty[], - minHeight?: MinHeightProperty | MinHeightProperty[], - minInlineSize?: MinInlineSizeProperty | MinInlineSizeProperty[], - minWidth?: MinWidthProperty | MinWidthProperty[], - mixBlendMode?: MixBlendModeProperty | MixBlendModeProperty[], - motionDistance?: OffsetDistanceProperty | OffsetDistanceProperty[], - motionPath?: OffsetPathProperty | OffsetPathProperty[], - motionRotation?: OffsetRotateProperty | OffsetRotateProperty[], - objectFit?: ObjectFitProperty | ObjectFitProperty[], - objectPosition?: ObjectPositionProperty | ObjectPositionProperty[], - offsetAnchor?: OffsetAnchorProperty | OffsetAnchorProperty[], - offsetDistance?: OffsetDistanceProperty | OffsetDistanceProperty[], - offsetPath?: OffsetPathProperty | OffsetPathProperty[], - offsetPosition?: OffsetPositionProperty | OffsetPositionProperty[], - offsetRotate?: OffsetRotateProperty | OffsetRotateProperty[], - offsetRotation?: OffsetRotateProperty | OffsetRotateProperty[], - opacity?: GlobalsNumber | GlobalsNumber[], - order?: GlobalsNumber | GlobalsNumber[], - orphans?: GlobalsNumber | GlobalsNumber[], - outlineColor?: OutlineColorProperty | OutlineColorProperty[], - outlineOffset?: OutlineOffsetProperty | OutlineOffsetProperty[], - outlineStyle?: OutlineStyleProperty | OutlineStyleProperty[], - outlineWidth?: OutlineWidthProperty | OutlineWidthProperty[], - overflow?: OverflowProperty | OverflowProperty[], - overflowAnchor?: OverflowAnchorProperty | OverflowAnchorProperty[], - overflowBlock?: OverflowBlockProperty | OverflowBlockProperty[], - overflowClipBox?: OverflowClipBoxProperty | OverflowClipBoxProperty[], - overflowInline?: OverflowInlineProperty | OverflowInlineProperty[], - overflowWrap?: OverflowWrapProperty | OverflowWrapProperty[], - overflowX?: OverflowXProperty | OverflowXProperty[], - overflowY?: OverflowYProperty | OverflowYProperty[], - overscrollBehavior?: OverscrollBehaviorProperty | OverscrollBehaviorProperty[], - overscrollBehaviorX?: OverscrollBehaviorXProperty | OverscrollBehaviorXProperty[], - overscrollBehaviorY?: OverscrollBehaviorYProperty | OverscrollBehaviorYProperty[], - paddingBlock?: PaddingBlockProperty | PaddingBlockProperty[], - paddingBlockEnd?: PaddingBlockEndProperty | PaddingBlockEndProperty[], - paddingBlockStart?: PaddingBlockStartProperty | PaddingBlockStartProperty[], - paddingBottom?: PaddingBottomProperty | PaddingBottomProperty[], - paddingInline?: PaddingInlineProperty | PaddingInlineProperty[], - paddingInlineEnd?: PaddingInlineEndProperty | PaddingInlineEndProperty[], - paddingInlineStart?: PaddingInlineStartProperty | PaddingInlineStartProperty[], - paddingLeft?: PaddingLeftProperty | PaddingLeftProperty[], - paddingRight?: PaddingRightProperty | PaddingRightProperty[], - paddingTop?: PaddingTopProperty | PaddingTopProperty[], - pageBreakAfter?: PageBreakAfterProperty | PageBreakAfterProperty[], - pageBreakBefore?: PageBreakBeforeProperty | PageBreakBeforeProperty[], - pageBreakInside?: PageBreakInsideProperty | PageBreakInsideProperty[], - paintOrder?: PaintOrderProperty | PaintOrderProperty[], - perspective?: PerspectiveProperty | PerspectiveProperty[], - perspectiveOrigin?: PerspectiveOriginProperty | PerspectiveOriginProperty[], - placeContent?: PlaceContentProperty | PlaceContentProperty[], - pointerEvents?: PointerEventsProperty | PointerEventsProperty[], - position?: PositionProperty | PositionProperty[], - quotes?: QuotesProperty | QuotesProperty[], - resize?: ResizeProperty | ResizeProperty[], - right?: RightProperty | RightProperty[], - rotate?: RotateProperty | RotateProperty[], - rowGap?: RowGapProperty | RowGapProperty[], - rubyAlign?: RubyAlignProperty | RubyAlignProperty[], - rubyMerge?: RubyMergeProperty | RubyMergeProperty[], - rubyPosition?: RubyPositionProperty | RubyPositionProperty[], - scale?: ScaleProperty | ScaleProperty[], - scrollBehavior?: ScrollBehaviorProperty | ScrollBehaviorProperty[], - scrollMargin?: ScrollMarginProperty | ScrollMarginProperty[], - scrollMarginBlock?: ScrollMarginBlockProperty | ScrollMarginBlockProperty[], - scrollMarginBlockEnd?: ScrollMarginBlockEndProperty | ScrollMarginBlockEndProperty[], - scrollMarginBlockStart?: ScrollMarginBlockStartProperty | ScrollMarginBlockStartProperty[], - scrollMarginBottom?: ScrollMarginBottomProperty | ScrollMarginBottomProperty[], - scrollMarginInlineEnd?: ScrollMarginInlineEndProperty | ScrollMarginInlineEndProperty[], - scrollMarginInlineStart?: ScrollMarginInlineStartProperty | ScrollMarginInlineStartProperty[], - scrollMarginLeft?: ScrollMarginLeftProperty | ScrollMarginLeftProperty[], - scrollMarginRight?: ScrollMarginRightProperty | ScrollMarginRightProperty[], - scrollMarginTop?: ScrollMarginTopProperty | ScrollMarginTopProperty[], - scrollPadding?: ScrollPaddingProperty | ScrollPaddingProperty[], - scrollPaddingBlock?: ScrollPaddingBlockProperty | ScrollPaddingBlockProperty[], - scrollPaddingBlockEnd?: ScrollPaddingBlockEndProperty | ScrollPaddingBlockEndProperty[], - scrollPaddingBlockStart?: ScrollPaddingBlockStartProperty | ScrollPaddingBlockStartProperty[], - scrollPaddingBottom?: ScrollPaddingBottomProperty | ScrollPaddingBottomProperty[], - scrollPaddingInline?: ScrollPaddingInlineProperty | ScrollPaddingInlineProperty[], - scrollPaddingInlineEnd?: ScrollPaddingInlineEndProperty | ScrollPaddingInlineEndProperty[], - scrollPaddingInlineStart?: ScrollPaddingInlineStartProperty | ScrollPaddingInlineStartProperty[], - scrollPaddingLeft?: ScrollPaddingLeftProperty | ScrollPaddingLeftProperty[], - scrollPaddingRight?: ScrollPaddingRightProperty | ScrollPaddingRightProperty[], - scrollPaddingTop?: ScrollPaddingTopProperty | ScrollPaddingTopProperty[], - scrollSnapAlign?: ScrollSnapAlignProperty | ScrollSnapAlignProperty[], - scrollSnapType?: ScrollSnapTypeProperty | ScrollSnapTypeProperty[], - scrollbarColor?: ScrollbarColorProperty | ScrollbarColorProperty[], - scrollbarWidth?: ScrollbarWidthProperty | ScrollbarWidthProperty[], - shapeImageThreshold?: GlobalsNumber | GlobalsNumber[], - shapeMargin?: ShapeMarginProperty | ShapeMarginProperty[], - shapeOutside?: ShapeOutsideProperty | ShapeOutsideProperty[], - tabSize?: TabSizeProperty | TabSizeProperty[], - tableLayout?: TableLayoutProperty | TableLayoutProperty[], - textAlign?: TextAlignProperty | TextAlignProperty[], - textAlignLast?: TextAlignLastProperty | TextAlignLastProperty[], - textCombineUpright?: TextCombineUprightProperty | TextCombineUprightProperty[], - textDecorationColor?: TextDecorationColorProperty | TextDecorationColorProperty[], - textDecorationLine?: TextDecorationLineProperty | TextDecorationLineProperty[], - textDecorationSkip?: TextDecorationSkipProperty | TextDecorationSkipProperty[], - textDecorationSkipInk?: TextDecorationSkipInkProperty | TextDecorationSkipInkProperty[], - textDecorationStyle?: TextDecorationStyleProperty | TextDecorationStyleProperty[], - textEmphasisColor?: TextEmphasisColorProperty | TextEmphasisColorProperty[], - textEmphasisPosition?: GlobalsString | GlobalsString[], - textEmphasisStyle?: TextEmphasisStyleProperty | TextEmphasisStyleProperty[], - textIndent?: TextIndentProperty | TextIndentProperty[], - textJustify?: TextJustifyProperty | TextJustifyProperty[], - textOrientation?: TextOrientationProperty | TextOrientationProperty[], - textOverflow?: TextOverflowProperty | TextOverflowProperty[], - textRendering?: TextRenderingProperty | TextRenderingProperty[], - textShadow?: TextShadowProperty | TextShadowProperty[], - textSizeAdjust?: TextSizeAdjustProperty | TextSizeAdjustProperty[], - textTransform?: TextTransformProperty | TextTransformProperty[], - textUnderlinePosition?: TextUnderlinePositionProperty | TextUnderlinePositionProperty[], - top?: TopProperty | TopProperty[], - touchAction?: TouchActionProperty | TouchActionProperty[], - transform?: TransformProperty | TransformProperty[], - transformBox?: TransformBoxProperty | TransformBoxProperty[], - transformOrigin?: TransformOriginProperty | TransformOriginProperty[], - transformStyle?: TransformStyleProperty | TransformStyleProperty[], - transitionDelay?: GlobalsString | GlobalsString[], - transitionDuration?: GlobalsString | GlobalsString[], - transitionProperty?: TransitionPropertyProperty | TransitionPropertyProperty[], - transitionTimingFunction?: TransitionTimingFunctionProperty | TransitionTimingFunctionProperty[], - translate?: TranslateProperty | TranslateProperty[], - unicodeBidi?: UnicodeBidiProperty | UnicodeBidiProperty[], - userSelect?: UserSelectProperty | UserSelectProperty[], - verticalAlign?: VerticalAlignProperty | VerticalAlignProperty[], - visibility?: VisibilityProperty | VisibilityProperty[], - whiteSpace?: WhiteSpaceProperty | WhiteSpaceProperty[], - widows?: GlobalsNumber | GlobalsNumber[], - width?: WidthProperty | WidthProperty[], - willChange?: WillChangeProperty | WillChangeProperty[], - wordBreak?: WordBreakProperty | WordBreakProperty[], - wordSpacing?: WordSpacingProperty | WordSpacingProperty[], - wordWrap?: WordWrapProperty | WordWrapProperty[], - writingMode?: WritingModeProperty | WritingModeProperty[], - zIndex?: ZIndexProperty | ZIndexProperty[], - zoom?: ZoomProperty | ZoomProperty[], -}; - -export type StandardShorthandPropertiesFallback = { - all?: Globals | Globals[], - animation?: AnimationProperty | AnimationProperty[], - background?: BackgroundProperty | BackgroundProperty[], - border?: BorderProperty | BorderProperty[], - borderBlock?: BorderBlockProperty | BorderBlockProperty[], - borderBlockEnd?: BorderBlockEndProperty | BorderBlockEndProperty[], - borderBlockStart?: BorderBlockStartProperty | BorderBlockStartProperty[], - borderBottom?: BorderBottomProperty | BorderBottomProperty[], - borderColor?: BorderColorProperty | BorderColorProperty[], - borderImage?: BorderImageProperty | BorderImageProperty[], - borderInline?: BorderInlineProperty | BorderInlineProperty[], - borderInlineEnd?: BorderInlineEndProperty | BorderInlineEndProperty[], - borderInlineStart?: BorderInlineStartProperty | BorderInlineStartProperty[], - borderLeft?: BorderLeftProperty | BorderLeftProperty[], - borderRadius?: BorderRadiusProperty | BorderRadiusProperty[], - borderRight?: BorderRightProperty | BorderRightProperty[], - borderStyle?: BorderStyleProperty | BorderStyleProperty[], - borderTop?: BorderTopProperty | BorderTopProperty[], - borderWidth?: BorderWidthProperty | BorderWidthProperty[], - columnRule?: ColumnRuleProperty | ColumnRuleProperty[], - columns?: ColumnsProperty | ColumnsProperty[], - flex?: FlexProperty | FlexProperty[], - flexFlow?: FlexFlowProperty | FlexFlowProperty[], - font?: FontProperty | FontProperty[], - gap?: GapProperty | GapProperty[], - grid?: GridProperty | GridProperty[], - gridArea?: GridAreaProperty | GridAreaProperty[], - gridColumn?: GridColumnProperty | GridColumnProperty[], - gridRow?: GridRowProperty | GridRowProperty[], - gridTemplate?: GridTemplateProperty | GridTemplateProperty[], - lineClamp?: LineClampProperty | LineClampProperty[], - listStyle?: ListStyleProperty | ListStyleProperty[], - margin?: MarginProperty | MarginProperty[], - mask?: MaskProperty | MaskProperty[], - maskBorder?: MaskBorderProperty | MaskBorderProperty[], - motion?: OffsetProperty | OffsetProperty[], - offset?: OffsetProperty | OffsetProperty[], - outline?: OutlineProperty | OutlineProperty[], - padding?: PaddingProperty | PaddingProperty[], - placeItems?: PlaceItemsProperty | PlaceItemsProperty[], - placeSelf?: PlaceSelfProperty | PlaceSelfProperty[], - textDecoration?: TextDecorationProperty | TextDecorationProperty[], - textEmphasis?: TextEmphasisProperty | TextEmphasisProperty[], - transition?: TransitionProperty | TransitionProperty[], -}; - -export type StandardPropertiesFallback = StandardLonghandPropertiesFallback & StandardShorthandPropertiesFallback; - -export type VendorLonghandPropertiesFallback = { - MozAnimationDelay?: GlobalsString | GlobalsString[], - MozAnimationDirection?: AnimationDirectionProperty | AnimationDirectionProperty[], - MozAnimationDuration?: GlobalsString | GlobalsString[], - MozAnimationFillMode?: AnimationFillModeProperty | AnimationFillModeProperty[], - MozAnimationIterationCount?: AnimationIterationCountProperty | AnimationIterationCountProperty[], - MozAnimationName?: AnimationNameProperty | AnimationNameProperty[], - MozAnimationPlayState?: AnimationPlayStateProperty | AnimationPlayStateProperty[], - MozAnimationTimingFunction?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], - MozAppearance?: MozAppearanceProperty | MozAppearanceProperty[], - MozBackfaceVisibility?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[], - MozBorderBottomColors?: MozBorderBottomColorsProperty | MozBorderBottomColorsProperty[], - MozBorderEndColor?: BorderInlineEndColorProperty | BorderInlineEndColorProperty[], - MozBorderEndStyle?: BorderInlineEndStyleProperty | BorderInlineEndStyleProperty[], - MozBorderEndWidth?: BorderInlineEndWidthProperty | BorderInlineEndWidthProperty[], - MozBorderLeftColors?: MozBorderLeftColorsProperty | MozBorderLeftColorsProperty[], - MozBorderRightColors?: MozBorderRightColorsProperty | MozBorderRightColorsProperty[], - MozBorderStartColor?: BorderInlineStartColorProperty | BorderInlineStartColorProperty[], - MozBorderStartStyle?: BorderInlineStartStyleProperty | BorderInlineStartStyleProperty[], - MozBorderTopColors?: MozBorderTopColorsProperty | MozBorderTopColorsProperty[], - MozBoxSizing?: BoxSizingProperty | BoxSizingProperty[], - MozColumnCount?: ColumnCountProperty | ColumnCountProperty[], - MozColumnFill?: ColumnFillProperty | ColumnFillProperty[], - MozColumnGap?: ColumnGapProperty | ColumnGapProperty[], - MozColumnRuleColor?: ColumnRuleColorProperty | ColumnRuleColorProperty[], - MozColumnRuleStyle?: ColumnRuleStyleProperty | ColumnRuleStyleProperty[], - MozColumnRuleWidth?: ColumnRuleWidthProperty | ColumnRuleWidthProperty[], - MozColumnWidth?: ColumnWidthProperty | ColumnWidthProperty[], - MozContextProperties?: MozContextPropertiesProperty | MozContextPropertiesProperty[], - MozFloatEdge?: MozFloatEdgeProperty | MozFloatEdgeProperty[], - MozFontFeatureSettings?: FontFeatureSettingsProperty | FontFeatureSettingsProperty[], - MozFontLanguageOverride?: FontLanguageOverrideProperty | FontLanguageOverrideProperty[], - MozForceBrokenImageIcon?: GlobalsNumber | GlobalsNumber[], - MozHyphens?: HyphensProperty | HyphensProperty[], - MozImageRegion?: MozImageRegionProperty | MozImageRegionProperty[], - MozMarginEnd?: MarginInlineEndProperty | MarginInlineEndProperty[], - MozMarginStart?: MarginInlineStartProperty | MarginInlineStartProperty[], - MozOrient?: MozOrientProperty | MozOrientProperty[], - MozOutlineRadiusBottomleft?: MozOutlineRadiusBottomleftProperty | MozOutlineRadiusBottomleftProperty[], - MozOutlineRadiusBottomright?: MozOutlineRadiusBottomrightProperty | MozOutlineRadiusBottomrightProperty[], - MozOutlineRadiusTopleft?: MozOutlineRadiusTopleftProperty | MozOutlineRadiusTopleftProperty[], - MozOutlineRadiusTopright?: MozOutlineRadiusToprightProperty | MozOutlineRadiusToprightProperty[], - MozPaddingEnd?: PaddingInlineEndProperty | PaddingInlineEndProperty[], - MozPaddingStart?: PaddingInlineStartProperty | PaddingInlineStartProperty[], - MozPerspective?: PerspectiveProperty | PerspectiveProperty[], - MozPerspectiveOrigin?: PerspectiveOriginProperty | PerspectiveOriginProperty[], - MozStackSizing?: MozStackSizingProperty | MozStackSizingProperty[], - MozTabSize?: TabSizeProperty | TabSizeProperty[], - MozTextSizeAdjust?: TextSizeAdjustProperty | TextSizeAdjustProperty[], - MozTransformOrigin?: TransformOriginProperty | TransformOriginProperty[], - MozTransformStyle?: TransformStyleProperty | TransformStyleProperty[], - MozTransitionDelay?: GlobalsString | GlobalsString[], - MozTransitionDuration?: GlobalsString | GlobalsString[], - MozTransitionProperty?: TransitionPropertyProperty | TransitionPropertyProperty[], - MozTransitionTimingFunction?: TransitionTimingFunctionProperty | TransitionTimingFunctionProperty[], - MozUserFocus?: MozUserFocusProperty | MozUserFocusProperty[], - MozUserModify?: MozUserModifyProperty | MozUserModifyProperty[], - MozUserSelect?: UserSelectProperty | UserSelectProperty[], - MozWindowDragging?: MozWindowDraggingProperty | MozWindowDraggingProperty[], - MozWindowShadow?: MozWindowShadowProperty | MozWindowShadowProperty[], - msAccelerator?: MsAcceleratorProperty | MsAcceleratorProperty[], - msAlignSelf?: AlignSelfProperty | AlignSelfProperty[], - msBlockProgression?: MsBlockProgressionProperty | MsBlockProgressionProperty[], - msContentZoomChaining?: MsContentZoomChainingProperty | MsContentZoomChainingProperty[], - msContentZoomLimitMax?: GlobalsString | GlobalsString[], - msContentZoomLimitMin?: GlobalsString | GlobalsString[], - msContentZoomSnapPoints?: GlobalsString | GlobalsString[], - msContentZoomSnapType?: MsContentZoomSnapTypeProperty | MsContentZoomSnapTypeProperty[], - msContentZooming?: MsContentZoomingProperty | MsContentZoomingProperty[], - msFilter?: GlobalsString | GlobalsString[], - msFlexDirection?: FlexDirectionProperty | FlexDirectionProperty[], - msFlexPositive?: GlobalsNumber | GlobalsNumber[], - msFlowFrom?: MsFlowFromProperty | MsFlowFromProperty[], - msFlowInto?: MsFlowIntoProperty | MsFlowIntoProperty[], - msGridColumns?: GridAutoColumnsProperty | GridAutoColumnsProperty[], - msGridRows?: GridAutoRowsProperty | GridAutoRowsProperty[], - msHighContrastAdjust?: MsHighContrastAdjustProperty | MsHighContrastAdjustProperty[], - msHyphenateLimitChars?: MsHyphenateLimitCharsProperty | MsHyphenateLimitCharsProperty[], - msHyphenateLimitLines?: MsHyphenateLimitLinesProperty | MsHyphenateLimitLinesProperty[], - msHyphenateLimitZone?: MsHyphenateLimitZoneProperty | MsHyphenateLimitZoneProperty[], - msHyphens?: HyphensProperty | HyphensProperty[], - msImeAlign?: MsImeAlignProperty | MsImeAlignProperty[], - msLineBreak?: LineBreakProperty | LineBreakProperty[], - msOrder?: GlobalsNumber | GlobalsNumber[], - msOverflowStyle?: MsOverflowStyleProperty | MsOverflowStyleProperty[], - msOverflowX?: OverflowXProperty | OverflowXProperty[], - msOverflowY?: OverflowYProperty | OverflowYProperty[], - msScrollChaining?: MsScrollChainingProperty | MsScrollChainingProperty[], - msScrollLimitXMax?: MsScrollLimitXMaxProperty | MsScrollLimitXMaxProperty[], - msScrollLimitXMin?: MsScrollLimitXMinProperty | MsScrollLimitXMinProperty[], - msScrollLimitYMax?: MsScrollLimitYMaxProperty | MsScrollLimitYMaxProperty[], - msScrollLimitYMin?: MsScrollLimitYMinProperty | MsScrollLimitYMinProperty[], - msScrollRails?: MsScrollRailsProperty | MsScrollRailsProperty[], - msScrollSnapPointsX?: GlobalsString | GlobalsString[], - msScrollSnapPointsY?: GlobalsString | GlobalsString[], - msScrollSnapType?: MsScrollSnapTypeProperty | MsScrollSnapTypeProperty[], - msScrollTranslation?: MsScrollTranslationProperty | MsScrollTranslationProperty[], - msTextAutospace?: MsTextAutospaceProperty | MsTextAutospaceProperty[], - msTextCombineHorizontal?: TextCombineUprightProperty | TextCombineUprightProperty[], - msTextOverflow?: TextOverflowProperty | TextOverflowProperty[], - msTextSizeAdjust?: TextSizeAdjustProperty | TextSizeAdjustProperty[], - msTouchAction?: TouchActionProperty | TouchActionProperty[], - msTouchSelect?: MsTouchSelectProperty | MsTouchSelectProperty[], - msTransform?: TransformProperty | TransformProperty[], - msTransformOrigin?: TransformOriginProperty | TransformOriginProperty[], - msUserSelect?: MsUserSelectProperty | MsUserSelectProperty[], - msWordBreak?: WordBreakProperty | WordBreakProperty[], - msWrapFlow?: MsWrapFlowProperty | MsWrapFlowProperty[], - msWrapMargin?: MsWrapMarginProperty | MsWrapMarginProperty[], - msWrapThrough?: MsWrapThroughProperty | MsWrapThroughProperty[], - msWritingMode?: WritingModeProperty | WritingModeProperty[], - OObjectFit?: ObjectFitProperty | ObjectFitProperty[], - OObjectPosition?: ObjectPositionProperty | ObjectPositionProperty[], - OTabSize?: TabSizeProperty | TabSizeProperty[], - OTextOverflow?: TextOverflowProperty | TextOverflowProperty[], - OTransformOrigin?: TransformOriginProperty | TransformOriginProperty[], - WebkitAlignContent?: AlignContentProperty | AlignContentProperty[], - WebkitAlignItems?: AlignItemsProperty | AlignItemsProperty[], - WebkitAlignSelf?: AlignSelfProperty | AlignSelfProperty[], - WebkitAnimationDelay?: GlobalsString | GlobalsString[], - WebkitAnimationDirection?: AnimationDirectionProperty | AnimationDirectionProperty[], - WebkitAnimationDuration?: GlobalsString | GlobalsString[], - WebkitAnimationFillMode?: AnimationFillModeProperty | AnimationFillModeProperty[], - WebkitAnimationIterationCount?: AnimationIterationCountProperty | AnimationIterationCountProperty[], - WebkitAnimationName?: AnimationNameProperty | AnimationNameProperty[], - WebkitAnimationPlayState?: AnimationPlayStateProperty | AnimationPlayStateProperty[], - WebkitAnimationTimingFunction?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], - WebkitAppearance?: WebkitAppearanceProperty | WebkitAppearanceProperty[], - WebkitBackdropFilter?: BackdropFilterProperty | BackdropFilterProperty[], - WebkitBackfaceVisibility?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[], - WebkitBackgroundClip?: BackgroundClipProperty | BackgroundClipProperty[], - WebkitBackgroundOrigin?: BackgroundOriginProperty | BackgroundOriginProperty[], - WebkitBackgroundSize?: BackgroundSizeProperty | BackgroundSizeProperty[], - WebkitBorderBeforeColor?: WebkitBorderBeforeColorProperty | WebkitBorderBeforeColorProperty[], - WebkitBorderBeforeStyle?: WebkitBorderBeforeStyleProperty | WebkitBorderBeforeStyleProperty[], - WebkitBorderBeforeWidth?: WebkitBorderBeforeWidthProperty | WebkitBorderBeforeWidthProperty[], - WebkitBorderBottomLeftRadius?: BorderBottomLeftRadiusProperty | BorderBottomLeftRadiusProperty[], - WebkitBorderBottomRightRadius?: BorderBottomRightRadiusProperty | BorderBottomRightRadiusProperty[], - WebkitBorderImageSlice?: BorderImageSliceProperty | BorderImageSliceProperty[], - WebkitBorderTopLeftRadius?: BorderTopLeftRadiusProperty | BorderTopLeftRadiusProperty[], - WebkitBorderTopRightRadius?: BorderTopRightRadiusProperty | BorderTopRightRadiusProperty[], - WebkitBoxDecorationBreak?: BoxDecorationBreakProperty | BoxDecorationBreakProperty[], - WebkitBoxReflect?: WebkitBoxReflectProperty | WebkitBoxReflectProperty[], - WebkitBoxShadow?: BoxShadowProperty | BoxShadowProperty[], - WebkitBoxSizing?: BoxSizingProperty | BoxSizingProperty[], - WebkitClipPath?: ClipPathProperty | ClipPathProperty[], - WebkitColorAdjust?: ColorAdjustProperty | ColorAdjustProperty[], - WebkitColumnCount?: ColumnCountProperty | ColumnCountProperty[], - WebkitColumnGap?: ColumnGapProperty | ColumnGapProperty[], - WebkitColumnRuleColor?: ColumnRuleColorProperty | ColumnRuleColorProperty[], - WebkitColumnRuleStyle?: ColumnRuleStyleProperty | ColumnRuleStyleProperty[], - WebkitColumnRuleWidth?: ColumnRuleWidthProperty | ColumnRuleWidthProperty[], - WebkitColumnSpan?: ColumnSpanProperty | ColumnSpanProperty[], - WebkitColumnWidth?: ColumnWidthProperty | ColumnWidthProperty[], - WebkitFilter?: FilterProperty | FilterProperty[], - WebkitFlexBasis?: FlexBasisProperty | FlexBasisProperty[], - WebkitFlexDirection?: FlexDirectionProperty | FlexDirectionProperty[], - WebkitFlexGrow?: GlobalsNumber | GlobalsNumber[], - WebkitFlexShrink?: GlobalsNumber | GlobalsNumber[], - WebkitFlexWrap?: FlexWrapProperty | FlexWrapProperty[], - WebkitFontFeatureSettings?: FontFeatureSettingsProperty | FontFeatureSettingsProperty[], - WebkitFontKerning?: FontKerningProperty | FontKerningProperty[], - WebkitFontVariantLigatures?: FontVariantLigaturesProperty | FontVariantLigaturesProperty[], - WebkitHyphens?: HyphensProperty | HyphensProperty[], - WebkitJustifyContent?: JustifyContentProperty | JustifyContentProperty[], - WebkitLineBreak?: LineBreakProperty | LineBreakProperty[], - WebkitMarginEnd?: MarginInlineEndProperty | MarginInlineEndProperty[], - WebkitMarginStart?: MarginInlineStartProperty | MarginInlineStartProperty[], - WebkitMaskAttachment?: WebkitMaskAttachmentProperty | WebkitMaskAttachmentProperty[], - WebkitMaskClip?: WebkitMaskClipProperty | WebkitMaskClipProperty[], - WebkitMaskComposite?: WebkitMaskCompositeProperty | WebkitMaskCompositeProperty[], - WebkitMaskImage?: WebkitMaskImageProperty | WebkitMaskImageProperty[], - WebkitMaskOrigin?: WebkitMaskOriginProperty | WebkitMaskOriginProperty[], - WebkitMaskPosition?: WebkitMaskPositionProperty | WebkitMaskPositionProperty[], - WebkitMaskPositionX?: WebkitMaskPositionXProperty | WebkitMaskPositionXProperty[], - WebkitMaskPositionY?: WebkitMaskPositionYProperty | WebkitMaskPositionYProperty[], - WebkitMaskRepeat?: WebkitMaskRepeatProperty | WebkitMaskRepeatProperty[], - WebkitMaskRepeatX?: WebkitMaskRepeatXProperty | WebkitMaskRepeatXProperty[], - WebkitMaskRepeatY?: WebkitMaskRepeatYProperty | WebkitMaskRepeatYProperty[], - WebkitMaskSize?: WebkitMaskSizeProperty | WebkitMaskSizeProperty[], - WebkitMaxInlineSize?: MaxInlineSizeProperty | MaxInlineSizeProperty[], - WebkitOrder?: GlobalsNumber | GlobalsNumber[], - WebkitOverflowScrolling?: WebkitOverflowScrollingProperty | WebkitOverflowScrollingProperty[], - WebkitPaddingEnd?: PaddingInlineEndProperty | PaddingInlineEndProperty[], - WebkitPaddingStart?: PaddingInlineStartProperty | PaddingInlineStartProperty[], - WebkitPerspective?: PerspectiveProperty | PerspectiveProperty[], - WebkitPerspectiveOrigin?: PerspectiveOriginProperty | PerspectiveOriginProperty[], - WebkitScrollSnapType?: ScrollSnapTypeProperty | ScrollSnapTypeProperty[], - WebkitShapeMargin?: ShapeMarginProperty | ShapeMarginProperty[], - WebkitTapHighlightColor?: WebkitTapHighlightColorProperty | WebkitTapHighlightColorProperty[], - WebkitTextCombine?: TextCombineUprightProperty | TextCombineUprightProperty[], - WebkitTextDecorationColor?: TextDecorationColorProperty | TextDecorationColorProperty[], - WebkitTextDecorationLine?: TextDecorationLineProperty | TextDecorationLineProperty[], - WebkitTextDecorationSkip?: TextDecorationSkipProperty | TextDecorationSkipProperty[], - WebkitTextDecorationStyle?: TextDecorationStyleProperty | TextDecorationStyleProperty[], - WebkitTextEmphasisColor?: TextEmphasisColorProperty | TextEmphasisColorProperty[], - WebkitTextEmphasisPosition?: GlobalsString | GlobalsString[], - WebkitTextEmphasisStyle?: TextEmphasisStyleProperty | TextEmphasisStyleProperty[], - WebkitTextFillColor?: WebkitTextFillColorProperty | WebkitTextFillColorProperty[], - WebkitTextOrientation?: TextOrientationProperty | TextOrientationProperty[], - WebkitTextSizeAdjust?: TextSizeAdjustProperty | TextSizeAdjustProperty[], - WebkitTextStrokeColor?: WebkitTextStrokeColorProperty | WebkitTextStrokeColorProperty[], - WebkitTextStrokeWidth?: WebkitTextStrokeWidthProperty | WebkitTextStrokeWidthProperty[], - WebkitTouchCallout?: WebkitTouchCalloutProperty | WebkitTouchCalloutProperty[], - WebkitTransform?: TransformProperty | TransformProperty[], - WebkitTransformOrigin?: TransformOriginProperty | TransformOriginProperty[], - WebkitTransformStyle?: TransformStyleProperty | TransformStyleProperty[], - WebkitTransitionDelay?: GlobalsString | GlobalsString[], - WebkitTransitionDuration?: GlobalsString | GlobalsString[], - WebkitTransitionProperty?: TransitionPropertyProperty | TransitionPropertyProperty[], - WebkitTransitionTimingFunction?: TransitionTimingFunctionProperty | TransitionTimingFunctionProperty[], - WebkitUserModify?: WebkitUserModifyProperty | WebkitUserModifyProperty[], - WebkitUserSelect?: UserSelectProperty | UserSelectProperty[], - WebkitWritingMode?: WritingModeProperty | WritingModeProperty[], -}; - -export type VendorShorthandPropertiesFallback = { - MozAnimation?: AnimationProperty | AnimationProperty[], - MozBorderImage?: BorderImageProperty | BorderImageProperty[], - MozColumnRule?: ColumnRuleProperty | ColumnRuleProperty[], - MozColumns?: ColumnsProperty | ColumnsProperty[], - MozTransition?: TransitionProperty | TransitionProperty[], - msContentZoomLimit?: GlobalsString | GlobalsString[], - msContentZoomSnap?: MsContentZoomSnapProperty | MsContentZoomSnapProperty[], - msFlex?: FlexProperty | FlexProperty[], - msScrollLimit?: GlobalsString | GlobalsString[], - msScrollSnapX?: GlobalsString | GlobalsString[], - msScrollSnapY?: GlobalsString | GlobalsString[], - OBorderImage?: BorderImageProperty | BorderImageProperty[], - WebkitAnimation?: AnimationProperty | AnimationProperty[], - WebkitBorderBefore?: WebkitBorderBeforeProperty | WebkitBorderBeforeProperty[], - WebkitBorderImage?: BorderImageProperty | BorderImageProperty[], - WebkitBorderRadius?: BorderRadiusProperty | BorderRadiusProperty[], - WebkitColumnRule?: ColumnRuleProperty | ColumnRuleProperty[], - WebkitColumns?: ColumnsProperty | ColumnsProperty[], - WebkitFlex?: FlexProperty | FlexProperty[], - WebkitFlexFlow?: FlexFlowProperty | FlexFlowProperty[], - WebkitLineClamp?: WebkitLineClampProperty | WebkitLineClampProperty[], - WebkitMask?: WebkitMaskProperty | WebkitMaskProperty[], - WebkitTextEmphasis?: TextEmphasisProperty | TextEmphasisProperty[], - WebkitTextStroke?: WebkitTextStrokeProperty | WebkitTextStrokeProperty[], - WebkitTransition?: TransitionProperty | TransitionProperty[], -}; - -export type VendorPropertiesFallback = VendorLonghandPropertiesFallback & VendorShorthandPropertiesFallback; - -export type ObsoletePropertiesFallback = { - boxAlign?: BoxAlignProperty | BoxAlignProperty[], - boxDirection?: BoxDirectionProperty | BoxDirectionProperty[], - boxFlex?: GlobalsNumber | GlobalsNumber[], - boxFlexGroup?: GlobalsNumber | GlobalsNumber[], - boxLines?: BoxLinesProperty | BoxLinesProperty[], - boxOrdinalGroup?: GlobalsNumber | GlobalsNumber[], - boxOrient?: BoxOrientProperty | BoxOrientProperty[], - boxPack?: BoxPackProperty | BoxPackProperty[], - clip?: ClipProperty | ClipProperty[], - fontVariantAlternates?: FontVariantAlternatesProperty | FontVariantAlternatesProperty[], - gridColumnGap?: GridColumnGapProperty | GridColumnGapProperty[], - gridGap?: GridGapProperty | GridGapProperty[], - gridRowGap?: GridRowGapProperty | GridRowGapProperty[], - imeMode?: ImeModeProperty | ImeModeProperty[], - offsetBlockEnd?: InsetBlockEndProperty | InsetBlockEndProperty[], - offsetBlockStart?: InsetBlockStartProperty | InsetBlockStartProperty[], - offsetInlineEnd?: InsetInlineEndProperty | InsetInlineEndProperty[], - offsetInlineStart?: InsetInlineStartProperty | InsetInlineStartProperty[], - scrollSnapCoordinate?: ScrollSnapCoordinateProperty | ScrollSnapCoordinateProperty[], - scrollSnapDestination?: ScrollSnapDestinationProperty | ScrollSnapDestinationProperty[], - scrollSnapPointsX?: ScrollSnapPointsXProperty | ScrollSnapPointsXProperty[], - scrollSnapPointsY?: ScrollSnapPointsYProperty | ScrollSnapPointsYProperty[], - scrollSnapTypeX?: ScrollSnapTypeXProperty | ScrollSnapTypeXProperty[], - scrollSnapTypeY?: ScrollSnapTypeYProperty | ScrollSnapTypeYProperty[], - textCombineHorizontal?: TextCombineUprightProperty | TextCombineUprightProperty[], - KhtmlBoxAlign?: BoxAlignProperty | BoxAlignProperty[], - KhtmlBoxDirection?: BoxDirectionProperty | BoxDirectionProperty[], - KhtmlBoxFlex?: GlobalsNumber | GlobalsNumber[], - KhtmlBoxFlexGroup?: GlobalsNumber | GlobalsNumber[], - KhtmlBoxLines?: BoxLinesProperty | BoxLinesProperty[], - KhtmlBoxOrdinalGroup?: GlobalsNumber | GlobalsNumber[], - KhtmlBoxOrient?: BoxOrientProperty | BoxOrientProperty[], - KhtmlBoxPack?: BoxPackProperty | BoxPackProperty[], - MozBackgroundClip?: BackgroundClipProperty | BackgroundClipProperty[], - MozBackgroundInlinePolicy?: BoxDecorationBreakProperty | BoxDecorationBreakProperty[], - MozBackgroundOrigin?: BackgroundOriginProperty | BackgroundOriginProperty[], - MozBackgroundSize?: BackgroundSizeProperty | BackgroundSizeProperty[], - MozBinding?: MozBindingProperty | MozBindingProperty[], - MozBorderRadius?: BorderRadiusProperty | BorderRadiusProperty[], - MozBorderRadiusBottomleft?: BorderBottomLeftRadiusProperty | BorderBottomLeftRadiusProperty[], - MozBorderRadiusBottomright?: BorderBottomRightRadiusProperty | BorderBottomRightRadiusProperty[], - MozBorderRadiusTopleft?: BorderTopLeftRadiusProperty | BorderTopLeftRadiusProperty[], - MozBorderRadiusTopright?: BorderTopRightRadiusProperty | BorderTopRightRadiusProperty[], - MozBoxAlign?: BoxAlignProperty | BoxAlignProperty[], - MozBoxDirection?: BoxDirectionProperty | BoxDirectionProperty[], - MozBoxFlex?: GlobalsNumber | GlobalsNumber[], - MozBoxOrdinalGroup?: GlobalsNumber | GlobalsNumber[], - MozBoxOrient?: BoxOrientProperty | BoxOrientProperty[], - MozBoxPack?: BoxPackProperty | BoxPackProperty[], - MozBoxShadow?: BoxShadowProperty | BoxShadowProperty[], - MozOpacity?: GlobalsNumber | GlobalsNumber[], - MozOutline?: OutlineProperty | OutlineProperty[], - MozOutlineColor?: OutlineColorProperty | OutlineColorProperty[], - MozOutlineRadius?: MozOutlineRadiusProperty | MozOutlineRadiusProperty[], - MozOutlineStyle?: OutlineStyleProperty | OutlineStyleProperty[], - MozOutlineWidth?: OutlineWidthProperty | OutlineWidthProperty[], - MozResize?: ResizeProperty | ResizeProperty[], - MozTextAlignLast?: TextAlignLastProperty | TextAlignLastProperty[], - MozTextBlink?: MozTextBlinkProperty | MozTextBlinkProperty[], - MozTextDecorationColor?: TextDecorationColorProperty | TextDecorationColorProperty[], - MozTextDecorationLine?: TextDecorationLineProperty | TextDecorationLineProperty[], - MozTextDecorationStyle?: TextDecorationStyleProperty | TextDecorationStyleProperty[], - MozUserInput?: MozUserInputProperty | MozUserInputProperty[], - msImeMode?: ImeModeProperty | ImeModeProperty[], - msScrollbar3dlightColor?: MsScrollbar3dlightColorProperty | MsScrollbar3dlightColorProperty[], - msScrollbarArrowColor?: MsScrollbarArrowColorProperty | MsScrollbarArrowColorProperty[], - msScrollbarBaseColor?: MsScrollbarBaseColorProperty | MsScrollbarBaseColorProperty[], - msScrollbarDarkshadowColor?: MsScrollbarDarkshadowColorProperty | MsScrollbarDarkshadowColorProperty[], - msScrollbarFaceColor?: MsScrollbarFaceColorProperty | MsScrollbarFaceColorProperty[], - msScrollbarHighlightColor?: MsScrollbarHighlightColorProperty | MsScrollbarHighlightColorProperty[], - msScrollbarShadowColor?: MsScrollbarShadowColorProperty | MsScrollbarShadowColorProperty[], - msScrollbarTrackColor?: MsScrollbarTrackColorProperty | MsScrollbarTrackColorProperty[], - OAnimation?: AnimationProperty | AnimationProperty[], - OAnimationDelay?: GlobalsString | GlobalsString[], - OAnimationDirection?: AnimationDirectionProperty | AnimationDirectionProperty[], - OAnimationDuration?: GlobalsString | GlobalsString[], - OAnimationFillMode?: AnimationFillModeProperty | AnimationFillModeProperty[], - OAnimationIterationCount?: AnimationIterationCountProperty | AnimationIterationCountProperty[], - OAnimationName?: AnimationNameProperty | AnimationNameProperty[], - OAnimationPlayState?: AnimationPlayStateProperty | AnimationPlayStateProperty[], - OAnimationTimingFunction?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], - OBackgroundSize?: BackgroundSizeProperty | BackgroundSizeProperty[], - OTransform?: TransformProperty | TransformProperty[], - OTransition?: TransitionProperty | TransitionProperty[], - OTransitionDelay?: GlobalsString | GlobalsString[], - OTransitionDuration?: GlobalsString | GlobalsString[], - OTransitionProperty?: TransitionPropertyProperty | TransitionPropertyProperty[], - OTransitionTimingFunction?: TransitionTimingFunctionProperty | TransitionTimingFunctionProperty[], - WebkitBoxAlign?: BoxAlignProperty | BoxAlignProperty[], - WebkitBoxDirection?: BoxDirectionProperty | BoxDirectionProperty[], - WebkitBoxFlex?: GlobalsNumber | GlobalsNumber[], - WebkitBoxFlexGroup?: GlobalsNumber | GlobalsNumber[], - WebkitBoxLines?: BoxLinesProperty | BoxLinesProperty[], - WebkitBoxOrdinalGroup?: GlobalsNumber | GlobalsNumber[], - WebkitBoxOrient?: BoxOrientProperty | BoxOrientProperty[], - WebkitBoxPack?: BoxPackProperty | BoxPackProperty[], - WebkitScrollSnapPointsX?: ScrollSnapPointsXProperty | ScrollSnapPointsXProperty[], - WebkitScrollSnapPointsY?: ScrollSnapPointsYProperty | ScrollSnapPointsYProperty[], -}; - -export type SvgPropertiesFallback = { - alignmentBaseline?: AlignmentBaselineProperty | AlignmentBaselineProperty[], - baselineShift?: BaselineShiftProperty | BaselineShiftProperty[], - clip?: ClipProperty | ClipProperty[], - clipPath?: ClipPathProperty | ClipPathProperty[], - clipRule?: ClipRuleProperty | ClipRuleProperty[], - color?: ColorProperty | ColorProperty[], - colorInterpolation?: ColorInterpolationProperty | ColorInterpolationProperty[], - colorRendering?: ColorRenderingProperty | ColorRenderingProperty[], - cursor?: CursorProperty | CursorProperty[], - direction?: DirectionProperty | DirectionProperty[], - display?: DisplayProperty | DisplayProperty[], - dominantBaseline?: DominantBaselineProperty | DominantBaselineProperty[], - fill?: FillProperty | FillProperty[], - fillOpacity?: GlobalsNumber | GlobalsNumber[], - fillRule?: FillRuleProperty | FillRuleProperty[], - filter?: FilterProperty | FilterProperty[], - floodColor?: FloodColorProperty | FloodColorProperty[], - floodOpacity?: GlobalsNumber | GlobalsNumber[], - font?: FontProperty | FontProperty[], - fontFamily?: FontFamilyProperty | FontFamilyProperty[], - fontSize?: FontSizeProperty | FontSizeProperty[], - fontSizeAdjust?: FontSizeAdjustProperty | FontSizeAdjustProperty[], - fontStretch?: FontStretchProperty | FontStretchProperty[], - fontStyle?: FontStyleProperty | FontStyleProperty[], - fontVariant?: FontVariantProperty | FontVariantProperty[], - fontWeight?: FontWeightProperty | FontWeightProperty[], - glyphOrientationVertical?: GlyphOrientationVerticalProperty | GlyphOrientationVerticalProperty[], - imageRendering?: ImageRenderingProperty | ImageRenderingProperty[], - letterSpacing?: LetterSpacingProperty | LetterSpacingProperty[], - lightingColor?: LightingColorProperty | LightingColorProperty[], - lineHeight?: LineHeightProperty | LineHeightProperty[], - marker?: MarkerProperty | MarkerProperty[], - markerEnd?: MarkerEndProperty | MarkerEndProperty[], - markerMid?: MarkerMidProperty | MarkerMidProperty[], - markerStart?: MarkerStartProperty | MarkerStartProperty[], - mask?: MaskProperty | MaskProperty[], - opacity?: GlobalsNumber | GlobalsNumber[], - overflow?: OverflowProperty | OverflowProperty[], - paintOrder?: PaintOrderProperty | PaintOrderProperty[], - pointerEvents?: PointerEventsProperty | PointerEventsProperty[], - shapeRendering?: ShapeRenderingProperty | ShapeRenderingProperty[], - stopColor?: StopColorProperty | StopColorProperty[], - stopOpacity?: GlobalsNumber | GlobalsNumber[], - stroke?: StrokeProperty | StrokeProperty[], - strokeDasharray?: StrokeDasharrayProperty | StrokeDasharrayProperty[], - strokeDashoffset?: StrokeDashoffsetProperty | StrokeDashoffsetProperty[], - strokeLinecap?: StrokeLinecapProperty | StrokeLinecapProperty[], - strokeLinejoin?: StrokeLinejoinProperty | StrokeLinejoinProperty[], - strokeMiterlimit?: GlobalsNumber | GlobalsNumber[], - strokeOpacity?: GlobalsNumber | GlobalsNumber[], - strokeWidth?: StrokeWidthProperty | StrokeWidthProperty[], - textAnchor?: TextAnchorProperty | TextAnchorProperty[], - textDecoration?: TextDecorationProperty | TextDecorationProperty[], - textRendering?: TextRenderingProperty | TextRenderingProperty[], - unicodeBidi?: UnicodeBidiProperty | UnicodeBidiProperty[], - vectorEffect?: VectorEffectProperty | VectorEffectProperty[], - visibility?: VisibilityProperty | VisibilityProperty[], - whiteSpace?: WhiteSpaceProperty | WhiteSpaceProperty[], - wordSpacing?: WordSpacingProperty | WordSpacingProperty[], - writingMode?: WritingModeProperty | WritingModeProperty[], -}; - -export type PropertiesFallback = StandardPropertiesFallback & - VendorPropertiesFallback & - ObsoletePropertiesFallback & - SvgPropertiesFallback; - -export type StandardLonghandPropertiesHyphenFallback = { - "align-content"?: AlignContentProperty | AlignContentProperty[], - "align-items"?: AlignItemsProperty | AlignItemsProperty[], - "align-self"?: AlignSelfProperty | AlignSelfProperty[], - "animation-delay"?: GlobalsString | GlobalsString[], - "animation-direction"?: AnimationDirectionProperty | AnimationDirectionProperty[], - "animation-duration"?: GlobalsString | GlobalsString[], - "animation-fill-mode"?: AnimationFillModeProperty | AnimationFillModeProperty[], - "animation-iteration-count"?: AnimationIterationCountProperty | AnimationIterationCountProperty[], - "animation-name"?: AnimationNameProperty | AnimationNameProperty[], - "animation-play-state"?: AnimationPlayStateProperty | AnimationPlayStateProperty[], - "animation-timing-function"?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], - appearance?: AppearanceProperty | AppearanceProperty[], - "backdrop-filter"?: BackdropFilterProperty | BackdropFilterProperty[], - "backface-visibility"?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[], - "background-attachment"?: BackgroundAttachmentProperty | BackgroundAttachmentProperty[], - "background-blend-mode"?: BackgroundBlendModeProperty | BackgroundBlendModeProperty[], - "background-clip"?: BackgroundClipProperty | BackgroundClipProperty[], - "background-color"?: BackgroundColorProperty | BackgroundColorProperty[], - "background-image"?: BackgroundImageProperty | BackgroundImageProperty[], - "background-origin"?: BackgroundOriginProperty | BackgroundOriginProperty[], - "background-position"?: BackgroundPositionProperty | BackgroundPositionProperty[], - "background-position-x"?: BackgroundPositionXProperty | BackgroundPositionXProperty[], - "background-position-y"?: BackgroundPositionYProperty | BackgroundPositionYProperty[], - "background-repeat"?: BackgroundRepeatProperty | BackgroundRepeatProperty[], - "background-size"?: BackgroundSizeProperty | BackgroundSizeProperty[], - "block-overflow"?: BlockOverflowProperty | BlockOverflowProperty[], - "block-size"?: BlockSizeProperty | BlockSizeProperty[], - "border-block-color"?: BorderBlockColorProperty | BorderBlockColorProperty[], - "border-block-end-color"?: BorderBlockEndColorProperty | BorderBlockEndColorProperty[], - "border-block-end-style"?: BorderBlockEndStyleProperty | BorderBlockEndStyleProperty[], - "border-block-end-width"?: BorderBlockEndWidthProperty | BorderBlockEndWidthProperty[], - "border-block-start-color"?: BorderBlockStartColorProperty | BorderBlockStartColorProperty[], - "border-block-start-style"?: BorderBlockStartStyleProperty | BorderBlockStartStyleProperty[], - "border-block-start-width"?: BorderBlockStartWidthProperty | BorderBlockStartWidthProperty[], - "border-block-style"?: BorderBlockStyleProperty | BorderBlockStyleProperty[], - "border-block-width"?: BorderBlockWidthProperty | BorderBlockWidthProperty[], - "border-bottom-color"?: BorderBottomColorProperty | BorderBottomColorProperty[], - "border-bottom-left-radius"?: BorderBottomLeftRadiusProperty | BorderBottomLeftRadiusProperty[], - "border-bottom-right-radius"?: BorderBottomRightRadiusProperty | BorderBottomRightRadiusProperty[], - "border-bottom-style"?: BorderBottomStyleProperty | BorderBottomStyleProperty[], - "border-bottom-width"?: BorderBottomWidthProperty | BorderBottomWidthProperty[], - "border-collapse"?: BorderCollapseProperty | BorderCollapseProperty[], - "border-end-end-radius"?: BorderEndEndRadiusProperty | BorderEndEndRadiusProperty[], - "border-end-start-radius"?: BorderEndStartRadiusProperty | BorderEndStartRadiusProperty[], - "border-image-outset"?: BorderImageOutsetProperty | BorderImageOutsetProperty[], - "border-image-repeat"?: BorderImageRepeatProperty | BorderImageRepeatProperty[], - "border-image-slice"?: BorderImageSliceProperty | BorderImageSliceProperty[], - "border-image-source"?: BorderImageSourceProperty | BorderImageSourceProperty[], - "border-image-width"?: BorderImageWidthProperty | BorderImageWidthProperty[], - "border-inline-color"?: BorderInlineColorProperty | BorderInlineColorProperty[], - "border-inline-end-color"?: BorderInlineEndColorProperty | BorderInlineEndColorProperty[], - "border-inline-end-style"?: BorderInlineEndStyleProperty | BorderInlineEndStyleProperty[], - "border-inline-end-width"?: BorderInlineEndWidthProperty | BorderInlineEndWidthProperty[], - "border-inline-start-color"?: BorderInlineStartColorProperty | BorderInlineStartColorProperty[], - "border-inline-start-style"?: BorderInlineStartStyleProperty | BorderInlineStartStyleProperty[], - "border-inline-start-width"?: BorderInlineStartWidthProperty | BorderInlineStartWidthProperty[], - "border-inline-style"?: BorderInlineStyleProperty | BorderInlineStyleProperty[], - "border-inline-width"?: BorderInlineWidthProperty | BorderInlineWidthProperty[], - "border-left-color"?: BorderLeftColorProperty | BorderLeftColorProperty[], - "border-left-style"?: BorderLeftStyleProperty | BorderLeftStyleProperty[], - "border-left-width"?: BorderLeftWidthProperty | BorderLeftWidthProperty[], - "border-right-color"?: BorderRightColorProperty | BorderRightColorProperty[], - "border-right-style"?: BorderRightStyleProperty | BorderRightStyleProperty[], - "border-right-width"?: BorderRightWidthProperty | BorderRightWidthProperty[], - "border-spacing"?: BorderSpacingProperty | BorderSpacingProperty[], - "border-start-end-radius"?: BorderStartEndRadiusProperty | BorderStartEndRadiusProperty[], - "border-start-start-radius"?: BorderStartStartRadiusProperty | BorderStartStartRadiusProperty[], - "border-top-color"?: BorderTopColorProperty | BorderTopColorProperty[], - "border-top-left-radius"?: BorderTopLeftRadiusProperty | BorderTopLeftRadiusProperty[], - "border-top-right-radius"?: BorderTopRightRadiusProperty | BorderTopRightRadiusProperty[], - "border-top-style"?: BorderTopStyleProperty | BorderTopStyleProperty[], - "border-top-width"?: BorderTopWidthProperty | BorderTopWidthProperty[], - bottom?: BottomProperty | BottomProperty[], - "box-decoration-break"?: BoxDecorationBreakProperty | BoxDecorationBreakProperty[], - "box-shadow"?: BoxShadowProperty | BoxShadowProperty[], - "box-sizing"?: BoxSizingProperty | BoxSizingProperty[], - "break-after"?: BreakAfterProperty | BreakAfterProperty[], - "break-before"?: BreakBeforeProperty | BreakBeforeProperty[], - "break-inside"?: BreakInsideProperty | BreakInsideProperty[], - "caption-side"?: CaptionSideProperty | CaptionSideProperty[], - "caret-color"?: CaretColorProperty | CaretColorProperty[], - clear?: ClearProperty | ClearProperty[], - "clip-path"?: ClipPathProperty | ClipPathProperty[], - color?: ColorProperty | ColorProperty[], - "color-adjust"?: ColorAdjustProperty | ColorAdjustProperty[], - "column-count"?: ColumnCountProperty | ColumnCountProperty[], - "column-fill"?: ColumnFillProperty | ColumnFillProperty[], - "column-gap"?: ColumnGapProperty | ColumnGapProperty[], - "column-rule-color"?: ColumnRuleColorProperty | ColumnRuleColorProperty[], - "column-rule-style"?: ColumnRuleStyleProperty | ColumnRuleStyleProperty[], - "column-rule-width"?: ColumnRuleWidthProperty | ColumnRuleWidthProperty[], - "column-span"?: ColumnSpanProperty | ColumnSpanProperty[], - "column-width"?: ColumnWidthProperty | ColumnWidthProperty[], - contain?: ContainProperty | ContainProperty[], - content?: ContentProperty | ContentProperty[], - "counter-increment"?: CounterIncrementProperty | CounterIncrementProperty[], - "counter-reset"?: CounterResetProperty | CounterResetProperty[], - cursor?: CursorProperty | CursorProperty[], - direction?: DirectionProperty | DirectionProperty[], - display?: DisplayProperty | DisplayProperty[], - "empty-cells"?: EmptyCellsProperty | EmptyCellsProperty[], - filter?: FilterProperty | FilterProperty[], - "flex-basis"?: FlexBasisProperty | FlexBasisProperty[], - "flex-direction"?: FlexDirectionProperty | FlexDirectionProperty[], - "flex-grow"?: GlobalsNumber | GlobalsNumber[], - "flex-shrink"?: GlobalsNumber | GlobalsNumber[], - "flex-wrap"?: FlexWrapProperty | FlexWrapProperty[], - float?: FloatProperty | FloatProperty[], - "font-family"?: FontFamilyProperty | FontFamilyProperty[], - "font-feature-settings"?: FontFeatureSettingsProperty | FontFeatureSettingsProperty[], - "font-kerning"?: FontKerningProperty | FontKerningProperty[], - "font-language-override"?: FontLanguageOverrideProperty | FontLanguageOverrideProperty[], - "font-optical-sizing"?: FontOpticalSizingProperty | FontOpticalSizingProperty[], - "font-size"?: FontSizeProperty | FontSizeProperty[], - "font-size-adjust"?: FontSizeAdjustProperty | FontSizeAdjustProperty[], - "font-stretch"?: FontStretchProperty | FontStretchProperty[], - "font-style"?: FontStyleProperty | FontStyleProperty[], - "font-synthesis"?: FontSynthesisProperty | FontSynthesisProperty[], - "font-variant"?: FontVariantProperty | FontVariantProperty[], - "font-variant-caps"?: FontVariantCapsProperty | FontVariantCapsProperty[], - "font-variant-east-asian"?: FontVariantEastAsianProperty | FontVariantEastAsianProperty[], - "font-variant-ligatures"?: FontVariantLigaturesProperty | FontVariantLigaturesProperty[], - "font-variant-numeric"?: FontVariantNumericProperty | FontVariantNumericProperty[], - "font-variant-position"?: FontVariantPositionProperty | FontVariantPositionProperty[], - "font-variation-settings"?: FontVariationSettingsProperty | FontVariationSettingsProperty[], - "font-weight"?: FontWeightProperty | FontWeightProperty[], - "grid-auto-columns"?: GridAutoColumnsProperty | GridAutoColumnsProperty[], - "grid-auto-flow"?: GridAutoFlowProperty | GridAutoFlowProperty[], - "grid-auto-rows"?: GridAutoRowsProperty | GridAutoRowsProperty[], - "grid-column-end"?: GridColumnEndProperty | GridColumnEndProperty[], - "grid-column-start"?: GridColumnStartProperty | GridColumnStartProperty[], - "grid-row-end"?: GridRowEndProperty | GridRowEndProperty[], - "grid-row-start"?: GridRowStartProperty | GridRowStartProperty[], - "grid-template-areas"?: GridTemplateAreasProperty | GridTemplateAreasProperty[], - "grid-template-columns"?: GridTemplateColumnsProperty | GridTemplateColumnsProperty[], - "grid-template-rows"?: GridTemplateRowsProperty | GridTemplateRowsProperty[], - "hanging-punctuation"?: HangingPunctuationProperty | HangingPunctuationProperty[], - height?: HeightProperty | HeightProperty[], - hyphens?: HyphensProperty | HyphensProperty[], - "image-orientation"?: ImageOrientationProperty | ImageOrientationProperty[], - "image-rendering"?: ImageRenderingProperty | ImageRenderingProperty[], - "image-resolution"?: ImageResolutionProperty | ImageResolutionProperty[], - "initial-letter"?: InitialLetterProperty | InitialLetterProperty[], - "inline-size"?: InlineSizeProperty | InlineSizeProperty[], - "inset-block-end"?: InsetBlockEndProperty | InsetBlockEndProperty[], - "inset-block-start"?: InsetBlockStartProperty | InsetBlockStartProperty[], - "inset-inline-end"?: InsetInlineEndProperty | InsetInlineEndProperty[], - "inset-inline-start"?: InsetInlineStartProperty | InsetInlineStartProperty[], - isolation?: IsolationProperty | IsolationProperty[], - "justify-content"?: JustifyContentProperty | JustifyContentProperty[], - "justify-items"?: JustifyItemsProperty | JustifyItemsProperty[], - "justify-self"?: JustifySelfProperty | JustifySelfProperty[], - left?: LeftProperty | LeftProperty[], - "letter-spacing"?: LetterSpacingProperty | LetterSpacingProperty[], - "line-break"?: LineBreakProperty | LineBreakProperty[], - "line-height"?: LineHeightProperty | LineHeightProperty[], - "line-height-step"?: LineHeightStepProperty | LineHeightStepProperty[], - "list-style-image"?: ListStyleImageProperty | ListStyleImageProperty[], - "list-style-position"?: ListStylePositionProperty | ListStylePositionProperty[], - "list-style-type"?: ListStyleTypeProperty | ListStyleTypeProperty[], - "margin-block"?: MarginBlockProperty | MarginBlockProperty[], - "margin-block-end"?: MarginBlockEndProperty | MarginBlockEndProperty[], - "margin-block-start"?: MarginBlockStartProperty | MarginBlockStartProperty[], - "margin-bottom"?: MarginBottomProperty | MarginBottomProperty[], - "margin-inline"?: MarginInlineProperty | MarginInlineProperty[], - "margin-inline-end"?: MarginInlineEndProperty | MarginInlineEndProperty[], - "margin-inline-start"?: MarginInlineStartProperty | MarginInlineStartProperty[], - "margin-left"?: MarginLeftProperty | MarginLeftProperty[], - "margin-right"?: MarginRightProperty | MarginRightProperty[], - "margin-top"?: MarginTopProperty | MarginTopProperty[], - "mask-border-mode"?: MaskBorderModeProperty | MaskBorderModeProperty[], - "mask-border-outset"?: MaskBorderOutsetProperty | MaskBorderOutsetProperty[], - "mask-border-repeat"?: MaskBorderRepeatProperty | MaskBorderRepeatProperty[], - "mask-border-slice"?: MaskBorderSliceProperty | MaskBorderSliceProperty[], - "mask-border-source"?: MaskBorderSourceProperty | MaskBorderSourceProperty[], - "mask-border-width"?: MaskBorderWidthProperty | MaskBorderWidthProperty[], - "mask-clip"?: MaskClipProperty | MaskClipProperty[], - "mask-composite"?: MaskCompositeProperty | MaskCompositeProperty[], - "mask-image"?: MaskImageProperty | MaskImageProperty[], - "mask-mode"?: MaskModeProperty | MaskModeProperty[], - "mask-origin"?: MaskOriginProperty | MaskOriginProperty[], - "mask-position"?: MaskPositionProperty | MaskPositionProperty[], - "mask-repeat"?: MaskRepeatProperty | MaskRepeatProperty[], - "mask-size"?: MaskSizeProperty | MaskSizeProperty[], - "mask-type"?: MaskTypeProperty | MaskTypeProperty[], - "max-block-size"?: MaxBlockSizeProperty | MaxBlockSizeProperty[], - "max-height"?: MaxHeightProperty | MaxHeightProperty[], - "max-inline-size"?: MaxInlineSizeProperty | MaxInlineSizeProperty[], - "max-lines"?: MaxLinesProperty | MaxLinesProperty[], - "max-width"?: MaxWidthProperty | MaxWidthProperty[], - "min-block-size"?: MinBlockSizeProperty | MinBlockSizeProperty[], - "min-height"?: MinHeightProperty | MinHeightProperty[], - "min-inline-size"?: MinInlineSizeProperty | MinInlineSizeProperty[], - "min-width"?: MinWidthProperty | MinWidthProperty[], - "mix-blend-mode"?: MixBlendModeProperty | MixBlendModeProperty[], - "motion-distance"?: OffsetDistanceProperty | OffsetDistanceProperty[], - "motion-path"?: OffsetPathProperty | OffsetPathProperty[], - "motion-rotation"?: OffsetRotateProperty | OffsetRotateProperty[], - "object-fit"?: ObjectFitProperty | ObjectFitProperty[], - "object-position"?: ObjectPositionProperty | ObjectPositionProperty[], - "offset-anchor"?: OffsetAnchorProperty | OffsetAnchorProperty[], - "offset-distance"?: OffsetDistanceProperty | OffsetDistanceProperty[], - "offset-path"?: OffsetPathProperty | OffsetPathProperty[], - "offset-position"?: OffsetPositionProperty | OffsetPositionProperty[], - "offset-rotate"?: OffsetRotateProperty | OffsetRotateProperty[], - "offset-rotation"?: OffsetRotateProperty | OffsetRotateProperty[], - opacity?: GlobalsNumber | GlobalsNumber[], - order?: GlobalsNumber | GlobalsNumber[], - orphans?: GlobalsNumber | GlobalsNumber[], - "outline-color"?: OutlineColorProperty | OutlineColorProperty[], - "outline-offset"?: OutlineOffsetProperty | OutlineOffsetProperty[], - "outline-style"?: OutlineStyleProperty | OutlineStyleProperty[], - "outline-width"?: OutlineWidthProperty | OutlineWidthProperty[], - overflow?: OverflowProperty | OverflowProperty[], - "overflow-anchor"?: OverflowAnchorProperty | OverflowAnchorProperty[], - "overflow-block"?: OverflowBlockProperty | OverflowBlockProperty[], - "overflow-clip-box"?: OverflowClipBoxProperty | OverflowClipBoxProperty[], - "overflow-inline"?: OverflowInlineProperty | OverflowInlineProperty[], - "overflow-wrap"?: OverflowWrapProperty | OverflowWrapProperty[], - "overflow-x"?: OverflowXProperty | OverflowXProperty[], - "overflow-y"?: OverflowYProperty | OverflowYProperty[], - "overscroll-behavior"?: OverscrollBehaviorProperty | OverscrollBehaviorProperty[], - "overscroll-behavior-x"?: OverscrollBehaviorXProperty | OverscrollBehaviorXProperty[], - "overscroll-behavior-y"?: OverscrollBehaviorYProperty | OverscrollBehaviorYProperty[], - "padding-block"?: PaddingBlockProperty | PaddingBlockProperty[], - "padding-block-end"?: PaddingBlockEndProperty | PaddingBlockEndProperty[], - "padding-block-start"?: PaddingBlockStartProperty | PaddingBlockStartProperty[], - "padding-bottom"?: PaddingBottomProperty | PaddingBottomProperty[], - "padding-inline"?: PaddingInlineProperty | PaddingInlineProperty[], - "padding-inline-end"?: PaddingInlineEndProperty | PaddingInlineEndProperty[], - "padding-inline-start"?: PaddingInlineStartProperty | PaddingInlineStartProperty[], - "padding-left"?: PaddingLeftProperty | PaddingLeftProperty[], - "padding-right"?: PaddingRightProperty | PaddingRightProperty[], - "padding-top"?: PaddingTopProperty | PaddingTopProperty[], - "page-break-after"?: PageBreakAfterProperty | PageBreakAfterProperty[], - "page-break-before"?: PageBreakBeforeProperty | PageBreakBeforeProperty[], - "page-break-inside"?: PageBreakInsideProperty | PageBreakInsideProperty[], - "paint-order"?: PaintOrderProperty | PaintOrderProperty[], - perspective?: PerspectiveProperty | PerspectiveProperty[], - "perspective-origin"?: PerspectiveOriginProperty | PerspectiveOriginProperty[], - "place-content"?: PlaceContentProperty | PlaceContentProperty[], - "pointer-events"?: PointerEventsProperty | PointerEventsProperty[], - position?: PositionProperty | PositionProperty[], - quotes?: QuotesProperty | QuotesProperty[], - resize?: ResizeProperty | ResizeProperty[], - right?: RightProperty | RightProperty[], - rotate?: RotateProperty | RotateProperty[], - "row-gap"?: RowGapProperty | RowGapProperty[], - "ruby-align"?: RubyAlignProperty | RubyAlignProperty[], - "ruby-merge"?: RubyMergeProperty | RubyMergeProperty[], - "ruby-position"?: RubyPositionProperty | RubyPositionProperty[], - scale?: ScaleProperty | ScaleProperty[], - "scroll-behavior"?: ScrollBehaviorProperty | ScrollBehaviorProperty[], - "scroll-margin"?: ScrollMarginProperty | ScrollMarginProperty[], - "scroll-margin-block"?: ScrollMarginBlockProperty | ScrollMarginBlockProperty[], - "scroll-margin-block-end"?: ScrollMarginBlockEndProperty | ScrollMarginBlockEndProperty[], - "scroll-margin-block-start"?: ScrollMarginBlockStartProperty | ScrollMarginBlockStartProperty[], - "scroll-margin-bottom"?: ScrollMarginBottomProperty | ScrollMarginBottomProperty[], - "scroll-margin-inline-end"?: ScrollMarginInlineEndProperty | ScrollMarginInlineEndProperty[], - "scroll-margin-inline-start"?: ScrollMarginInlineStartProperty | ScrollMarginInlineStartProperty[], - "scroll-margin-left"?: ScrollMarginLeftProperty | ScrollMarginLeftProperty[], - "scroll-margin-right"?: ScrollMarginRightProperty | ScrollMarginRightProperty[], - "scroll-margin-top"?: ScrollMarginTopProperty | ScrollMarginTopProperty[], - "scroll-padding"?: ScrollPaddingProperty | ScrollPaddingProperty[], - "scroll-padding-block"?: ScrollPaddingBlockProperty | ScrollPaddingBlockProperty[], - "scroll-padding-block-end"?: ScrollPaddingBlockEndProperty | ScrollPaddingBlockEndProperty[], - "scroll-padding-block-start"?: ScrollPaddingBlockStartProperty | ScrollPaddingBlockStartProperty[], - "scroll-padding-bottom"?: ScrollPaddingBottomProperty | ScrollPaddingBottomProperty[], - "scroll-padding-inline"?: ScrollPaddingInlineProperty | ScrollPaddingInlineProperty[], - "scroll-padding-inline-end"?: ScrollPaddingInlineEndProperty | ScrollPaddingInlineEndProperty[], - "scroll-padding-inline-start"?: ScrollPaddingInlineStartProperty | ScrollPaddingInlineStartProperty[], - "scroll-padding-left"?: ScrollPaddingLeftProperty | ScrollPaddingLeftProperty[], - "scroll-padding-right"?: ScrollPaddingRightProperty | ScrollPaddingRightProperty[], - "scroll-padding-top"?: ScrollPaddingTopProperty | ScrollPaddingTopProperty[], - "scroll-snap-align"?: ScrollSnapAlignProperty | ScrollSnapAlignProperty[], - "scroll-snap-type"?: ScrollSnapTypeProperty | ScrollSnapTypeProperty[], - "scrollbar-color"?: ScrollbarColorProperty | ScrollbarColorProperty[], - "scrollbar-width"?: ScrollbarWidthProperty | ScrollbarWidthProperty[], - "shape-image-threshold"?: GlobalsNumber | GlobalsNumber[], - "shape-margin"?: ShapeMarginProperty | ShapeMarginProperty[], - "shape-outside"?: ShapeOutsideProperty | ShapeOutsideProperty[], - "tab-size"?: TabSizeProperty | TabSizeProperty[], - "table-layout"?: TableLayoutProperty | TableLayoutProperty[], - "text-align"?: TextAlignProperty | TextAlignProperty[], - "text-align-last"?: TextAlignLastProperty | TextAlignLastProperty[], - "text-combine-upright"?: TextCombineUprightProperty | TextCombineUprightProperty[], - "text-decoration-color"?: TextDecorationColorProperty | TextDecorationColorProperty[], - "text-decoration-line"?: TextDecorationLineProperty | TextDecorationLineProperty[], - "text-decoration-skip"?: TextDecorationSkipProperty | TextDecorationSkipProperty[], - "text-decoration-skip-ink"?: TextDecorationSkipInkProperty | TextDecorationSkipInkProperty[], - "text-decoration-style"?: TextDecorationStyleProperty | TextDecorationStyleProperty[], - "text-emphasis-color"?: TextEmphasisColorProperty | TextEmphasisColorProperty[], - "text-emphasis-position"?: GlobalsString | GlobalsString[], - "text-emphasis-style"?: TextEmphasisStyleProperty | TextEmphasisStyleProperty[], - "text-indent"?: TextIndentProperty | TextIndentProperty[], - "text-justify"?: TextJustifyProperty | TextJustifyProperty[], - "text-orientation"?: TextOrientationProperty | TextOrientationProperty[], - "text-overflow"?: TextOverflowProperty | TextOverflowProperty[], - "text-rendering"?: TextRenderingProperty | TextRenderingProperty[], - "text-shadow"?: TextShadowProperty | TextShadowProperty[], - "text-size-adjust"?: TextSizeAdjustProperty | TextSizeAdjustProperty[], - "text-transform"?: TextTransformProperty | TextTransformProperty[], - "text-underline-position"?: TextUnderlinePositionProperty | TextUnderlinePositionProperty[], - top?: TopProperty | TopProperty[], - "touch-action"?: TouchActionProperty | TouchActionProperty[], - transform?: TransformProperty | TransformProperty[], - "transform-box"?: TransformBoxProperty | TransformBoxProperty[], - "transform-origin"?: TransformOriginProperty | TransformOriginProperty[], - "transform-style"?: TransformStyleProperty | TransformStyleProperty[], - "transition-delay"?: GlobalsString | GlobalsString[], - "transition-duration"?: GlobalsString | GlobalsString[], - "transition-property"?: TransitionPropertyProperty | TransitionPropertyProperty[], - "transition-timing-function"?: TransitionTimingFunctionProperty | TransitionTimingFunctionProperty[], - translate?: TranslateProperty | TranslateProperty[], - "unicode-bidi"?: UnicodeBidiProperty | UnicodeBidiProperty[], - "user-select"?: UserSelectProperty | UserSelectProperty[], - "vertical-align"?: VerticalAlignProperty | VerticalAlignProperty[], - visibility?: VisibilityProperty | VisibilityProperty[], - "white-space"?: WhiteSpaceProperty | WhiteSpaceProperty[], - widows?: GlobalsNumber | GlobalsNumber[], - width?: WidthProperty | WidthProperty[], - "will-change"?: WillChangeProperty | WillChangeProperty[], - "word-break"?: WordBreakProperty | WordBreakProperty[], - "word-spacing"?: WordSpacingProperty | WordSpacingProperty[], - "word-wrap"?: WordWrapProperty | WordWrapProperty[], - "writing-mode"?: WritingModeProperty | WritingModeProperty[], - "z-index"?: ZIndexProperty | ZIndexProperty[], - zoom?: ZoomProperty | ZoomProperty[], -}; - -export type StandardShorthandPropertiesHyphenFallback = { - all?: Globals | Globals[], - animation?: AnimationProperty | AnimationProperty[], - background?: BackgroundProperty | BackgroundProperty[], - border?: BorderProperty | BorderProperty[], - "border-block"?: BorderBlockProperty | BorderBlockProperty[], - "border-block-end"?: BorderBlockEndProperty | BorderBlockEndProperty[], - "border-block-start"?: BorderBlockStartProperty | BorderBlockStartProperty[], - "border-bottom"?: BorderBottomProperty | BorderBottomProperty[], - "border-color"?: BorderColorProperty | BorderColorProperty[], - "border-image"?: BorderImageProperty | BorderImageProperty[], - "border-inline"?: BorderInlineProperty | BorderInlineProperty[], - "border-inline-end"?: BorderInlineEndProperty | BorderInlineEndProperty[], - "border-inline-start"?: BorderInlineStartProperty | BorderInlineStartProperty[], - "border-left"?: BorderLeftProperty | BorderLeftProperty[], - "border-radius"?: BorderRadiusProperty | BorderRadiusProperty[], - "border-right"?: BorderRightProperty | BorderRightProperty[], - "border-style"?: BorderStyleProperty | BorderStyleProperty[], - "border-top"?: BorderTopProperty | BorderTopProperty[], - "border-width"?: BorderWidthProperty | BorderWidthProperty[], - "column-rule"?: ColumnRuleProperty | ColumnRuleProperty[], - columns?: ColumnsProperty | ColumnsProperty[], - flex?: FlexProperty | FlexProperty[], - "flex-flow"?: FlexFlowProperty | FlexFlowProperty[], - font?: FontProperty | FontProperty[], - gap?: GapProperty | GapProperty[], - grid?: GridProperty | GridProperty[], - "grid-area"?: GridAreaProperty | GridAreaProperty[], - "grid-column"?: GridColumnProperty | GridColumnProperty[], - "grid-row"?: GridRowProperty | GridRowProperty[], - "grid-template"?: GridTemplateProperty | GridTemplateProperty[], - "line-clamp"?: LineClampProperty | LineClampProperty[], - "list-style"?: ListStyleProperty | ListStyleProperty[], - margin?: MarginProperty | MarginProperty[], - mask?: MaskProperty | MaskProperty[], - "mask-border"?: MaskBorderProperty | MaskBorderProperty[], - motion?: OffsetProperty | OffsetProperty[], - offset?: OffsetProperty | OffsetProperty[], - outline?: OutlineProperty | OutlineProperty[], - padding?: PaddingProperty | PaddingProperty[], - "place-items"?: PlaceItemsProperty | PlaceItemsProperty[], - "place-self"?: PlaceSelfProperty | PlaceSelfProperty[], - "text-decoration"?: TextDecorationProperty | TextDecorationProperty[], - "text-emphasis"?: TextEmphasisProperty | TextEmphasisProperty[], - transition?: TransitionProperty | TransitionProperty[], -}; - -export type StandardPropertiesHyphenFallback = StandardLonghandPropertiesHyphenFallback & StandardShorthandPropertiesHyphenFallback; - -export type VendorLonghandPropertiesHyphenFallback = { - "-moz-animation-delay"?: GlobalsString | GlobalsString[], - "-moz-animation-direction"?: AnimationDirectionProperty | AnimationDirectionProperty[], - "-moz-animation-duration"?: GlobalsString | GlobalsString[], - "-moz-animation-fill-mode"?: AnimationFillModeProperty | AnimationFillModeProperty[], - "-moz-animation-iteration-count"?: AnimationIterationCountProperty | AnimationIterationCountProperty[], - "-moz-animation-name"?: AnimationNameProperty | AnimationNameProperty[], - "-moz-animation-play-state"?: AnimationPlayStateProperty | AnimationPlayStateProperty[], - "-moz-animation-timing-function"?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], - "-moz-appearance"?: MozAppearanceProperty | MozAppearanceProperty[], - "-moz-backface-visibility"?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[], - "-moz-border-bottom-colors"?: MozBorderBottomColorsProperty | MozBorderBottomColorsProperty[], - "-moz-border-end-color"?: BorderInlineEndColorProperty | BorderInlineEndColorProperty[], - "-moz-border-end-style"?: BorderInlineEndStyleProperty | BorderInlineEndStyleProperty[], - "-moz-border-end-width"?: BorderInlineEndWidthProperty | BorderInlineEndWidthProperty[], - "-moz-border-left-colors"?: MozBorderLeftColorsProperty | MozBorderLeftColorsProperty[], - "-moz-border-right-colors"?: MozBorderRightColorsProperty | MozBorderRightColorsProperty[], - "-moz-border-start-color"?: BorderInlineStartColorProperty | BorderInlineStartColorProperty[], - "-moz-border-start-style"?: BorderInlineStartStyleProperty | BorderInlineStartStyleProperty[], - "-moz-border-top-colors"?: MozBorderTopColorsProperty | MozBorderTopColorsProperty[], - "-moz-box-sizing"?: BoxSizingProperty | BoxSizingProperty[], - "-moz-column-count"?: ColumnCountProperty | ColumnCountProperty[], - "-moz-column-fill"?: ColumnFillProperty | ColumnFillProperty[], - "-moz-column-gap"?: ColumnGapProperty | ColumnGapProperty[], - "-moz-column-rule-color"?: ColumnRuleColorProperty | ColumnRuleColorProperty[], - "-moz-column-rule-style"?: ColumnRuleStyleProperty | ColumnRuleStyleProperty[], - "-moz-column-rule-width"?: ColumnRuleWidthProperty | ColumnRuleWidthProperty[], - "-moz-column-width"?: ColumnWidthProperty | ColumnWidthProperty[], - "-moz-context-properties"?: MozContextPropertiesProperty | MozContextPropertiesProperty[], - "-moz-float-edge"?: MozFloatEdgeProperty | MozFloatEdgeProperty[], - "-moz-font-feature-settings"?: FontFeatureSettingsProperty | FontFeatureSettingsProperty[], - "-moz-font-language-override"?: FontLanguageOverrideProperty | FontLanguageOverrideProperty[], - "-moz-force-broken-image-icon"?: GlobalsNumber | GlobalsNumber[], - "-moz-hyphens"?: HyphensProperty | HyphensProperty[], - "-moz-image-region"?: MozImageRegionProperty | MozImageRegionProperty[], - "-moz-margin-end"?: MarginInlineEndProperty | MarginInlineEndProperty[], - "-moz-margin-start"?: MarginInlineStartProperty | MarginInlineStartProperty[], - "-moz-orient"?: MozOrientProperty | MozOrientProperty[], - "-moz-outline-radius-bottomleft"?: MozOutlineRadiusBottomleftProperty | MozOutlineRadiusBottomleftProperty[], - "-moz-outline-radius-bottomright"?: MozOutlineRadiusBottomrightProperty | MozOutlineRadiusBottomrightProperty[], - "-moz-outline-radius-topleft"?: MozOutlineRadiusTopleftProperty | MozOutlineRadiusTopleftProperty[], - "-moz-outline-radius-topright"?: MozOutlineRadiusToprightProperty | MozOutlineRadiusToprightProperty[], - "-moz-padding-end"?: PaddingInlineEndProperty | PaddingInlineEndProperty[], - "-moz-padding-start"?: PaddingInlineStartProperty | PaddingInlineStartProperty[], - "-moz-perspective"?: PerspectiveProperty | PerspectiveProperty[], - "-moz-perspective-origin"?: PerspectiveOriginProperty | PerspectiveOriginProperty[], - "-moz-stack-sizing"?: MozStackSizingProperty | MozStackSizingProperty[], - "-moz-tab-size"?: TabSizeProperty | TabSizeProperty[], - "-moz-text-size-adjust"?: TextSizeAdjustProperty | TextSizeAdjustProperty[], - "-moz-transform-origin"?: TransformOriginProperty | TransformOriginProperty[], - "-moz-transform-style"?: TransformStyleProperty | TransformStyleProperty[], - "-moz-transition-delay"?: GlobalsString | GlobalsString[], - "-moz-transition-duration"?: GlobalsString | GlobalsString[], - "-moz-transition-property"?: TransitionPropertyProperty | TransitionPropertyProperty[], - "-moz-transition-timing-function"?: TransitionTimingFunctionProperty | TransitionTimingFunctionProperty[], - "-moz-user-focus"?: MozUserFocusProperty | MozUserFocusProperty[], - "-moz-user-modify"?: MozUserModifyProperty | MozUserModifyProperty[], - "-moz-user-select"?: UserSelectProperty | UserSelectProperty[], - "-moz-window-dragging"?: MozWindowDraggingProperty | MozWindowDraggingProperty[], - "-moz-window-shadow"?: MozWindowShadowProperty | MozWindowShadowProperty[], - "-ms-accelerator"?: MsAcceleratorProperty | MsAcceleratorProperty[], - "-ms-align-self"?: AlignSelfProperty | AlignSelfProperty[], - "-ms-block-progression"?: MsBlockProgressionProperty | MsBlockProgressionProperty[], - "-ms-content-zoom-chaining"?: MsContentZoomChainingProperty | MsContentZoomChainingProperty[], - "-ms-content-zoom-limit-max"?: GlobalsString | GlobalsString[], - "-ms-content-zoom-limit-min"?: GlobalsString | GlobalsString[], - "-ms-content-zoom-snap-points"?: GlobalsString | GlobalsString[], - "-ms-content-zoom-snap-type"?: MsContentZoomSnapTypeProperty | MsContentZoomSnapTypeProperty[], - "-ms-content-zooming"?: MsContentZoomingProperty | MsContentZoomingProperty[], - "-ms-filter"?: GlobalsString | GlobalsString[], - "-ms-flex-direction"?: FlexDirectionProperty | FlexDirectionProperty[], - "-ms-flex-positive"?: GlobalsNumber | GlobalsNumber[], - "-ms-flow-from"?: MsFlowFromProperty | MsFlowFromProperty[], - "-ms-flow-into"?: MsFlowIntoProperty | MsFlowIntoProperty[], - "-ms-grid-columns"?: GridAutoColumnsProperty | GridAutoColumnsProperty[], - "-ms-grid-rows"?: GridAutoRowsProperty | GridAutoRowsProperty[], - "-ms-high-contrast-adjust"?: MsHighContrastAdjustProperty | MsHighContrastAdjustProperty[], - "-ms-hyphenate-limit-chars"?: MsHyphenateLimitCharsProperty | MsHyphenateLimitCharsProperty[], - "-ms-hyphenate-limit-lines"?: MsHyphenateLimitLinesProperty | MsHyphenateLimitLinesProperty[], - "-ms-hyphenate-limit-zone"?: MsHyphenateLimitZoneProperty | MsHyphenateLimitZoneProperty[], - "-ms-hyphens"?: HyphensProperty | HyphensProperty[], - "-ms-ime-align"?: MsImeAlignProperty | MsImeAlignProperty[], - "-ms-line-break"?: LineBreakProperty | LineBreakProperty[], - "-ms-order"?: GlobalsNumber | GlobalsNumber[], - "-ms-overflow-style"?: MsOverflowStyleProperty | MsOverflowStyleProperty[], - "-ms-overflow-x"?: OverflowXProperty | OverflowXProperty[], - "-ms-overflow-y"?: OverflowYProperty | OverflowYProperty[], - "-ms-scroll-chaining"?: MsScrollChainingProperty | MsScrollChainingProperty[], - "-ms-scroll-limit-x-max"?: MsScrollLimitXMaxProperty | MsScrollLimitXMaxProperty[], - "-ms-scroll-limit-x-min"?: MsScrollLimitXMinProperty | MsScrollLimitXMinProperty[], - "-ms-scroll-limit-y-max"?: MsScrollLimitYMaxProperty | MsScrollLimitYMaxProperty[], - "-ms-scroll-limit-y-min"?: MsScrollLimitYMinProperty | MsScrollLimitYMinProperty[], - "-ms-scroll-rails"?: MsScrollRailsProperty | MsScrollRailsProperty[], - "-ms-scroll-snap-points-x"?: GlobalsString | GlobalsString[], - "-ms-scroll-snap-points-y"?: GlobalsString | GlobalsString[], - "-ms-scroll-snap-type"?: MsScrollSnapTypeProperty | MsScrollSnapTypeProperty[], - "-ms-scroll-translation"?: MsScrollTranslationProperty | MsScrollTranslationProperty[], - "-ms-text-autospace"?: MsTextAutospaceProperty | MsTextAutospaceProperty[], - "-ms-text-combine-horizontal"?: TextCombineUprightProperty | TextCombineUprightProperty[], - "-ms-text-overflow"?: TextOverflowProperty | TextOverflowProperty[], - "-ms-text-size-adjust"?: TextSizeAdjustProperty | TextSizeAdjustProperty[], - "-ms-touch-action"?: TouchActionProperty | TouchActionProperty[], - "-ms-touch-select"?: MsTouchSelectProperty | MsTouchSelectProperty[], - "-ms-transform"?: TransformProperty | TransformProperty[], - "-ms-transform-origin"?: TransformOriginProperty | TransformOriginProperty[], - "-ms-user-select"?: MsUserSelectProperty | MsUserSelectProperty[], - "-ms-word-break"?: WordBreakProperty | WordBreakProperty[], - "-ms-wrap-flow"?: MsWrapFlowProperty | MsWrapFlowProperty[], - "-ms-wrap-margin"?: MsWrapMarginProperty | MsWrapMarginProperty[], - "-ms-wrap-through"?: MsWrapThroughProperty | MsWrapThroughProperty[], - "-ms-writing-mode"?: WritingModeProperty | WritingModeProperty[], - "-o-object-fit"?: ObjectFitProperty | ObjectFitProperty[], - "-o-object-position"?: ObjectPositionProperty | ObjectPositionProperty[], - "-o-tab-size"?: TabSizeProperty | TabSizeProperty[], - "-o-text-overflow"?: TextOverflowProperty | TextOverflowProperty[], - "-o-transform-origin"?: TransformOriginProperty | TransformOriginProperty[], - "-webkit-align-content"?: AlignContentProperty | AlignContentProperty[], - "-webkit-align-items"?: AlignItemsProperty | AlignItemsProperty[], - "-webkit-align-self"?: AlignSelfProperty | AlignSelfProperty[], - "-webkit-animation-delay"?: GlobalsString | GlobalsString[], - "-webkit-animation-direction"?: AnimationDirectionProperty | AnimationDirectionProperty[], - "-webkit-animation-duration"?: GlobalsString | GlobalsString[], - "-webkit-animation-fill-mode"?: AnimationFillModeProperty | AnimationFillModeProperty[], - "-webkit-animation-iteration-count"?: AnimationIterationCountProperty | AnimationIterationCountProperty[], - "-webkit-animation-name"?: AnimationNameProperty | AnimationNameProperty[], - "-webkit-animation-play-state"?: AnimationPlayStateProperty | AnimationPlayStateProperty[], - "-webkit-animation-timing-function"?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], - "-webkit-appearance"?: WebkitAppearanceProperty | WebkitAppearanceProperty[], - "-webkit-backdrop-filter"?: BackdropFilterProperty | BackdropFilterProperty[], - "-webkit-backface-visibility"?: BackfaceVisibilityProperty | BackfaceVisibilityProperty[], - "-webkit-background-clip"?: BackgroundClipProperty | BackgroundClipProperty[], - "-webkit-background-origin"?: BackgroundOriginProperty | BackgroundOriginProperty[], - "-webkit-background-size"?: BackgroundSizeProperty | BackgroundSizeProperty[], - "-webkit-border-before-color"?: WebkitBorderBeforeColorProperty | WebkitBorderBeforeColorProperty[], - "-webkit-border-before-style"?: WebkitBorderBeforeStyleProperty | WebkitBorderBeforeStyleProperty[], - "-webkit-border-before-width"?: WebkitBorderBeforeWidthProperty | WebkitBorderBeforeWidthProperty[], - "-webkit-border-bottom-left-radius"?: BorderBottomLeftRadiusProperty | BorderBottomLeftRadiusProperty[], - "-webkit-border-bottom-right-radius"?: BorderBottomRightRadiusProperty | BorderBottomRightRadiusProperty[], - "-webkit-border-image-slice"?: BorderImageSliceProperty | BorderImageSliceProperty[], - "-webkit-border-top-left-radius"?: BorderTopLeftRadiusProperty | BorderTopLeftRadiusProperty[], - "-webkit-border-top-right-radius"?: BorderTopRightRadiusProperty | BorderTopRightRadiusProperty[], - "-webkit-box-decoration-break"?: BoxDecorationBreakProperty | BoxDecorationBreakProperty[], - "-webkit-box-reflect"?: WebkitBoxReflectProperty | WebkitBoxReflectProperty[], - "-webkit-box-shadow"?: BoxShadowProperty | BoxShadowProperty[], - "-webkit-box-sizing"?: BoxSizingProperty | BoxSizingProperty[], - "-webkit-clip-path"?: ClipPathProperty | ClipPathProperty[], - "-webkit-color-adjust"?: ColorAdjustProperty | ColorAdjustProperty[], - "-webkit-column-count"?: ColumnCountProperty | ColumnCountProperty[], - "-webkit-column-gap"?: ColumnGapProperty | ColumnGapProperty[], - "-webkit-column-rule-color"?: ColumnRuleColorProperty | ColumnRuleColorProperty[], - "-webkit-column-rule-style"?: ColumnRuleStyleProperty | ColumnRuleStyleProperty[], - "-webkit-column-rule-width"?: ColumnRuleWidthProperty | ColumnRuleWidthProperty[], - "-webkit-column-span"?: ColumnSpanProperty | ColumnSpanProperty[], - "-webkit-column-width"?: ColumnWidthProperty | ColumnWidthProperty[], - "-webkit-filter"?: FilterProperty | FilterProperty[], - "-webkit-flex-basis"?: FlexBasisProperty | FlexBasisProperty[], - "-webkit-flex-direction"?: FlexDirectionProperty | FlexDirectionProperty[], - "-webkit-flex-grow"?: GlobalsNumber | GlobalsNumber[], - "-webkit-flex-shrink"?: GlobalsNumber | GlobalsNumber[], - "-webkit-flex-wrap"?: FlexWrapProperty | FlexWrapProperty[], - "-webkit-font-feature-settings"?: FontFeatureSettingsProperty | FontFeatureSettingsProperty[], - "-webkit-font-kerning"?: FontKerningProperty | FontKerningProperty[], - "-webkit-font-variant-ligatures"?: FontVariantLigaturesProperty | FontVariantLigaturesProperty[], - "-webkit-hyphens"?: HyphensProperty | HyphensProperty[], - "-webkit-justify-content"?: JustifyContentProperty | JustifyContentProperty[], - "-webkit-line-break"?: LineBreakProperty | LineBreakProperty[], - "-webkit-margin-end"?: MarginInlineEndProperty | MarginInlineEndProperty[], - "-webkit-margin-start"?: MarginInlineStartProperty | MarginInlineStartProperty[], - "-webkit-mask-attachment"?: WebkitMaskAttachmentProperty | WebkitMaskAttachmentProperty[], - "-webkit-mask-clip"?: WebkitMaskClipProperty | WebkitMaskClipProperty[], - "-webkit-mask-composite"?: WebkitMaskCompositeProperty | WebkitMaskCompositeProperty[], - "-webkit-mask-image"?: WebkitMaskImageProperty | WebkitMaskImageProperty[], - "-webkit-mask-origin"?: WebkitMaskOriginProperty | WebkitMaskOriginProperty[], - "-webkit-mask-position"?: WebkitMaskPositionProperty | WebkitMaskPositionProperty[], - "-webkit-mask-position-x"?: WebkitMaskPositionXProperty | WebkitMaskPositionXProperty[], - "-webkit-mask-position-y"?: WebkitMaskPositionYProperty | WebkitMaskPositionYProperty[], - "-webkit-mask-repeat"?: WebkitMaskRepeatProperty | WebkitMaskRepeatProperty[], - "-webkit-mask-repeat-x"?: WebkitMaskRepeatXProperty | WebkitMaskRepeatXProperty[], - "-webkit-mask-repeat-y"?: WebkitMaskRepeatYProperty | WebkitMaskRepeatYProperty[], - "-webkit-mask-size"?: WebkitMaskSizeProperty | WebkitMaskSizeProperty[], - "-webkit-max-inline-size"?: MaxInlineSizeProperty | MaxInlineSizeProperty[], - "-webkit-order"?: GlobalsNumber | GlobalsNumber[], - "-webkit-overflow-scrolling"?: WebkitOverflowScrollingProperty | WebkitOverflowScrollingProperty[], - "-webkit-padding-end"?: PaddingInlineEndProperty | PaddingInlineEndProperty[], - "-webkit-padding-start"?: PaddingInlineStartProperty | PaddingInlineStartProperty[], - "-webkit-perspective"?: PerspectiveProperty | PerspectiveProperty[], - "-webkit-perspective-origin"?: PerspectiveOriginProperty | PerspectiveOriginProperty[], - "-webkit-scroll-snap-type"?: ScrollSnapTypeProperty | ScrollSnapTypeProperty[], - "-webkit-shape-margin"?: ShapeMarginProperty | ShapeMarginProperty[], - "-webkit-tap-highlight-color"?: WebkitTapHighlightColorProperty | WebkitTapHighlightColorProperty[], - "-webkit-text-combine"?: TextCombineUprightProperty | TextCombineUprightProperty[], - "-webkit-text-decoration-color"?: TextDecorationColorProperty | TextDecorationColorProperty[], - "-webkit-text-decoration-line"?: TextDecorationLineProperty | TextDecorationLineProperty[], - "-webkit-text-decoration-skip"?: TextDecorationSkipProperty | TextDecorationSkipProperty[], - "-webkit-text-decoration-style"?: TextDecorationStyleProperty | TextDecorationStyleProperty[], - "-webkit-text-emphasis-color"?: TextEmphasisColorProperty | TextEmphasisColorProperty[], - "-webkit-text-emphasis-position"?: GlobalsString | GlobalsString[], - "-webkit-text-emphasis-style"?: TextEmphasisStyleProperty | TextEmphasisStyleProperty[], - "-webkit-text-fill-color"?: WebkitTextFillColorProperty | WebkitTextFillColorProperty[], - "-webkit-text-orientation"?: TextOrientationProperty | TextOrientationProperty[], - "-webkit-text-size-adjust"?: TextSizeAdjustProperty | TextSizeAdjustProperty[], - "-webkit-text-stroke-color"?: WebkitTextStrokeColorProperty | WebkitTextStrokeColorProperty[], - "-webkit-text-stroke-width"?: WebkitTextStrokeWidthProperty | WebkitTextStrokeWidthProperty[], - "-webkit-touch-callout"?: WebkitTouchCalloutProperty | WebkitTouchCalloutProperty[], - "-webkit-transform"?: TransformProperty | TransformProperty[], - "-webkit-transform-origin"?: TransformOriginProperty | TransformOriginProperty[], - "-webkit-transform-style"?: TransformStyleProperty | TransformStyleProperty[], - "-webkit-transition-delay"?: GlobalsString | GlobalsString[], - "-webkit-transition-duration"?: GlobalsString | GlobalsString[], - "-webkit-transition-property"?: TransitionPropertyProperty | TransitionPropertyProperty[], - "-webkit-transition-timing-function"?: TransitionTimingFunctionProperty | TransitionTimingFunctionProperty[], - "-webkit-user-modify"?: WebkitUserModifyProperty | WebkitUserModifyProperty[], - "-webkit-user-select"?: UserSelectProperty | UserSelectProperty[], - "-webkit-writing-mode"?: WritingModeProperty | WritingModeProperty[], -}; - -export type VendorShorthandPropertiesHyphenFallback = { - "-moz-animation"?: AnimationProperty | AnimationProperty[], - "-moz-border-image"?: BorderImageProperty | BorderImageProperty[], - "-moz-column-rule"?: ColumnRuleProperty | ColumnRuleProperty[], - "-moz-columns"?: ColumnsProperty | ColumnsProperty[], - "-moz-transition"?: TransitionProperty | TransitionProperty[], - "-ms-content-zoom-limit"?: GlobalsString | GlobalsString[], - "-ms-content-zoom-snap"?: MsContentZoomSnapProperty | MsContentZoomSnapProperty[], - "-ms-flex"?: FlexProperty | FlexProperty[], - "-ms-scroll-limit"?: GlobalsString | GlobalsString[], - "-ms-scroll-snap-x"?: GlobalsString | GlobalsString[], - "-ms-scroll-snap-y"?: GlobalsString | GlobalsString[], - "-o-border-image"?: BorderImageProperty | BorderImageProperty[], - "-webkit-animation"?: AnimationProperty | AnimationProperty[], - "-webkit-border-before"?: WebkitBorderBeforeProperty | WebkitBorderBeforeProperty[], - "-webkit-border-image"?: BorderImageProperty | BorderImageProperty[], - "-webkit-border-radius"?: BorderRadiusProperty | BorderRadiusProperty[], - "-webkit-column-rule"?: ColumnRuleProperty | ColumnRuleProperty[], - "-webkit-columns"?: ColumnsProperty | ColumnsProperty[], - "-webkit-flex"?: FlexProperty | FlexProperty[], - "-webkit-flex-flow"?: FlexFlowProperty | FlexFlowProperty[], - "-webkit-line-clamp"?: WebkitLineClampProperty | WebkitLineClampProperty[], - "-webkit-mask"?: WebkitMaskProperty | WebkitMaskProperty[], - "-webkit-text-emphasis"?: TextEmphasisProperty | TextEmphasisProperty[], - "-webkit-text-stroke"?: WebkitTextStrokeProperty | WebkitTextStrokeProperty[], - "-webkit-transition"?: TransitionProperty | TransitionProperty[], -}; - -export type VendorPropertiesHyphenFallback = VendorLonghandPropertiesHyphenFallback & VendorShorthandPropertiesHyphenFallback; - -export type ObsoletePropertiesHyphenFallback = { - "box-align"?: BoxAlignProperty | BoxAlignProperty[], - "box-direction"?: BoxDirectionProperty | BoxDirectionProperty[], - "box-flex"?: GlobalsNumber | GlobalsNumber[], - "box-flex-group"?: GlobalsNumber | GlobalsNumber[], - "box-lines"?: BoxLinesProperty | BoxLinesProperty[], - "box-ordinal-group"?: GlobalsNumber | GlobalsNumber[], - "box-orient"?: BoxOrientProperty | BoxOrientProperty[], - "box-pack"?: BoxPackProperty | BoxPackProperty[], - clip?: ClipProperty | ClipProperty[], - "font-variant-alternates"?: FontVariantAlternatesProperty | FontVariantAlternatesProperty[], - "grid-column-gap"?: GridColumnGapProperty | GridColumnGapProperty[], - "grid-gap"?: GridGapProperty | GridGapProperty[], - "grid-row-gap"?: GridRowGapProperty | GridRowGapProperty[], - "ime-mode"?: ImeModeProperty | ImeModeProperty[], - "offset-block-end"?: InsetBlockEndProperty | InsetBlockEndProperty[], - "offset-block-start"?: InsetBlockStartProperty | InsetBlockStartProperty[], - "offset-inline-end"?: InsetInlineEndProperty | InsetInlineEndProperty[], - "offset-inline-start"?: InsetInlineStartProperty | InsetInlineStartProperty[], - "scroll-snap-coordinate"?: ScrollSnapCoordinateProperty | ScrollSnapCoordinateProperty[], - "scroll-snap-destination"?: ScrollSnapDestinationProperty | ScrollSnapDestinationProperty[], - "scroll-snap-points-x"?: ScrollSnapPointsXProperty | ScrollSnapPointsXProperty[], - "scroll-snap-points-y"?: ScrollSnapPointsYProperty | ScrollSnapPointsYProperty[], - "scroll-snap-type-x"?: ScrollSnapTypeXProperty | ScrollSnapTypeXProperty[], - "scroll-snap-type-y"?: ScrollSnapTypeYProperty | ScrollSnapTypeYProperty[], - "text-combine-horizontal"?: TextCombineUprightProperty | TextCombineUprightProperty[], - "-khtml-box-align"?: BoxAlignProperty | BoxAlignProperty[], - "-khtml-box-direction"?: BoxDirectionProperty | BoxDirectionProperty[], - "-khtml-box-flex"?: GlobalsNumber | GlobalsNumber[], - "-khtml-box-flex-group"?: GlobalsNumber | GlobalsNumber[], - "-khtml-box-lines"?: BoxLinesProperty | BoxLinesProperty[], - "-khtml-box-ordinal-group"?: GlobalsNumber | GlobalsNumber[], - "-khtml-box-orient"?: BoxOrientProperty | BoxOrientProperty[], - "-khtml-box-pack"?: BoxPackProperty | BoxPackProperty[], - "-moz-background-clip"?: BackgroundClipProperty | BackgroundClipProperty[], - "-moz-background-inline-policy"?: BoxDecorationBreakProperty | BoxDecorationBreakProperty[], - "-moz-background-origin"?: BackgroundOriginProperty | BackgroundOriginProperty[], - "-moz-background-size"?: BackgroundSizeProperty | BackgroundSizeProperty[], - "-moz-binding"?: MozBindingProperty | MozBindingProperty[], - "-moz-border-radius"?: BorderRadiusProperty | BorderRadiusProperty[], - "-moz-border-radius-bottomleft"?: BorderBottomLeftRadiusProperty | BorderBottomLeftRadiusProperty[], - "-moz-border-radius-bottomright"?: BorderBottomRightRadiusProperty | BorderBottomRightRadiusProperty[], - "-moz-border-radius-topleft"?: BorderTopLeftRadiusProperty | BorderTopLeftRadiusProperty[], - "-moz-border-radius-topright"?: BorderTopRightRadiusProperty | BorderTopRightRadiusProperty[], - "-moz-box-align"?: BoxAlignProperty | BoxAlignProperty[], - "-moz-box-direction"?: BoxDirectionProperty | BoxDirectionProperty[], - "-moz-box-flex"?: GlobalsNumber | GlobalsNumber[], - "-moz-box-ordinal-group"?: GlobalsNumber | GlobalsNumber[], - "-moz-box-orient"?: BoxOrientProperty | BoxOrientProperty[], - "-moz-box-pack"?: BoxPackProperty | BoxPackProperty[], - "-moz-box-shadow"?: BoxShadowProperty | BoxShadowProperty[], - "-moz-opacity"?: GlobalsNumber | GlobalsNumber[], - "-moz-outline"?: OutlineProperty | OutlineProperty[], - "-moz-outline-color"?: OutlineColorProperty | OutlineColorProperty[], - "-moz-outline-radius"?: MozOutlineRadiusProperty | MozOutlineRadiusProperty[], - "-moz-outline-style"?: OutlineStyleProperty | OutlineStyleProperty[], - "-moz-outline-width"?: OutlineWidthProperty | OutlineWidthProperty[], - "-moz-resize"?: ResizeProperty | ResizeProperty[], - "-moz-text-align-last"?: TextAlignLastProperty | TextAlignLastProperty[], - "-moz-text-blink"?: MozTextBlinkProperty | MozTextBlinkProperty[], - "-moz-text-decoration-color"?: TextDecorationColorProperty | TextDecorationColorProperty[], - "-moz-text-decoration-line"?: TextDecorationLineProperty | TextDecorationLineProperty[], - "-moz-text-decoration-style"?: TextDecorationStyleProperty | TextDecorationStyleProperty[], - "-moz-user-input"?: MozUserInputProperty | MozUserInputProperty[], - "-ms-ime-mode"?: ImeModeProperty | ImeModeProperty[], - "-ms-scrollbar-3dlight-color"?: MsScrollbar3dlightColorProperty | MsScrollbar3dlightColorProperty[], - "-ms-scrollbar-arrow-color"?: MsScrollbarArrowColorProperty | MsScrollbarArrowColorProperty[], - "-ms-scrollbar-base-color"?: MsScrollbarBaseColorProperty | MsScrollbarBaseColorProperty[], - "-ms-scrollbar-darkshadow-color"?: MsScrollbarDarkshadowColorProperty | MsScrollbarDarkshadowColorProperty[], - "-ms-scrollbar-face-color"?: MsScrollbarFaceColorProperty | MsScrollbarFaceColorProperty[], - "-ms-scrollbar-highlight-color"?: MsScrollbarHighlightColorProperty | MsScrollbarHighlightColorProperty[], - "-ms-scrollbar-shadow-color"?: MsScrollbarShadowColorProperty | MsScrollbarShadowColorProperty[], - "-ms-scrollbar-track-color"?: MsScrollbarTrackColorProperty | MsScrollbarTrackColorProperty[], - "-o-animation"?: AnimationProperty | AnimationProperty[], - "-o-animation-delay"?: GlobalsString | GlobalsString[], - "-o-animation-direction"?: AnimationDirectionProperty | AnimationDirectionProperty[], - "-o-animation-duration"?: GlobalsString | GlobalsString[], - "-o-animation-fill-mode"?: AnimationFillModeProperty | AnimationFillModeProperty[], - "-o-animation-iteration-count"?: AnimationIterationCountProperty | AnimationIterationCountProperty[], - "-o-animation-name"?: AnimationNameProperty | AnimationNameProperty[], - "-o-animation-play-state"?: AnimationPlayStateProperty | AnimationPlayStateProperty[], - "-o-animation-timing-function"?: AnimationTimingFunctionProperty | AnimationTimingFunctionProperty[], - "-o-background-size"?: BackgroundSizeProperty | BackgroundSizeProperty[], - "-o-transform"?: TransformProperty | TransformProperty[], - "-o-transition"?: TransitionProperty | TransitionProperty[], - "-o-transition-delay"?: GlobalsString | GlobalsString[], - "-o-transition-duration"?: GlobalsString | GlobalsString[], - "-o-transition-property"?: TransitionPropertyProperty | TransitionPropertyProperty[], - "-o-transition-timing-function"?: TransitionTimingFunctionProperty | TransitionTimingFunctionProperty[], - "-webkit-box-align"?: BoxAlignProperty | BoxAlignProperty[], - "-webkit-box-direction"?: BoxDirectionProperty | BoxDirectionProperty[], - "-webkit-box-flex"?: GlobalsNumber | GlobalsNumber[], - "-webkit-box-flex-group"?: GlobalsNumber | GlobalsNumber[], - "-webkit-box-lines"?: BoxLinesProperty | BoxLinesProperty[], - "-webkit-box-ordinal-group"?: GlobalsNumber | GlobalsNumber[], - "-webkit-box-orient"?: BoxOrientProperty | BoxOrientProperty[], - "-webkit-box-pack"?: BoxPackProperty | BoxPackProperty[], - "-webkit-scroll-snap-points-x"?: ScrollSnapPointsXProperty | ScrollSnapPointsXProperty[], - "-webkit-scroll-snap-points-y"?: ScrollSnapPointsYProperty | ScrollSnapPointsYProperty[], -}; - -export type SvgPropertiesHyphenFallback = { - "alignment-baseline"?: AlignmentBaselineProperty | AlignmentBaselineProperty[], - "baseline-shift"?: BaselineShiftProperty | BaselineShiftProperty[], - clip?: ClipProperty | ClipProperty[], - "clip-path"?: ClipPathProperty | ClipPathProperty[], - "clip-rule"?: ClipRuleProperty | ClipRuleProperty[], - color?: ColorProperty | ColorProperty[], - "color-interpolation"?: ColorInterpolationProperty | ColorInterpolationProperty[], - "color-rendering"?: ColorRenderingProperty | ColorRenderingProperty[], - cursor?: CursorProperty | CursorProperty[], - direction?: DirectionProperty | DirectionProperty[], - display?: DisplayProperty | DisplayProperty[], - "dominant-baseline"?: DominantBaselineProperty | DominantBaselineProperty[], - fill?: FillProperty | FillProperty[], - "fill-opacity"?: GlobalsNumber | GlobalsNumber[], - "fill-rule"?: FillRuleProperty | FillRuleProperty[], - filter?: FilterProperty | FilterProperty[], - "flood-color"?: FloodColorProperty | FloodColorProperty[], - "flood-opacity"?: GlobalsNumber | GlobalsNumber[], - font?: FontProperty | FontProperty[], - "font-family"?: FontFamilyProperty | FontFamilyProperty[], - "font-size"?: FontSizeProperty | FontSizeProperty[], - "font-size-adjust"?: FontSizeAdjustProperty | FontSizeAdjustProperty[], - "font-stretch"?: FontStretchProperty | FontStretchProperty[], - "font-style"?: FontStyleProperty | FontStyleProperty[], - "font-variant"?: FontVariantProperty | FontVariantProperty[], - "font-weight"?: FontWeightProperty | FontWeightProperty[], - "glyph-orientation-vertical"?: GlyphOrientationVerticalProperty | GlyphOrientationVerticalProperty[], - "image-rendering"?: ImageRenderingProperty | ImageRenderingProperty[], - "letter-spacing"?: LetterSpacingProperty | LetterSpacingProperty[], - "lighting-color"?: LightingColorProperty | LightingColorProperty[], - "line-height"?: LineHeightProperty | LineHeightProperty[], - marker?: MarkerProperty | MarkerProperty[], - "marker-end"?: MarkerEndProperty | MarkerEndProperty[], - "marker-mid"?: MarkerMidProperty | MarkerMidProperty[], - "marker-start"?: MarkerStartProperty | MarkerStartProperty[], - mask?: MaskProperty | MaskProperty[], - opacity?: GlobalsNumber | GlobalsNumber[], - overflow?: OverflowProperty | OverflowProperty[], - "paint-order"?: PaintOrderProperty | PaintOrderProperty[], - "pointer-events"?: PointerEventsProperty | PointerEventsProperty[], - "shape-rendering"?: ShapeRenderingProperty | ShapeRenderingProperty[], - "stop-color"?: StopColorProperty | StopColorProperty[], - "stop-opacity"?: GlobalsNumber | GlobalsNumber[], - stroke?: StrokeProperty | StrokeProperty[], - "stroke-dasharray"?: StrokeDasharrayProperty | StrokeDasharrayProperty[], - "stroke-dashoffset"?: StrokeDashoffsetProperty | StrokeDashoffsetProperty[], - "stroke-linecap"?: StrokeLinecapProperty | StrokeLinecapProperty[], - "stroke-linejoin"?: StrokeLinejoinProperty | StrokeLinejoinProperty[], - "stroke-miterlimit"?: GlobalsNumber | GlobalsNumber[], - "stroke-opacity"?: GlobalsNumber | GlobalsNumber[], - "stroke-width"?: StrokeWidthProperty | StrokeWidthProperty[], - "text-anchor"?: TextAnchorProperty | TextAnchorProperty[], - "text-decoration"?: TextDecorationProperty | TextDecorationProperty[], - "text-rendering"?: TextRenderingProperty | TextRenderingProperty[], - "unicode-bidi"?: UnicodeBidiProperty | UnicodeBidiProperty[], - "vector-effect"?: VectorEffectProperty | VectorEffectProperty[], - visibility?: VisibilityProperty | VisibilityProperty[], - "white-space"?: WhiteSpaceProperty | WhiteSpaceProperty[], - "word-spacing"?: WordSpacingProperty | WordSpacingProperty[], - "writing-mode"?: WritingModeProperty | WritingModeProperty[], -}; - -export type PropertiesHyphenFallback = StandardPropertiesHyphenFallback & - VendorPropertiesHyphenFallback & - ObsoletePropertiesHyphenFallback & - SvgPropertiesHyphenFallback; - -export type CounterStyle = { +|}; + +export type PropertiesHyphen = {| + ...StandardPropertiesHyphen, + ...VendorPropertiesHyphen, + ...ObsoletePropertiesHyphen, + ...SvgPropertiesHyphen, +|}; + +export type StandardLonghandPropertiesFallback = {| + alignContent?: FallbackableAlignContentProperty, + alignItems?: FallbackableAlignItemsProperty, + alignSelf?: FallbackableAlignSelfProperty, + animationDelay?: FallbackableGlobalsString, + animationDirection?: FallbackableAnimationDirectionProperty, + animationDuration?: FallbackableGlobalsString, + animationFillMode?: FallbackableAnimationFillModeProperty, + animationIterationCount?: FallbackableAnimationIterationCountProperty, + animationName?: FallbackableAnimationNameProperty, + animationPlayState?: FallbackableAnimationPlayStateProperty, + animationTimingFunction?: FallbackableAnimationTimingFunctionProperty, + appearance?: FallbackableAppearanceProperty, + backdropFilter?: FallbackableBackdropFilterProperty, + backfaceVisibility?: FallbackableBackfaceVisibilityProperty, + backgroundAttachment?: FallbackableBackgroundAttachmentProperty, + backgroundBlendMode?: FallbackableBackgroundBlendModeProperty, + backgroundClip?: FallbackableBackgroundClipProperty, + backgroundColor?: FallbackableBackgroundColorProperty, + backgroundImage?: FallbackableBackgroundImageProperty, + backgroundOrigin?: FallbackableBackgroundOriginProperty, + backgroundPosition?: FallbackableBackgroundPositionProperty, + backgroundPositionX?: FallbackableBackgroundPositionXProperty, + backgroundPositionY?: FallbackableBackgroundPositionYProperty, + backgroundRepeat?: FallbackableBackgroundRepeatProperty, + backgroundSize?: FallbackableBackgroundSizeProperty, + blockOverflow?: FallbackableBlockOverflowProperty, + blockSize?: FallbackableBlockSizeProperty, + borderBlockColor?: FallbackableBorderBlockColorProperty, + borderBlockEndColor?: FallbackableBorderBlockEndColorProperty, + borderBlockEndStyle?: FallbackableBorderBlockEndStyleProperty, + borderBlockEndWidth?: FallbackableBorderBlockEndWidthProperty, + borderBlockStartColor?: FallbackableBorderBlockStartColorProperty, + borderBlockStartStyle?: FallbackableBorderBlockStartStyleProperty, + borderBlockStartWidth?: FallbackableBorderBlockStartWidthProperty, + borderBlockStyle?: FallbackableBorderBlockStyleProperty, + borderBlockWidth?: FallbackableBorderBlockWidthProperty, + borderBottomColor?: FallbackableBorderBottomColorProperty, + borderBottomLeftRadius?: FallbackableBorderBottomLeftRadiusProperty, + borderBottomRightRadius?: FallbackableBorderBottomRightRadiusProperty, + borderBottomStyle?: FallbackableBorderBottomStyleProperty, + borderBottomWidth?: FallbackableBorderBottomWidthProperty, + borderCollapse?: FallbackableBorderCollapseProperty, + borderEndEndRadius?: FallbackableBorderEndEndRadiusProperty, + borderEndStartRadius?: FallbackableBorderEndStartRadiusProperty, + borderImageOutset?: FallbackableBorderImageOutsetProperty, + borderImageRepeat?: FallbackableBorderImageRepeatProperty, + borderImageSlice?: FallbackableBorderImageSliceProperty, + borderImageSource?: FallbackableBorderImageSourceProperty, + borderImageWidth?: FallbackableBorderImageWidthProperty, + borderInlineColor?: FallbackableBorderInlineColorProperty, + borderInlineEndColor?: FallbackableBorderInlineEndColorProperty, + borderInlineEndStyle?: FallbackableBorderInlineEndStyleProperty, + borderInlineEndWidth?: FallbackableBorderInlineEndWidthProperty, + borderInlineStartColor?: FallbackableBorderInlineStartColorProperty, + borderInlineStartStyle?: FallbackableBorderInlineStartStyleProperty, + borderInlineStartWidth?: FallbackableBorderInlineStartWidthProperty, + borderInlineStyle?: FallbackableBorderInlineStyleProperty, + borderInlineWidth?: FallbackableBorderInlineWidthProperty, + borderLeftColor?: FallbackableBorderLeftColorProperty, + borderLeftStyle?: FallbackableBorderLeftStyleProperty, + borderLeftWidth?: FallbackableBorderLeftWidthProperty, + borderRightColor?: FallbackableBorderRightColorProperty, + borderRightStyle?: FallbackableBorderRightStyleProperty, + borderRightWidth?: FallbackableBorderRightWidthProperty, + borderSpacing?: FallbackableBorderSpacingProperty, + borderStartEndRadius?: FallbackableBorderStartEndRadiusProperty, + borderStartStartRadius?: FallbackableBorderStartStartRadiusProperty, + borderTopColor?: FallbackableBorderTopColorProperty, + borderTopLeftRadius?: FallbackableBorderTopLeftRadiusProperty, + borderTopRightRadius?: FallbackableBorderTopRightRadiusProperty, + borderTopStyle?: FallbackableBorderTopStyleProperty, + borderTopWidth?: FallbackableBorderTopWidthProperty, + bottom?: FallbackableBottomProperty, + boxDecorationBreak?: FallbackableBoxDecorationBreakProperty, + boxShadow?: FallbackableBoxShadowProperty, + boxSizing?: FallbackableBoxSizingProperty, + breakAfter?: FallbackableBreakAfterProperty, + breakBefore?: FallbackableBreakBeforeProperty, + breakInside?: FallbackableBreakInsideProperty, + captionSide?: FallbackableCaptionSideProperty, + caretColor?: FallbackableCaretColorProperty, + clear?: FallbackableClearProperty, + clipPath?: FallbackableClipPathProperty, + color?: FallbackableColorProperty, + colorAdjust?: FallbackableColorAdjustProperty, + columnCount?: FallbackableColumnCountProperty, + columnFill?: FallbackableColumnFillProperty, + columnGap?: FallbackableColumnGapProperty, + columnRuleColor?: FallbackableColumnRuleColorProperty, + columnRuleStyle?: FallbackableColumnRuleStyleProperty, + columnRuleWidth?: FallbackableColumnRuleWidthProperty, + columnSpan?: FallbackableColumnSpanProperty, + columnWidth?: FallbackableColumnWidthProperty, + contain?: FallbackableContainProperty, + content?: FallbackableContentProperty, + counterIncrement?: FallbackableCounterIncrementProperty, + counterReset?: FallbackableCounterResetProperty, + cursor?: FallbackableCursorProperty, + direction?: FallbackableDirectionProperty, + display?: FallbackableDisplayProperty, + emptyCells?: FallbackableEmptyCellsProperty, + filter?: FallbackableFilterProperty, + flexBasis?: FallbackableFlexBasisProperty, + flexDirection?: FallbackableFlexDirectionProperty, + flexGrow?: FallbackableGlobalsNumber, + flexShrink?: FallbackableGlobalsNumber, + flexWrap?: FallbackableFlexWrapProperty, + float?: FallbackableFloatProperty, + fontFamily?: FallbackableFontFamilyProperty, + fontFeatureSettings?: FallbackableFontFeatureSettingsProperty, + fontKerning?: FallbackableFontKerningProperty, + fontLanguageOverride?: FallbackableFontLanguageOverrideProperty, + fontOpticalSizing?: FallbackableFontOpticalSizingProperty, + fontSize?: FallbackableFontSizeProperty, + fontSizeAdjust?: FallbackableFontSizeAdjustProperty, + fontStretch?: FallbackableFontStretchProperty, + fontStyle?: FallbackableFontStyleProperty, + fontSynthesis?: FallbackableFontSynthesisProperty, + fontVariant?: FallbackableFontVariantProperty, + fontVariantCaps?: FallbackableFontVariantCapsProperty, + fontVariantEastAsian?: FallbackableFontVariantEastAsianProperty, + fontVariantLigatures?: FallbackableFontVariantLigaturesProperty, + fontVariantNumeric?: FallbackableFontVariantNumericProperty, + fontVariantPosition?: FallbackableFontVariantPositionProperty, + fontVariationSettings?: FallbackableFontVariationSettingsProperty, + fontWeight?: FallbackableFontWeightProperty, + gridAutoColumns?: FallbackableGridAutoColumnsProperty, + gridAutoFlow?: FallbackableGridAutoFlowProperty, + gridAutoRows?: FallbackableGridAutoRowsProperty, + gridColumnEnd?: FallbackableGridColumnEndProperty, + gridColumnStart?: FallbackableGridColumnStartProperty, + gridRowEnd?: FallbackableGridRowEndProperty, + gridRowStart?: FallbackableGridRowStartProperty, + gridTemplateAreas?: FallbackableGridTemplateAreasProperty, + gridTemplateColumns?: FallbackableGridTemplateColumnsProperty, + gridTemplateRows?: FallbackableGridTemplateRowsProperty, + hangingPunctuation?: FallbackableHangingPunctuationProperty, + height?: FallbackableHeightProperty, + hyphens?: FallbackableHyphensProperty, + imageOrientation?: FallbackableImageOrientationProperty, + imageRendering?: FallbackableImageRenderingProperty, + imageResolution?: FallbackableImageResolutionProperty, + initialLetter?: FallbackableInitialLetterProperty, + inlineSize?: FallbackableInlineSizeProperty, + insetBlockEnd?: FallbackableInsetBlockEndProperty, + insetBlockStart?: FallbackableInsetBlockStartProperty, + insetInlineEnd?: FallbackableInsetInlineEndProperty, + insetInlineStart?: FallbackableInsetInlineStartProperty, + isolation?: FallbackableIsolationProperty, + justifyContent?: FallbackableJustifyContentProperty, + justifyItems?: FallbackableJustifyItemsProperty, + justifySelf?: FallbackableJustifySelfProperty, + left?: FallbackableLeftProperty, + letterSpacing?: FallbackableLetterSpacingProperty, + lineBreak?: FallbackableLineBreakProperty, + lineHeight?: FallbackableLineHeightProperty, + lineHeightStep?: FallbackableLineHeightStepProperty, + listStyleImage?: FallbackableListStyleImageProperty, + listStylePosition?: FallbackableListStylePositionProperty, + listStyleType?: FallbackableListStyleTypeProperty, + marginBlock?: FallbackableMarginBlockProperty, + marginBlockEnd?: FallbackableMarginBlockEndProperty, + marginBlockStart?: FallbackableMarginBlockStartProperty, + marginBottom?: FallbackableMarginBottomProperty, + marginInline?: FallbackableMarginInlineProperty, + marginInlineEnd?: FallbackableMarginInlineEndProperty, + marginInlineStart?: FallbackableMarginInlineStartProperty, + marginLeft?: FallbackableMarginLeftProperty, + marginRight?: FallbackableMarginRightProperty, + marginTop?: FallbackableMarginTopProperty, + maskBorderMode?: FallbackableMaskBorderModeProperty, + maskBorderOutset?: FallbackableMaskBorderOutsetProperty, + maskBorderRepeat?: FallbackableMaskBorderRepeatProperty, + maskBorderSlice?: FallbackableMaskBorderSliceProperty, + maskBorderSource?: FallbackableMaskBorderSourceProperty, + maskBorderWidth?: FallbackableMaskBorderWidthProperty, + maskClip?: FallbackableMaskClipProperty, + maskComposite?: FallbackableMaskCompositeProperty, + maskImage?: FallbackableMaskImageProperty, + maskMode?: FallbackableMaskModeProperty, + maskOrigin?: FallbackableMaskOriginProperty, + maskPosition?: FallbackableMaskPositionProperty, + maskRepeat?: FallbackableMaskRepeatProperty, + maskSize?: FallbackableMaskSizeProperty, + maskType?: FallbackableMaskTypeProperty, + maxBlockSize?: FallbackableMaxBlockSizeProperty, + maxHeight?: FallbackableMaxHeightProperty, + maxInlineSize?: FallbackableMaxInlineSizeProperty, + maxLines?: FallbackableMaxLinesProperty, + maxWidth?: FallbackableMaxWidthProperty, + minBlockSize?: FallbackableMinBlockSizeProperty, + minHeight?: FallbackableMinHeightProperty, + minInlineSize?: FallbackableMinInlineSizeProperty, + minWidth?: FallbackableMinWidthProperty, + mixBlendMode?: FallbackableMixBlendModeProperty, + motionDistance?: FallbackableOffsetDistanceProperty, + motionPath?: FallbackableOffsetPathProperty, + motionRotation?: FallbackableOffsetRotateProperty, + objectFit?: FallbackableObjectFitProperty, + objectPosition?: FallbackableObjectPositionProperty, + offsetAnchor?: FallbackableOffsetAnchorProperty, + offsetDistance?: FallbackableOffsetDistanceProperty, + offsetPath?: FallbackableOffsetPathProperty, + offsetPosition?: FallbackableOffsetPositionProperty, + offsetRotate?: FallbackableOffsetRotateProperty, + offsetRotation?: FallbackableOffsetRotateProperty, + opacity?: FallbackableGlobalsNumber, + order?: FallbackableGlobalsNumber, + orphans?: FallbackableGlobalsNumber, + outlineColor?: FallbackableOutlineColorProperty, + outlineOffset?: FallbackableOutlineOffsetProperty, + outlineStyle?: FallbackableOutlineStyleProperty, + outlineWidth?: FallbackableOutlineWidthProperty, + overflow?: FallbackableOverflowProperty, + overflowAnchor?: FallbackableOverflowAnchorProperty, + overflowBlock?: FallbackableOverflowBlockProperty, + overflowClipBox?: FallbackableOverflowClipBoxProperty, + overflowInline?: FallbackableOverflowInlineProperty, + overflowWrap?: FallbackableOverflowWrapProperty, + overflowX?: FallbackableOverflowXProperty, + overflowY?: FallbackableOverflowYProperty, + overscrollBehavior?: FallbackableOverscrollBehaviorProperty, + overscrollBehaviorX?: FallbackableOverscrollBehaviorXProperty, + overscrollBehaviorY?: FallbackableOverscrollBehaviorYProperty, + paddingBlock?: FallbackablePaddingBlockProperty, + paddingBlockEnd?: FallbackablePaddingBlockEndProperty, + paddingBlockStart?: FallbackablePaddingBlockStartProperty, + paddingBottom?: FallbackablePaddingBottomProperty, + paddingInline?: FallbackablePaddingInlineProperty, + paddingInlineEnd?: FallbackablePaddingInlineEndProperty, + paddingInlineStart?: FallbackablePaddingInlineStartProperty, + paddingLeft?: FallbackablePaddingLeftProperty, + paddingRight?: FallbackablePaddingRightProperty, + paddingTop?: FallbackablePaddingTopProperty, + pageBreakAfter?: FallbackablePageBreakAfterProperty, + pageBreakBefore?: FallbackablePageBreakBeforeProperty, + pageBreakInside?: FallbackablePageBreakInsideProperty, + paintOrder?: FallbackablePaintOrderProperty, + perspective?: FallbackablePerspectiveProperty, + perspectiveOrigin?: FallbackablePerspectiveOriginProperty, + placeContent?: FallbackablePlaceContentProperty, + pointerEvents?: FallbackablePointerEventsProperty, + position?: FallbackablePositionProperty, + quotes?: FallbackableQuotesProperty, + resize?: FallbackableResizeProperty, + right?: FallbackableRightProperty, + rotate?: FallbackableRotateProperty, + rowGap?: FallbackableRowGapProperty, + rubyAlign?: FallbackableRubyAlignProperty, + rubyMerge?: FallbackableRubyMergeProperty, + rubyPosition?: FallbackableRubyPositionProperty, + scale?: FallbackableScaleProperty, + scrollBehavior?: FallbackableScrollBehaviorProperty, + scrollMargin?: FallbackableScrollMarginProperty, + scrollMarginBlock?: FallbackableScrollMarginBlockProperty, + scrollMarginBlockEnd?: FallbackableScrollMarginBlockEndProperty, + scrollMarginBlockStart?: FallbackableScrollMarginBlockStartProperty, + scrollMarginBottom?: FallbackableScrollMarginBottomProperty, + scrollMarginInlineEnd?: FallbackableScrollMarginInlineEndProperty, + scrollMarginInlineStart?: FallbackableScrollMarginInlineStartProperty, + scrollMarginLeft?: FallbackableScrollMarginLeftProperty, + scrollMarginRight?: FallbackableScrollMarginRightProperty, + scrollMarginTop?: FallbackableScrollMarginTopProperty, + scrollPadding?: FallbackableScrollPaddingProperty, + scrollPaddingBlock?: FallbackableScrollPaddingBlockProperty, + scrollPaddingBlockEnd?: FallbackableScrollPaddingBlockEndProperty, + scrollPaddingBlockStart?: FallbackableScrollPaddingBlockStartProperty, + scrollPaddingBottom?: FallbackableScrollPaddingBottomProperty, + scrollPaddingInline?: FallbackableScrollPaddingInlineProperty, + scrollPaddingInlineEnd?: FallbackableScrollPaddingInlineEndProperty, + scrollPaddingInlineStart?: FallbackableScrollPaddingInlineStartProperty, + scrollPaddingLeft?: FallbackableScrollPaddingLeftProperty, + scrollPaddingRight?: FallbackableScrollPaddingRightProperty, + scrollPaddingTop?: FallbackableScrollPaddingTopProperty, + scrollSnapAlign?: FallbackableScrollSnapAlignProperty, + scrollSnapType?: FallbackableScrollSnapTypeProperty, + scrollbarColor?: FallbackableScrollbarColorProperty, + scrollbarWidth?: FallbackableScrollbarWidthProperty, + shapeImageThreshold?: FallbackableGlobalsNumber, + shapeMargin?: FallbackableShapeMarginProperty, + shapeOutside?: FallbackableShapeOutsideProperty, + tabSize?: FallbackableTabSizeProperty, + tableLayout?: FallbackableTableLayoutProperty, + textAlign?: FallbackableTextAlignProperty, + textAlignLast?: FallbackableTextAlignLastProperty, + textCombineUpright?: FallbackableTextCombineUprightProperty, + textDecorationColor?: FallbackableTextDecorationColorProperty, + textDecorationLine?: FallbackableTextDecorationLineProperty, + textDecorationSkip?: FallbackableTextDecorationSkipProperty, + textDecorationSkipInk?: FallbackableTextDecorationSkipInkProperty, + textDecorationStyle?: FallbackableTextDecorationStyleProperty, + textEmphasisColor?: FallbackableTextEmphasisColorProperty, + textEmphasisPosition?: FallbackableGlobalsString, + textEmphasisStyle?: FallbackableTextEmphasisStyleProperty, + textIndent?: FallbackableTextIndentProperty, + textJustify?: FallbackableTextJustifyProperty, + textOrientation?: FallbackableTextOrientationProperty, + textOverflow?: FallbackableTextOverflowProperty, + textRendering?: FallbackableTextRenderingProperty, + textShadow?: FallbackableTextShadowProperty, + textSizeAdjust?: FallbackableTextSizeAdjustProperty, + textTransform?: FallbackableTextTransformProperty, + textUnderlinePosition?: FallbackableTextUnderlinePositionProperty, + top?: FallbackableTopProperty, + touchAction?: FallbackableTouchActionProperty, + transform?: FallbackableTransformProperty, + transformBox?: FallbackableTransformBoxProperty, + transformOrigin?: FallbackableTransformOriginProperty, + transformStyle?: FallbackableTransformStyleProperty, + transitionDelay?: FallbackableGlobalsString, + transitionDuration?: FallbackableGlobalsString, + transitionProperty?: FallbackableTransitionPropertyProperty, + transitionTimingFunction?: FallbackableTransitionTimingFunctionProperty, + translate?: FallbackableTranslateProperty, + unicodeBidi?: FallbackableUnicodeBidiProperty, + userSelect?: FallbackableUserSelectProperty, + verticalAlign?: FallbackableVerticalAlignProperty, + visibility?: FallbackableVisibilityProperty, + whiteSpace?: FallbackableWhiteSpaceProperty, + widows?: FallbackableGlobalsNumber, + width?: FallbackableWidthProperty, + willChange?: FallbackableWillChangeProperty, + wordBreak?: FallbackableWordBreakProperty, + wordSpacing?: FallbackableWordSpacingProperty, + wordWrap?: FallbackableWordWrapProperty, + writingMode?: FallbackableWritingModeProperty, + zIndex?: FallbackableZIndexProperty, + zoom?: FallbackableZoomProperty, +|}; + +export type StandardShorthandPropertiesFallback = {| + all?: FallbackableGlobals, + animation?: FallbackableAnimationProperty, + background?: FallbackableBackgroundProperty, + border?: FallbackableBorderProperty, + borderBlock?: FallbackableBorderBlockProperty, + borderBlockEnd?: FallbackableBorderBlockEndProperty, + borderBlockStart?: FallbackableBorderBlockStartProperty, + borderBottom?: FallbackableBorderBottomProperty, + borderColor?: FallbackableBorderColorProperty, + borderImage?: FallbackableBorderImageProperty, + borderInline?: FallbackableBorderInlineProperty, + borderInlineEnd?: FallbackableBorderInlineEndProperty, + borderInlineStart?: FallbackableBorderInlineStartProperty, + borderLeft?: FallbackableBorderLeftProperty, + borderRadius?: FallbackableBorderRadiusProperty, + borderRight?: FallbackableBorderRightProperty, + borderStyle?: FallbackableBorderStyleProperty, + borderTop?: FallbackableBorderTopProperty, + borderWidth?: FallbackableBorderWidthProperty, + columnRule?: FallbackableColumnRuleProperty, + columns?: FallbackableColumnsProperty, + flex?: FallbackableFlexProperty, + flexFlow?: FallbackableFlexFlowProperty, + font?: FallbackableFontProperty, + gap?: FallbackableGapProperty, + grid?: FallbackableGridProperty, + gridArea?: FallbackableGridAreaProperty, + gridColumn?: FallbackableGridColumnProperty, + gridRow?: FallbackableGridRowProperty, + gridTemplate?: FallbackableGridTemplateProperty, + lineClamp?: FallbackableLineClampProperty, + listStyle?: FallbackableListStyleProperty, + margin?: FallbackableMarginProperty, + mask?: FallbackableMaskProperty, + maskBorder?: FallbackableMaskBorderProperty, + motion?: FallbackableOffsetProperty, + offset?: FallbackableOffsetProperty, + outline?: FallbackableOutlineProperty, + padding?: FallbackablePaddingProperty, + placeItems?: FallbackablePlaceItemsProperty, + placeSelf?: FallbackablePlaceSelfProperty, + textDecoration?: FallbackableTextDecorationProperty, + textEmphasis?: FallbackableTextEmphasisProperty, + transition?: FallbackableTransitionProperty, +|}; + +export type StandardPropertiesFallback = {| ...StandardLonghandPropertiesFallback, ...StandardShorthandPropertiesFallback |}; + +export type VendorLonghandPropertiesFallback = {| + MozAnimationDelay?: FallbackableGlobalsString, + MozAnimationDirection?: FallbackableAnimationDirectionProperty, + MozAnimationDuration?: FallbackableGlobalsString, + MozAnimationFillMode?: FallbackableAnimationFillModeProperty, + MozAnimationIterationCount?: FallbackableAnimationIterationCountProperty, + MozAnimationName?: FallbackableAnimationNameProperty, + MozAnimationPlayState?: FallbackableAnimationPlayStateProperty, + MozAnimationTimingFunction?: FallbackableAnimationTimingFunctionProperty, + MozAppearance?: FallbackableMozAppearanceProperty, + MozBackfaceVisibility?: FallbackableBackfaceVisibilityProperty, + MozBorderBottomColors?: FallbackableMozBorderBottomColorsProperty, + MozBorderEndColor?: FallbackableBorderInlineEndColorProperty, + MozBorderEndStyle?: FallbackableBorderInlineEndStyleProperty, + MozBorderEndWidth?: FallbackableBorderInlineEndWidthProperty, + MozBorderLeftColors?: FallbackableMozBorderLeftColorsProperty, + MozBorderRightColors?: FallbackableMozBorderRightColorsProperty, + MozBorderStartColor?: FallbackableBorderInlineStartColorProperty, + MozBorderStartStyle?: FallbackableBorderInlineStartStyleProperty, + MozBorderTopColors?: FallbackableMozBorderTopColorsProperty, + MozBoxSizing?: FallbackableBoxSizingProperty, + MozColumnCount?: FallbackableColumnCountProperty, + MozColumnFill?: FallbackableColumnFillProperty, + MozColumnGap?: FallbackableColumnGapProperty, + MozColumnRuleColor?: FallbackableColumnRuleColorProperty, + MozColumnRuleStyle?: FallbackableColumnRuleStyleProperty, + MozColumnRuleWidth?: FallbackableColumnRuleWidthProperty, + MozColumnWidth?: FallbackableColumnWidthProperty, + MozContextProperties?: FallbackableMozContextPropertiesProperty, + MozFloatEdge?: FallbackableMozFloatEdgeProperty, + MozFontFeatureSettings?: FallbackableFontFeatureSettingsProperty, + MozFontLanguageOverride?: FallbackableFontLanguageOverrideProperty, + MozForceBrokenImageIcon?: FallbackableGlobalsNumber, + MozHyphens?: FallbackableHyphensProperty, + MozImageRegion?: FallbackableMozImageRegionProperty, + MozMarginEnd?: FallbackableMarginInlineEndProperty, + MozMarginStart?: FallbackableMarginInlineStartProperty, + MozOrient?: FallbackableMozOrientProperty, + MozOutlineRadiusBottomleft?: FallbackableMozOutlineRadiusBottomleftProperty, + MozOutlineRadiusBottomright?: FallbackableMozOutlineRadiusBottomrightProperty, + MozOutlineRadiusTopleft?: FallbackableMozOutlineRadiusTopleftProperty, + MozOutlineRadiusTopright?: FallbackableMozOutlineRadiusToprightProperty, + MozPaddingEnd?: FallbackablePaddingInlineEndProperty, + MozPaddingStart?: FallbackablePaddingInlineStartProperty, + MozPerspective?: FallbackablePerspectiveProperty, + MozPerspectiveOrigin?: FallbackablePerspectiveOriginProperty, + MozStackSizing?: FallbackableMozStackSizingProperty, + MozTabSize?: FallbackableTabSizeProperty, + MozTextSizeAdjust?: FallbackableTextSizeAdjustProperty, + MozTransformOrigin?: FallbackableTransformOriginProperty, + MozTransformStyle?: FallbackableTransformStyleProperty, + MozTransitionDelay?: FallbackableGlobalsString, + MozTransitionDuration?: FallbackableGlobalsString, + MozTransitionProperty?: FallbackableTransitionPropertyProperty, + MozTransitionTimingFunction?: FallbackableTransitionTimingFunctionProperty, + MozUserFocus?: FallbackableMozUserFocusProperty, + MozUserModify?: FallbackableMozUserModifyProperty, + MozUserSelect?: FallbackableUserSelectProperty, + MozWindowDragging?: FallbackableMozWindowDraggingProperty, + MozWindowShadow?: FallbackableMozWindowShadowProperty, + msAccelerator?: FallbackableMsAcceleratorProperty, + msAlignSelf?: FallbackableAlignSelfProperty, + msBlockProgression?: FallbackableMsBlockProgressionProperty, + msContentZoomChaining?: FallbackableMsContentZoomChainingProperty, + msContentZoomLimitMax?: FallbackableGlobalsString, + msContentZoomLimitMin?: FallbackableGlobalsString, + msContentZoomSnapPoints?: FallbackableGlobalsString, + msContentZoomSnapType?: FallbackableMsContentZoomSnapTypeProperty, + msContentZooming?: FallbackableMsContentZoomingProperty, + msFilter?: FallbackableGlobalsString, + msFlexDirection?: FallbackableFlexDirectionProperty, + msFlexPositive?: FallbackableGlobalsNumber, + msFlowFrom?: FallbackableMsFlowFromProperty, + msFlowInto?: FallbackableMsFlowIntoProperty, + msGridColumns?: FallbackableGridAutoColumnsProperty, + msGridRows?: FallbackableGridAutoRowsProperty, + msHighContrastAdjust?: FallbackableMsHighContrastAdjustProperty, + msHyphenateLimitChars?: FallbackableMsHyphenateLimitCharsProperty, + msHyphenateLimitLines?: FallbackableMsHyphenateLimitLinesProperty, + msHyphenateLimitZone?: FallbackableMsHyphenateLimitZoneProperty, + msHyphens?: FallbackableHyphensProperty, + msImeAlign?: FallbackableMsImeAlignProperty, + msLineBreak?: FallbackableLineBreakProperty, + msOrder?: FallbackableGlobalsNumber, + msOverflowStyle?: FallbackableMsOverflowStyleProperty, + msOverflowX?: FallbackableOverflowXProperty, + msOverflowY?: FallbackableOverflowYProperty, + msScrollChaining?: FallbackableMsScrollChainingProperty, + msScrollLimitXMax?: FallbackableMsScrollLimitXMaxProperty, + msScrollLimitXMin?: FallbackableMsScrollLimitXMinProperty, + msScrollLimitYMax?: FallbackableMsScrollLimitYMaxProperty, + msScrollLimitYMin?: FallbackableMsScrollLimitYMinProperty, + msScrollRails?: FallbackableMsScrollRailsProperty, + msScrollSnapPointsX?: FallbackableGlobalsString, + msScrollSnapPointsY?: FallbackableGlobalsString, + msScrollSnapType?: FallbackableMsScrollSnapTypeProperty, + msScrollTranslation?: FallbackableMsScrollTranslationProperty, + msTextAutospace?: FallbackableMsTextAutospaceProperty, + msTextCombineHorizontal?: FallbackableTextCombineUprightProperty, + msTextOverflow?: FallbackableTextOverflowProperty, + msTextSizeAdjust?: FallbackableTextSizeAdjustProperty, + msTouchAction?: FallbackableTouchActionProperty, + msTouchSelect?: FallbackableMsTouchSelectProperty, + msTransform?: FallbackableTransformProperty, + msTransformOrigin?: FallbackableTransformOriginProperty, + msUserSelect?: FallbackableMsUserSelectProperty, + msWordBreak?: FallbackableWordBreakProperty, + msWrapFlow?: FallbackableMsWrapFlowProperty, + msWrapMargin?: FallbackableMsWrapMarginProperty, + msWrapThrough?: FallbackableMsWrapThroughProperty, + msWritingMode?: FallbackableWritingModeProperty, + OObjectFit?: FallbackableObjectFitProperty, + OObjectPosition?: FallbackableObjectPositionProperty, + OTabSize?: FallbackableTabSizeProperty, + OTextOverflow?: FallbackableTextOverflowProperty, + OTransformOrigin?: FallbackableTransformOriginProperty, + WebkitAlignContent?: FallbackableAlignContentProperty, + WebkitAlignItems?: FallbackableAlignItemsProperty, + WebkitAlignSelf?: FallbackableAlignSelfProperty, + WebkitAnimationDelay?: FallbackableGlobalsString, + WebkitAnimationDirection?: FallbackableAnimationDirectionProperty, + WebkitAnimationDuration?: FallbackableGlobalsString, + WebkitAnimationFillMode?: FallbackableAnimationFillModeProperty, + WebkitAnimationIterationCount?: FallbackableAnimationIterationCountProperty, + WebkitAnimationName?: FallbackableAnimationNameProperty, + WebkitAnimationPlayState?: FallbackableAnimationPlayStateProperty, + WebkitAnimationTimingFunction?: FallbackableAnimationTimingFunctionProperty, + WebkitAppearance?: FallbackableWebkitAppearanceProperty, + WebkitBackdropFilter?: FallbackableBackdropFilterProperty, + WebkitBackfaceVisibility?: FallbackableBackfaceVisibilityProperty, + WebkitBackgroundClip?: FallbackableBackgroundClipProperty, + WebkitBackgroundOrigin?: FallbackableBackgroundOriginProperty, + WebkitBackgroundSize?: FallbackableBackgroundSizeProperty, + WebkitBorderBeforeColor?: FallbackableWebkitBorderBeforeColorProperty, + WebkitBorderBeforeStyle?: FallbackableWebkitBorderBeforeStyleProperty, + WebkitBorderBeforeWidth?: FallbackableWebkitBorderBeforeWidthProperty, + WebkitBorderBottomLeftRadius?: FallbackableBorderBottomLeftRadiusProperty, + WebkitBorderBottomRightRadius?: FallbackableBorderBottomRightRadiusProperty, + WebkitBorderImageSlice?: FallbackableBorderImageSliceProperty, + WebkitBorderTopLeftRadius?: FallbackableBorderTopLeftRadiusProperty, + WebkitBorderTopRightRadius?: FallbackableBorderTopRightRadiusProperty, + WebkitBoxDecorationBreak?: FallbackableBoxDecorationBreakProperty, + WebkitBoxReflect?: FallbackableWebkitBoxReflectProperty, + WebkitBoxShadow?: FallbackableBoxShadowProperty, + WebkitBoxSizing?: FallbackableBoxSizingProperty, + WebkitClipPath?: FallbackableClipPathProperty, + WebkitColorAdjust?: FallbackableColorAdjustProperty, + WebkitColumnCount?: FallbackableColumnCountProperty, + WebkitColumnGap?: FallbackableColumnGapProperty, + WebkitColumnRuleColor?: FallbackableColumnRuleColorProperty, + WebkitColumnRuleStyle?: FallbackableColumnRuleStyleProperty, + WebkitColumnRuleWidth?: FallbackableColumnRuleWidthProperty, + WebkitColumnSpan?: FallbackableColumnSpanProperty, + WebkitColumnWidth?: FallbackableColumnWidthProperty, + WebkitFilter?: FallbackableFilterProperty, + WebkitFlexBasis?: FallbackableFlexBasisProperty, + WebkitFlexDirection?: FallbackableFlexDirectionProperty, + WebkitFlexGrow?: FallbackableGlobalsNumber, + WebkitFlexShrink?: FallbackableGlobalsNumber, + WebkitFlexWrap?: FallbackableFlexWrapProperty, + WebkitFontFeatureSettings?: FallbackableFontFeatureSettingsProperty, + WebkitFontKerning?: FallbackableFontKerningProperty, + WebkitFontVariantLigatures?: FallbackableFontVariantLigaturesProperty, + WebkitHyphens?: FallbackableHyphensProperty, + WebkitJustifyContent?: FallbackableJustifyContentProperty, + WebkitLineBreak?: FallbackableLineBreakProperty, + WebkitMarginEnd?: FallbackableMarginInlineEndProperty, + WebkitMarginStart?: FallbackableMarginInlineStartProperty, + WebkitMaskAttachment?: FallbackableWebkitMaskAttachmentProperty, + WebkitMaskClip?: FallbackableWebkitMaskClipProperty, + WebkitMaskComposite?: FallbackableWebkitMaskCompositeProperty, + WebkitMaskImage?: FallbackableWebkitMaskImageProperty, + WebkitMaskOrigin?: FallbackableWebkitMaskOriginProperty, + WebkitMaskPosition?: FallbackableWebkitMaskPositionProperty, + WebkitMaskPositionX?: FallbackableWebkitMaskPositionXProperty, + WebkitMaskPositionY?: FallbackableWebkitMaskPositionYProperty, + WebkitMaskRepeat?: FallbackableWebkitMaskRepeatProperty, + WebkitMaskRepeatX?: FallbackableWebkitMaskRepeatXProperty, + WebkitMaskRepeatY?: FallbackableWebkitMaskRepeatYProperty, + WebkitMaskSize?: FallbackableWebkitMaskSizeProperty, + WebkitMaxInlineSize?: FallbackableMaxInlineSizeProperty, + WebkitOrder?: FallbackableGlobalsNumber, + WebkitOverflowScrolling?: FallbackableWebkitOverflowScrollingProperty, + WebkitPaddingEnd?: FallbackablePaddingInlineEndProperty, + WebkitPaddingStart?: FallbackablePaddingInlineStartProperty, + WebkitPerspective?: FallbackablePerspectiveProperty, + WebkitPerspectiveOrigin?: FallbackablePerspectiveOriginProperty, + WebkitScrollSnapType?: FallbackableScrollSnapTypeProperty, + WebkitShapeMargin?: FallbackableShapeMarginProperty, + WebkitTapHighlightColor?: FallbackableWebkitTapHighlightColorProperty, + WebkitTextCombine?: FallbackableTextCombineUprightProperty, + WebkitTextDecorationColor?: FallbackableTextDecorationColorProperty, + WebkitTextDecorationLine?: FallbackableTextDecorationLineProperty, + WebkitTextDecorationSkip?: FallbackableTextDecorationSkipProperty, + WebkitTextDecorationStyle?: FallbackableTextDecorationStyleProperty, + WebkitTextEmphasisColor?: FallbackableTextEmphasisColorProperty, + WebkitTextEmphasisPosition?: FallbackableGlobalsString, + WebkitTextEmphasisStyle?: FallbackableTextEmphasisStyleProperty, + WebkitTextFillColor?: FallbackableWebkitTextFillColorProperty, + WebkitTextOrientation?: FallbackableTextOrientationProperty, + WebkitTextSizeAdjust?: FallbackableTextSizeAdjustProperty, + WebkitTextStrokeColor?: FallbackableWebkitTextStrokeColorProperty, + WebkitTextStrokeWidth?: FallbackableWebkitTextStrokeWidthProperty, + WebkitTouchCallout?: FallbackableWebkitTouchCalloutProperty, + WebkitTransform?: FallbackableTransformProperty, + WebkitTransformOrigin?: FallbackableTransformOriginProperty, + WebkitTransformStyle?: FallbackableTransformStyleProperty, + WebkitTransitionDelay?: FallbackableGlobalsString, + WebkitTransitionDuration?: FallbackableGlobalsString, + WebkitTransitionProperty?: FallbackableTransitionPropertyProperty, + WebkitTransitionTimingFunction?: FallbackableTransitionTimingFunctionProperty, + WebkitUserModify?: FallbackableWebkitUserModifyProperty, + WebkitUserSelect?: FallbackableUserSelectProperty, + WebkitWritingMode?: FallbackableWritingModeProperty, +|}; + +export type VendorShorthandPropertiesFallback = {| + MozAnimation?: FallbackableAnimationProperty, + MozBorderImage?: FallbackableBorderImageProperty, + MozColumnRule?: FallbackableColumnRuleProperty, + MozColumns?: FallbackableColumnsProperty, + MozTransition?: FallbackableTransitionProperty, + msContentZoomLimit?: FallbackableGlobalsString, + msContentZoomSnap?: FallbackableMsContentZoomSnapProperty, + msFlex?: FallbackableFlexProperty, + msScrollLimit?: FallbackableGlobalsString, + msScrollSnapX?: FallbackableGlobalsString, + msScrollSnapY?: FallbackableGlobalsString, + OBorderImage?: FallbackableBorderImageProperty, + WebkitAnimation?: FallbackableAnimationProperty, + WebkitBorderBefore?: FallbackableWebkitBorderBeforeProperty, + WebkitBorderImage?: FallbackableBorderImageProperty, + WebkitBorderRadius?: FallbackableBorderRadiusProperty, + WebkitColumnRule?: FallbackableColumnRuleProperty, + WebkitColumns?: FallbackableColumnsProperty, + WebkitFlex?: FallbackableFlexProperty, + WebkitFlexFlow?: FallbackableFlexFlowProperty, + WebkitLineClamp?: FallbackableWebkitLineClampProperty, + WebkitMask?: FallbackableWebkitMaskProperty, + WebkitTextEmphasis?: FallbackableTextEmphasisProperty, + WebkitTextStroke?: FallbackableWebkitTextStrokeProperty, + WebkitTransition?: FallbackableTransitionProperty, +|}; + +export type VendorPropertiesFallback = {| ...VendorLonghandPropertiesFallback, ...VendorShorthandPropertiesFallback |}; + +export type ObsoletePropertiesFallback = {| + boxAlign?: FallbackableBoxAlignProperty, + boxDirection?: FallbackableBoxDirectionProperty, + boxFlex?: FallbackableGlobalsNumber, + boxFlexGroup?: FallbackableGlobalsNumber, + boxLines?: FallbackableBoxLinesProperty, + boxOrdinalGroup?: FallbackableGlobalsNumber, + boxOrient?: FallbackableBoxOrientProperty, + boxPack?: FallbackableBoxPackProperty, + clip?: FallbackableClipProperty, + fontVariantAlternates?: FallbackableFontVariantAlternatesProperty, + gridColumnGap?: FallbackableGridColumnGapProperty, + gridGap?: FallbackableGridGapProperty, + gridRowGap?: FallbackableGridRowGapProperty, + imeMode?: FallbackableImeModeProperty, + offsetBlockEnd?: FallbackableInsetBlockEndProperty, + offsetBlockStart?: FallbackableInsetBlockStartProperty, + offsetInlineEnd?: FallbackableInsetInlineEndProperty, + offsetInlineStart?: FallbackableInsetInlineStartProperty, + scrollSnapCoordinate?: FallbackableScrollSnapCoordinateProperty, + scrollSnapDestination?: FallbackableScrollSnapDestinationProperty, + scrollSnapPointsX?: FallbackableScrollSnapPointsXProperty, + scrollSnapPointsY?: FallbackableScrollSnapPointsYProperty, + scrollSnapTypeX?: FallbackableScrollSnapTypeXProperty, + scrollSnapTypeY?: FallbackableScrollSnapTypeYProperty, + textCombineHorizontal?: FallbackableTextCombineUprightProperty, + KhtmlBoxAlign?: FallbackableBoxAlignProperty, + KhtmlBoxDirection?: FallbackableBoxDirectionProperty, + KhtmlBoxFlex?: FallbackableGlobalsNumber, + KhtmlBoxFlexGroup?: FallbackableGlobalsNumber, + KhtmlBoxLines?: FallbackableBoxLinesProperty, + KhtmlBoxOrdinalGroup?: FallbackableGlobalsNumber, + KhtmlBoxOrient?: FallbackableBoxOrientProperty, + KhtmlBoxPack?: FallbackableBoxPackProperty, + MozBackgroundClip?: FallbackableBackgroundClipProperty, + MozBackgroundInlinePolicy?: FallbackableBoxDecorationBreakProperty, + MozBackgroundOrigin?: FallbackableBackgroundOriginProperty, + MozBackgroundSize?: FallbackableBackgroundSizeProperty, + MozBinding?: FallbackableMozBindingProperty, + MozBorderRadius?: FallbackableBorderRadiusProperty, + MozBorderRadiusBottomleft?: FallbackableBorderBottomLeftRadiusProperty, + MozBorderRadiusBottomright?: FallbackableBorderBottomRightRadiusProperty, + MozBorderRadiusTopleft?: FallbackableBorderTopLeftRadiusProperty, + MozBorderRadiusTopright?: FallbackableBorderTopRightRadiusProperty, + MozBoxAlign?: FallbackableBoxAlignProperty, + MozBoxDirection?: FallbackableBoxDirectionProperty, + MozBoxFlex?: FallbackableGlobalsNumber, + MozBoxOrdinalGroup?: FallbackableGlobalsNumber, + MozBoxOrient?: FallbackableBoxOrientProperty, + MozBoxPack?: FallbackableBoxPackProperty, + MozBoxShadow?: FallbackableBoxShadowProperty, + MozOpacity?: FallbackableGlobalsNumber, + MozOutline?: FallbackableOutlineProperty, + MozOutlineColor?: FallbackableOutlineColorProperty, + MozOutlineRadius?: FallbackableMozOutlineRadiusProperty, + MozOutlineStyle?: FallbackableOutlineStyleProperty, + MozOutlineWidth?: FallbackableOutlineWidthProperty, + MozResize?: FallbackableResizeProperty, + MozTextAlignLast?: FallbackableTextAlignLastProperty, + MozTextBlink?: FallbackableMozTextBlinkProperty, + MozTextDecorationColor?: FallbackableTextDecorationColorProperty, + MozTextDecorationLine?: FallbackableTextDecorationLineProperty, + MozTextDecorationStyle?: FallbackableTextDecorationStyleProperty, + MozUserInput?: FallbackableMozUserInputProperty, + msImeMode?: FallbackableImeModeProperty, + msScrollbar3dlightColor?: FallbackableMsScrollbar3dlightColorProperty, + msScrollbarArrowColor?: FallbackableMsScrollbarArrowColorProperty, + msScrollbarBaseColor?: FallbackableMsScrollbarBaseColorProperty, + msScrollbarDarkshadowColor?: FallbackableMsScrollbarDarkshadowColorProperty, + msScrollbarFaceColor?: FallbackableMsScrollbarFaceColorProperty, + msScrollbarHighlightColor?: FallbackableMsScrollbarHighlightColorProperty, + msScrollbarShadowColor?: FallbackableMsScrollbarShadowColorProperty, + msScrollbarTrackColor?: FallbackableMsScrollbarTrackColorProperty, + OAnimation?: FallbackableAnimationProperty, + OAnimationDelay?: FallbackableGlobalsString, + OAnimationDirection?: FallbackableAnimationDirectionProperty, + OAnimationDuration?: FallbackableGlobalsString, + OAnimationFillMode?: FallbackableAnimationFillModeProperty, + OAnimationIterationCount?: FallbackableAnimationIterationCountProperty, + OAnimationName?: FallbackableAnimationNameProperty, + OAnimationPlayState?: FallbackableAnimationPlayStateProperty, + OAnimationTimingFunction?: FallbackableAnimationTimingFunctionProperty, + OBackgroundSize?: FallbackableBackgroundSizeProperty, + OTransform?: FallbackableTransformProperty, + OTransition?: FallbackableTransitionProperty, + OTransitionDelay?: FallbackableGlobalsString, + OTransitionDuration?: FallbackableGlobalsString, + OTransitionProperty?: FallbackableTransitionPropertyProperty, + OTransitionTimingFunction?: FallbackableTransitionTimingFunctionProperty, + WebkitBoxAlign?: FallbackableBoxAlignProperty, + WebkitBoxDirection?: FallbackableBoxDirectionProperty, + WebkitBoxFlex?: FallbackableGlobalsNumber, + WebkitBoxFlexGroup?: FallbackableGlobalsNumber, + WebkitBoxLines?: FallbackableBoxLinesProperty, + WebkitBoxOrdinalGroup?: FallbackableGlobalsNumber, + WebkitBoxOrient?: FallbackableBoxOrientProperty, + WebkitBoxPack?: FallbackableBoxPackProperty, + WebkitScrollSnapPointsX?: FallbackableScrollSnapPointsXProperty, + WebkitScrollSnapPointsY?: FallbackableScrollSnapPointsYProperty, +|}; + +export type SvgPropertiesFallback = {| + alignmentBaseline?: FallbackableAlignmentBaselineProperty, + baselineShift?: FallbackableBaselineShiftProperty, + clip?: FallbackableClipProperty, + clipPath?: FallbackableClipPathProperty, + clipRule?: FallbackableClipRuleProperty, + color?: FallbackableColorProperty, + colorInterpolation?: FallbackableColorInterpolationProperty, + colorRendering?: FallbackableColorRenderingProperty, + cursor?: FallbackableCursorProperty, + direction?: FallbackableDirectionProperty, + display?: FallbackableDisplayProperty, + dominantBaseline?: FallbackableDominantBaselineProperty, + fill?: FallbackableFillProperty, + fillOpacity?: FallbackableGlobalsNumber, + fillRule?: FallbackableFillRuleProperty, + filter?: FallbackableFilterProperty, + floodColor?: FallbackableFloodColorProperty, + floodOpacity?: FallbackableGlobalsNumber, + font?: FallbackableFontProperty, + fontFamily?: FallbackableFontFamilyProperty, + fontSize?: FallbackableFontSizeProperty, + fontSizeAdjust?: FallbackableFontSizeAdjustProperty, + fontStretch?: FallbackableFontStretchProperty, + fontStyle?: FallbackableFontStyleProperty, + fontVariant?: FallbackableFontVariantProperty, + fontWeight?: FallbackableFontWeightProperty, + glyphOrientationVertical?: FallbackableGlyphOrientationVerticalProperty, + imageRendering?: FallbackableImageRenderingProperty, + letterSpacing?: FallbackableLetterSpacingProperty, + lightingColor?: FallbackableLightingColorProperty, + lineHeight?: FallbackableLineHeightProperty, + marker?: FallbackableMarkerProperty, + markerEnd?: FallbackableMarkerEndProperty, + markerMid?: FallbackableMarkerMidProperty, + markerStart?: FallbackableMarkerStartProperty, + mask?: FallbackableMaskProperty, + opacity?: FallbackableGlobalsNumber, + overflow?: FallbackableOverflowProperty, + paintOrder?: FallbackablePaintOrderProperty, + pointerEvents?: FallbackablePointerEventsProperty, + shapeRendering?: FallbackableShapeRenderingProperty, + stopColor?: FallbackableStopColorProperty, + stopOpacity?: FallbackableGlobalsNumber, + stroke?: FallbackableStrokeProperty, + strokeDasharray?: FallbackableStrokeDasharrayProperty, + strokeDashoffset?: FallbackableStrokeDashoffsetProperty, + strokeLinecap?: FallbackableStrokeLinecapProperty, + strokeLinejoin?: FallbackableStrokeLinejoinProperty, + strokeMiterlimit?: FallbackableGlobalsNumber, + strokeOpacity?: FallbackableGlobalsNumber, + strokeWidth?: FallbackableStrokeWidthProperty, + textAnchor?: FallbackableTextAnchorProperty, + textDecoration?: FallbackableTextDecorationProperty, + textRendering?: FallbackableTextRenderingProperty, + unicodeBidi?: FallbackableUnicodeBidiProperty, + vectorEffect?: FallbackableVectorEffectProperty, + visibility?: FallbackableVisibilityProperty, + whiteSpace?: FallbackableWhiteSpaceProperty, + wordSpacing?: FallbackableWordSpacingProperty, + writingMode?: FallbackableWritingModeProperty, +|}; + +export type PropertiesFallback = {| + ...StandardPropertiesFallback, + ...VendorPropertiesFallback, + ...ObsoletePropertiesFallback, + ...SvgPropertiesFallback, +|}; + +export type StandardLonghandPropertiesHyphenFallback = {| + "align-content"?: FallbackableAlignContentProperty, + "align-items"?: FallbackableAlignItemsProperty, + "align-self"?: FallbackableAlignSelfProperty, + "animation-delay"?: FallbackableGlobalsString, + "animation-direction"?: FallbackableAnimationDirectionProperty, + "animation-duration"?: FallbackableGlobalsString, + "animation-fill-mode"?: FallbackableAnimationFillModeProperty, + "animation-iteration-count"?: FallbackableAnimationIterationCountProperty, + "animation-name"?: FallbackableAnimationNameProperty, + "animation-play-state"?: FallbackableAnimationPlayStateProperty, + "animation-timing-function"?: FallbackableAnimationTimingFunctionProperty, + appearance?: FallbackableAppearanceProperty, + "backdrop-filter"?: FallbackableBackdropFilterProperty, + "backface-visibility"?: FallbackableBackfaceVisibilityProperty, + "background-attachment"?: FallbackableBackgroundAttachmentProperty, + "background-blend-mode"?: FallbackableBackgroundBlendModeProperty, + "background-clip"?: FallbackableBackgroundClipProperty, + "background-color"?: FallbackableBackgroundColorProperty, + "background-image"?: FallbackableBackgroundImageProperty, + "background-origin"?: FallbackableBackgroundOriginProperty, + "background-position"?: FallbackableBackgroundPositionProperty, + "background-position-x"?: FallbackableBackgroundPositionXProperty, + "background-position-y"?: FallbackableBackgroundPositionYProperty, + "background-repeat"?: FallbackableBackgroundRepeatProperty, + "background-size"?: FallbackableBackgroundSizeProperty, + "block-overflow"?: FallbackableBlockOverflowProperty, + "block-size"?: FallbackableBlockSizeProperty, + "border-block-color"?: FallbackableBorderBlockColorProperty, + "border-block-end-color"?: FallbackableBorderBlockEndColorProperty, + "border-block-end-style"?: FallbackableBorderBlockEndStyleProperty, + "border-block-end-width"?: FallbackableBorderBlockEndWidthProperty, + "border-block-start-color"?: FallbackableBorderBlockStartColorProperty, + "border-block-start-style"?: FallbackableBorderBlockStartStyleProperty, + "border-block-start-width"?: FallbackableBorderBlockStartWidthProperty, + "border-block-style"?: FallbackableBorderBlockStyleProperty, + "border-block-width"?: FallbackableBorderBlockWidthProperty, + "border-bottom-color"?: FallbackableBorderBottomColorProperty, + "border-bottom-left-radius"?: FallbackableBorderBottomLeftRadiusProperty, + "border-bottom-right-radius"?: FallbackableBorderBottomRightRadiusProperty, + "border-bottom-style"?: FallbackableBorderBottomStyleProperty, + "border-bottom-width"?: FallbackableBorderBottomWidthProperty, + "border-collapse"?: FallbackableBorderCollapseProperty, + "border-end-end-radius"?: FallbackableBorderEndEndRadiusProperty, + "border-end-start-radius"?: FallbackableBorderEndStartRadiusProperty, + "border-image-outset"?: FallbackableBorderImageOutsetProperty, + "border-image-repeat"?: FallbackableBorderImageRepeatProperty, + "border-image-slice"?: FallbackableBorderImageSliceProperty, + "border-image-source"?: FallbackableBorderImageSourceProperty, + "border-image-width"?: FallbackableBorderImageWidthProperty, + "border-inline-color"?: FallbackableBorderInlineColorProperty, + "border-inline-end-color"?: FallbackableBorderInlineEndColorProperty, + "border-inline-end-style"?: FallbackableBorderInlineEndStyleProperty, + "border-inline-end-width"?: FallbackableBorderInlineEndWidthProperty, + "border-inline-start-color"?: FallbackableBorderInlineStartColorProperty, + "border-inline-start-style"?: FallbackableBorderInlineStartStyleProperty, + "border-inline-start-width"?: FallbackableBorderInlineStartWidthProperty, + "border-inline-style"?: FallbackableBorderInlineStyleProperty, + "border-inline-width"?: FallbackableBorderInlineWidthProperty, + "border-left-color"?: FallbackableBorderLeftColorProperty, + "border-left-style"?: FallbackableBorderLeftStyleProperty, + "border-left-width"?: FallbackableBorderLeftWidthProperty, + "border-right-color"?: FallbackableBorderRightColorProperty, + "border-right-style"?: FallbackableBorderRightStyleProperty, + "border-right-width"?: FallbackableBorderRightWidthProperty, + "border-spacing"?: FallbackableBorderSpacingProperty, + "border-start-end-radius"?: FallbackableBorderStartEndRadiusProperty, + "border-start-start-radius"?: FallbackableBorderStartStartRadiusProperty, + "border-top-color"?: FallbackableBorderTopColorProperty, + "border-top-left-radius"?: FallbackableBorderTopLeftRadiusProperty, + "border-top-right-radius"?: FallbackableBorderTopRightRadiusProperty, + "border-top-style"?: FallbackableBorderTopStyleProperty, + "border-top-width"?: FallbackableBorderTopWidthProperty, + bottom?: FallbackableBottomProperty, + "box-decoration-break"?: FallbackableBoxDecorationBreakProperty, + "box-shadow"?: FallbackableBoxShadowProperty, + "box-sizing"?: FallbackableBoxSizingProperty, + "break-after"?: FallbackableBreakAfterProperty, + "break-before"?: FallbackableBreakBeforeProperty, + "break-inside"?: FallbackableBreakInsideProperty, + "caption-side"?: FallbackableCaptionSideProperty, + "caret-color"?: FallbackableCaretColorProperty, + clear?: FallbackableClearProperty, + "clip-path"?: FallbackableClipPathProperty, + color?: FallbackableColorProperty, + "color-adjust"?: FallbackableColorAdjustProperty, + "column-count"?: FallbackableColumnCountProperty, + "column-fill"?: FallbackableColumnFillProperty, + "column-gap"?: FallbackableColumnGapProperty, + "column-rule-color"?: FallbackableColumnRuleColorProperty, + "column-rule-style"?: FallbackableColumnRuleStyleProperty, + "column-rule-width"?: FallbackableColumnRuleWidthProperty, + "column-span"?: FallbackableColumnSpanProperty, + "column-width"?: FallbackableColumnWidthProperty, + contain?: FallbackableContainProperty, + content?: FallbackableContentProperty, + "counter-increment"?: FallbackableCounterIncrementProperty, + "counter-reset"?: FallbackableCounterResetProperty, + cursor?: FallbackableCursorProperty, + direction?: FallbackableDirectionProperty, + display?: FallbackableDisplayProperty, + "empty-cells"?: FallbackableEmptyCellsProperty, + filter?: FallbackableFilterProperty, + "flex-basis"?: FallbackableFlexBasisProperty, + "flex-direction"?: FallbackableFlexDirectionProperty, + "flex-grow"?: FallbackableGlobalsNumber, + "flex-shrink"?: FallbackableGlobalsNumber, + "flex-wrap"?: FallbackableFlexWrapProperty, + float?: FallbackableFloatProperty, + "font-family"?: FallbackableFontFamilyProperty, + "font-feature-settings"?: FallbackableFontFeatureSettingsProperty, + "font-kerning"?: FallbackableFontKerningProperty, + "font-language-override"?: FallbackableFontLanguageOverrideProperty, + "font-optical-sizing"?: FallbackableFontOpticalSizingProperty, + "font-size"?: FallbackableFontSizeProperty, + "font-size-adjust"?: FallbackableFontSizeAdjustProperty, + "font-stretch"?: FallbackableFontStretchProperty, + "font-style"?: FallbackableFontStyleProperty, + "font-synthesis"?: FallbackableFontSynthesisProperty, + "font-variant"?: FallbackableFontVariantProperty, + "font-variant-caps"?: FallbackableFontVariantCapsProperty, + "font-variant-east-asian"?: FallbackableFontVariantEastAsianProperty, + "font-variant-ligatures"?: FallbackableFontVariantLigaturesProperty, + "font-variant-numeric"?: FallbackableFontVariantNumericProperty, + "font-variant-position"?: FallbackableFontVariantPositionProperty, + "font-variation-settings"?: FallbackableFontVariationSettingsProperty, + "font-weight"?: FallbackableFontWeightProperty, + "grid-auto-columns"?: FallbackableGridAutoColumnsProperty, + "grid-auto-flow"?: FallbackableGridAutoFlowProperty, + "grid-auto-rows"?: FallbackableGridAutoRowsProperty, + "grid-column-end"?: FallbackableGridColumnEndProperty, + "grid-column-start"?: FallbackableGridColumnStartProperty, + "grid-row-end"?: FallbackableGridRowEndProperty, + "grid-row-start"?: FallbackableGridRowStartProperty, + "grid-template-areas"?: FallbackableGridTemplateAreasProperty, + "grid-template-columns"?: FallbackableGridTemplateColumnsProperty, + "grid-template-rows"?: FallbackableGridTemplateRowsProperty, + "hanging-punctuation"?: FallbackableHangingPunctuationProperty, + height?: FallbackableHeightProperty, + hyphens?: FallbackableHyphensProperty, + "image-orientation"?: FallbackableImageOrientationProperty, + "image-rendering"?: FallbackableImageRenderingProperty, + "image-resolution"?: FallbackableImageResolutionProperty, + "initial-letter"?: FallbackableInitialLetterProperty, + "inline-size"?: FallbackableInlineSizeProperty, + "inset-block-end"?: FallbackableInsetBlockEndProperty, + "inset-block-start"?: FallbackableInsetBlockStartProperty, + "inset-inline-end"?: FallbackableInsetInlineEndProperty, + "inset-inline-start"?: FallbackableInsetInlineStartProperty, + isolation?: FallbackableIsolationProperty, + "justify-content"?: FallbackableJustifyContentProperty, + "justify-items"?: FallbackableJustifyItemsProperty, + "justify-self"?: FallbackableJustifySelfProperty, + left?: FallbackableLeftProperty, + "letter-spacing"?: FallbackableLetterSpacingProperty, + "line-break"?: FallbackableLineBreakProperty, + "line-height"?: FallbackableLineHeightProperty, + "line-height-step"?: FallbackableLineHeightStepProperty, + "list-style-image"?: FallbackableListStyleImageProperty, + "list-style-position"?: FallbackableListStylePositionProperty, + "list-style-type"?: FallbackableListStyleTypeProperty, + "margin-block"?: FallbackableMarginBlockProperty, + "margin-block-end"?: FallbackableMarginBlockEndProperty, + "margin-block-start"?: FallbackableMarginBlockStartProperty, + "margin-bottom"?: FallbackableMarginBottomProperty, + "margin-inline"?: FallbackableMarginInlineProperty, + "margin-inline-end"?: FallbackableMarginInlineEndProperty, + "margin-inline-start"?: FallbackableMarginInlineStartProperty, + "margin-left"?: FallbackableMarginLeftProperty, + "margin-right"?: FallbackableMarginRightProperty, + "margin-top"?: FallbackableMarginTopProperty, + "mask-border-mode"?: FallbackableMaskBorderModeProperty, + "mask-border-outset"?: FallbackableMaskBorderOutsetProperty, + "mask-border-repeat"?: FallbackableMaskBorderRepeatProperty, + "mask-border-slice"?: FallbackableMaskBorderSliceProperty, + "mask-border-source"?: FallbackableMaskBorderSourceProperty, + "mask-border-width"?: FallbackableMaskBorderWidthProperty, + "mask-clip"?: FallbackableMaskClipProperty, + "mask-composite"?: FallbackableMaskCompositeProperty, + "mask-image"?: FallbackableMaskImageProperty, + "mask-mode"?: FallbackableMaskModeProperty, + "mask-origin"?: FallbackableMaskOriginProperty, + "mask-position"?: FallbackableMaskPositionProperty, + "mask-repeat"?: FallbackableMaskRepeatProperty, + "mask-size"?: FallbackableMaskSizeProperty, + "mask-type"?: FallbackableMaskTypeProperty, + "max-block-size"?: FallbackableMaxBlockSizeProperty, + "max-height"?: FallbackableMaxHeightProperty, + "max-inline-size"?: FallbackableMaxInlineSizeProperty, + "max-lines"?: FallbackableMaxLinesProperty, + "max-width"?: FallbackableMaxWidthProperty, + "min-block-size"?: FallbackableMinBlockSizeProperty, + "min-height"?: FallbackableMinHeightProperty, + "min-inline-size"?: FallbackableMinInlineSizeProperty, + "min-width"?: FallbackableMinWidthProperty, + "mix-blend-mode"?: FallbackableMixBlendModeProperty, + "motion-distance"?: FallbackableOffsetDistanceProperty, + "motion-path"?: FallbackableOffsetPathProperty, + "motion-rotation"?: FallbackableOffsetRotateProperty, + "object-fit"?: FallbackableObjectFitProperty, + "object-position"?: FallbackableObjectPositionProperty, + "offset-anchor"?: FallbackableOffsetAnchorProperty, + "offset-distance"?: FallbackableOffsetDistanceProperty, + "offset-path"?: FallbackableOffsetPathProperty, + "offset-position"?: FallbackableOffsetPositionProperty, + "offset-rotate"?: FallbackableOffsetRotateProperty, + "offset-rotation"?: FallbackableOffsetRotateProperty, + opacity?: FallbackableGlobalsNumber, + order?: FallbackableGlobalsNumber, + orphans?: FallbackableGlobalsNumber, + "outline-color"?: FallbackableOutlineColorProperty, + "outline-offset"?: FallbackableOutlineOffsetProperty, + "outline-style"?: FallbackableOutlineStyleProperty, + "outline-width"?: FallbackableOutlineWidthProperty, + overflow?: FallbackableOverflowProperty, + "overflow-anchor"?: FallbackableOverflowAnchorProperty, + "overflow-block"?: FallbackableOverflowBlockProperty, + "overflow-clip-box"?: FallbackableOverflowClipBoxProperty, + "overflow-inline"?: FallbackableOverflowInlineProperty, + "overflow-wrap"?: FallbackableOverflowWrapProperty, + "overflow-x"?: FallbackableOverflowXProperty, + "overflow-y"?: FallbackableOverflowYProperty, + "overscroll-behavior"?: FallbackableOverscrollBehaviorProperty, + "overscroll-behavior-x"?: FallbackableOverscrollBehaviorXProperty, + "overscroll-behavior-y"?: FallbackableOverscrollBehaviorYProperty, + "padding-block"?: FallbackablePaddingBlockProperty, + "padding-block-end"?: FallbackablePaddingBlockEndProperty, + "padding-block-start"?: FallbackablePaddingBlockStartProperty, + "padding-bottom"?: FallbackablePaddingBottomProperty, + "padding-inline"?: FallbackablePaddingInlineProperty, + "padding-inline-end"?: FallbackablePaddingInlineEndProperty, + "padding-inline-start"?: FallbackablePaddingInlineStartProperty, + "padding-left"?: FallbackablePaddingLeftProperty, + "padding-right"?: FallbackablePaddingRightProperty, + "padding-top"?: FallbackablePaddingTopProperty, + "page-break-after"?: FallbackablePageBreakAfterProperty, + "page-break-before"?: FallbackablePageBreakBeforeProperty, + "page-break-inside"?: FallbackablePageBreakInsideProperty, + "paint-order"?: FallbackablePaintOrderProperty, + perspective?: FallbackablePerspectiveProperty, + "perspective-origin"?: FallbackablePerspectiveOriginProperty, + "place-content"?: FallbackablePlaceContentProperty, + "pointer-events"?: FallbackablePointerEventsProperty, + position?: FallbackablePositionProperty, + quotes?: FallbackableQuotesProperty, + resize?: FallbackableResizeProperty, + right?: FallbackableRightProperty, + rotate?: FallbackableRotateProperty, + "row-gap"?: FallbackableRowGapProperty, + "ruby-align"?: FallbackableRubyAlignProperty, + "ruby-merge"?: FallbackableRubyMergeProperty, + "ruby-position"?: FallbackableRubyPositionProperty, + scale?: FallbackableScaleProperty, + "scroll-behavior"?: FallbackableScrollBehaviorProperty, + "scroll-margin"?: FallbackableScrollMarginProperty, + "scroll-margin-block"?: FallbackableScrollMarginBlockProperty, + "scroll-margin-block-end"?: FallbackableScrollMarginBlockEndProperty, + "scroll-margin-block-start"?: FallbackableScrollMarginBlockStartProperty, + "scroll-margin-bottom"?: FallbackableScrollMarginBottomProperty, + "scroll-margin-inline-end"?: FallbackableScrollMarginInlineEndProperty, + "scroll-margin-inline-start"?: FallbackableScrollMarginInlineStartProperty, + "scroll-margin-left"?: FallbackableScrollMarginLeftProperty, + "scroll-margin-right"?: FallbackableScrollMarginRightProperty, + "scroll-margin-top"?: FallbackableScrollMarginTopProperty, + "scroll-padding"?: FallbackableScrollPaddingProperty, + "scroll-padding-block"?: FallbackableScrollPaddingBlockProperty, + "scroll-padding-block-end"?: FallbackableScrollPaddingBlockEndProperty, + "scroll-padding-block-start"?: FallbackableScrollPaddingBlockStartProperty, + "scroll-padding-bottom"?: FallbackableScrollPaddingBottomProperty, + "scroll-padding-inline"?: FallbackableScrollPaddingInlineProperty, + "scroll-padding-inline-end"?: FallbackableScrollPaddingInlineEndProperty, + "scroll-padding-inline-start"?: FallbackableScrollPaddingInlineStartProperty, + "scroll-padding-left"?: FallbackableScrollPaddingLeftProperty, + "scroll-padding-right"?: FallbackableScrollPaddingRightProperty, + "scroll-padding-top"?: FallbackableScrollPaddingTopProperty, + "scroll-snap-align"?: FallbackableScrollSnapAlignProperty, + "scroll-snap-type"?: FallbackableScrollSnapTypeProperty, + "scrollbar-color"?: FallbackableScrollbarColorProperty, + "scrollbar-width"?: FallbackableScrollbarWidthProperty, + "shape-image-threshold"?: FallbackableGlobalsNumber, + "shape-margin"?: FallbackableShapeMarginProperty, + "shape-outside"?: FallbackableShapeOutsideProperty, + "tab-size"?: FallbackableTabSizeProperty, + "table-layout"?: FallbackableTableLayoutProperty, + "text-align"?: FallbackableTextAlignProperty, + "text-align-last"?: FallbackableTextAlignLastProperty, + "text-combine-upright"?: FallbackableTextCombineUprightProperty, + "text-decoration-color"?: FallbackableTextDecorationColorProperty, + "text-decoration-line"?: FallbackableTextDecorationLineProperty, + "text-decoration-skip"?: FallbackableTextDecorationSkipProperty, + "text-decoration-skip-ink"?: FallbackableTextDecorationSkipInkProperty, + "text-decoration-style"?: FallbackableTextDecorationStyleProperty, + "text-emphasis-color"?: FallbackableTextEmphasisColorProperty, + "text-emphasis-position"?: FallbackableGlobalsString, + "text-emphasis-style"?: FallbackableTextEmphasisStyleProperty, + "text-indent"?: FallbackableTextIndentProperty, + "text-justify"?: FallbackableTextJustifyProperty, + "text-orientation"?: FallbackableTextOrientationProperty, + "text-overflow"?: FallbackableTextOverflowProperty, + "text-rendering"?: FallbackableTextRenderingProperty, + "text-shadow"?: FallbackableTextShadowProperty, + "text-size-adjust"?: FallbackableTextSizeAdjustProperty, + "text-transform"?: FallbackableTextTransformProperty, + "text-underline-position"?: FallbackableTextUnderlinePositionProperty, + top?: FallbackableTopProperty, + "touch-action"?: FallbackableTouchActionProperty, + transform?: FallbackableTransformProperty, + "transform-box"?: FallbackableTransformBoxProperty, + "transform-origin"?: FallbackableTransformOriginProperty, + "transform-style"?: FallbackableTransformStyleProperty, + "transition-delay"?: FallbackableGlobalsString, + "transition-duration"?: FallbackableGlobalsString, + "transition-property"?: FallbackableTransitionPropertyProperty, + "transition-timing-function"?: FallbackableTransitionTimingFunctionProperty, + translate?: FallbackableTranslateProperty, + "unicode-bidi"?: FallbackableUnicodeBidiProperty, + "user-select"?: FallbackableUserSelectProperty, + "vertical-align"?: FallbackableVerticalAlignProperty, + visibility?: FallbackableVisibilityProperty, + "white-space"?: FallbackableWhiteSpaceProperty, + widows?: FallbackableGlobalsNumber, + width?: FallbackableWidthProperty, + "will-change"?: FallbackableWillChangeProperty, + "word-break"?: FallbackableWordBreakProperty, + "word-spacing"?: FallbackableWordSpacingProperty, + "word-wrap"?: FallbackableWordWrapProperty, + "writing-mode"?: FallbackableWritingModeProperty, + "z-index"?: FallbackableZIndexProperty, + zoom?: FallbackableZoomProperty, +|}; + +export type StandardShorthandPropertiesHyphenFallback = {| + all?: FallbackableGlobals, + animation?: FallbackableAnimationProperty, + background?: FallbackableBackgroundProperty, + border?: FallbackableBorderProperty, + "border-block"?: FallbackableBorderBlockProperty, + "border-block-end"?: FallbackableBorderBlockEndProperty, + "border-block-start"?: FallbackableBorderBlockStartProperty, + "border-bottom"?: FallbackableBorderBottomProperty, + "border-color"?: FallbackableBorderColorProperty, + "border-image"?: FallbackableBorderImageProperty, + "border-inline"?: FallbackableBorderInlineProperty, + "border-inline-end"?: FallbackableBorderInlineEndProperty, + "border-inline-start"?: FallbackableBorderInlineStartProperty, + "border-left"?: FallbackableBorderLeftProperty, + "border-radius"?: FallbackableBorderRadiusProperty, + "border-right"?: FallbackableBorderRightProperty, + "border-style"?: FallbackableBorderStyleProperty, + "border-top"?: FallbackableBorderTopProperty, + "border-width"?: FallbackableBorderWidthProperty, + "column-rule"?: FallbackableColumnRuleProperty, + columns?: FallbackableColumnsProperty, + flex?: FallbackableFlexProperty, + "flex-flow"?: FallbackableFlexFlowProperty, + font?: FallbackableFontProperty, + gap?: FallbackableGapProperty, + grid?: FallbackableGridProperty, + "grid-area"?: FallbackableGridAreaProperty, + "grid-column"?: FallbackableGridColumnProperty, + "grid-row"?: FallbackableGridRowProperty, + "grid-template"?: FallbackableGridTemplateProperty, + "line-clamp"?: FallbackableLineClampProperty, + "list-style"?: FallbackableListStyleProperty, + margin?: FallbackableMarginProperty, + mask?: FallbackableMaskProperty, + "mask-border"?: FallbackableMaskBorderProperty, + motion?: FallbackableOffsetProperty, + offset?: FallbackableOffsetProperty, + outline?: FallbackableOutlineProperty, + padding?: FallbackablePaddingProperty, + "place-items"?: FallbackablePlaceItemsProperty, + "place-self"?: FallbackablePlaceSelfProperty, + "text-decoration"?: FallbackableTextDecorationProperty, + "text-emphasis"?: FallbackableTextEmphasisProperty, + transition?: FallbackableTransitionProperty, +|}; + +export type StandardPropertiesHyphenFallback = {| + ...StandardLonghandPropertiesHyphenFallback, + ...StandardShorthandPropertiesHyphenFallback, +|}; + +export type VendorLonghandPropertiesHyphenFallback = {| + "-moz-animation-delay"?: FallbackableGlobalsString, + "-moz-animation-direction"?: FallbackableAnimationDirectionProperty, + "-moz-animation-duration"?: FallbackableGlobalsString, + "-moz-animation-fill-mode"?: FallbackableAnimationFillModeProperty, + "-moz-animation-iteration-count"?: FallbackableAnimationIterationCountProperty, + "-moz-animation-name"?: FallbackableAnimationNameProperty, + "-moz-animation-play-state"?: FallbackableAnimationPlayStateProperty, + "-moz-animation-timing-function"?: FallbackableAnimationTimingFunctionProperty, + "-moz-appearance"?: FallbackableMozAppearanceProperty, + "-moz-backface-visibility"?: FallbackableBackfaceVisibilityProperty, + "-moz-border-bottom-colors"?: FallbackableMozBorderBottomColorsProperty, + "-moz-border-end-color"?: FallbackableBorderInlineEndColorProperty, + "-moz-border-end-style"?: FallbackableBorderInlineEndStyleProperty, + "-moz-border-end-width"?: FallbackableBorderInlineEndWidthProperty, + "-moz-border-left-colors"?: FallbackableMozBorderLeftColorsProperty, + "-moz-border-right-colors"?: FallbackableMozBorderRightColorsProperty, + "-moz-border-start-color"?: FallbackableBorderInlineStartColorProperty, + "-moz-border-start-style"?: FallbackableBorderInlineStartStyleProperty, + "-moz-border-top-colors"?: FallbackableMozBorderTopColorsProperty, + "-moz-box-sizing"?: FallbackableBoxSizingProperty, + "-moz-column-count"?: FallbackableColumnCountProperty, + "-moz-column-fill"?: FallbackableColumnFillProperty, + "-moz-column-gap"?: FallbackableColumnGapProperty, + "-moz-column-rule-color"?: FallbackableColumnRuleColorProperty, + "-moz-column-rule-style"?: FallbackableColumnRuleStyleProperty, + "-moz-column-rule-width"?: FallbackableColumnRuleWidthProperty, + "-moz-column-width"?: FallbackableColumnWidthProperty, + "-moz-context-properties"?: FallbackableMozContextPropertiesProperty, + "-moz-float-edge"?: FallbackableMozFloatEdgeProperty, + "-moz-font-feature-settings"?: FallbackableFontFeatureSettingsProperty, + "-moz-font-language-override"?: FallbackableFontLanguageOverrideProperty, + "-moz-force-broken-image-icon"?: FallbackableGlobalsNumber, + "-moz-hyphens"?: FallbackableHyphensProperty, + "-moz-image-region"?: FallbackableMozImageRegionProperty, + "-moz-margin-end"?: FallbackableMarginInlineEndProperty, + "-moz-margin-start"?: FallbackableMarginInlineStartProperty, + "-moz-orient"?: FallbackableMozOrientProperty, + "-moz-outline-radius-bottomleft"?: FallbackableMozOutlineRadiusBottomleftProperty, + "-moz-outline-radius-bottomright"?: FallbackableMozOutlineRadiusBottomrightProperty, + "-moz-outline-radius-topleft"?: FallbackableMozOutlineRadiusTopleftProperty, + "-moz-outline-radius-topright"?: FallbackableMozOutlineRadiusToprightProperty, + "-moz-padding-end"?: FallbackablePaddingInlineEndProperty, + "-moz-padding-start"?: FallbackablePaddingInlineStartProperty, + "-moz-perspective"?: FallbackablePerspectiveProperty, + "-moz-perspective-origin"?: FallbackablePerspectiveOriginProperty, + "-moz-stack-sizing"?: FallbackableMozStackSizingProperty, + "-moz-tab-size"?: FallbackableTabSizeProperty, + "-moz-text-size-adjust"?: FallbackableTextSizeAdjustProperty, + "-moz-transform-origin"?: FallbackableTransformOriginProperty, + "-moz-transform-style"?: FallbackableTransformStyleProperty, + "-moz-transition-delay"?: FallbackableGlobalsString, + "-moz-transition-duration"?: FallbackableGlobalsString, + "-moz-transition-property"?: FallbackableTransitionPropertyProperty, + "-moz-transition-timing-function"?: FallbackableTransitionTimingFunctionProperty, + "-moz-user-focus"?: FallbackableMozUserFocusProperty, + "-moz-user-modify"?: FallbackableMozUserModifyProperty, + "-moz-user-select"?: FallbackableUserSelectProperty, + "-moz-window-dragging"?: FallbackableMozWindowDraggingProperty, + "-moz-window-shadow"?: FallbackableMozWindowShadowProperty, + "-ms-accelerator"?: FallbackableMsAcceleratorProperty, + "-ms-align-self"?: FallbackableAlignSelfProperty, + "-ms-block-progression"?: FallbackableMsBlockProgressionProperty, + "-ms-content-zoom-chaining"?: FallbackableMsContentZoomChainingProperty, + "-ms-content-zoom-limit-max"?: FallbackableGlobalsString, + "-ms-content-zoom-limit-min"?: FallbackableGlobalsString, + "-ms-content-zoom-snap-points"?: FallbackableGlobalsString, + "-ms-content-zoom-snap-type"?: FallbackableMsContentZoomSnapTypeProperty, + "-ms-content-zooming"?: FallbackableMsContentZoomingProperty, + "-ms-filter"?: FallbackableGlobalsString, + "-ms-flex-direction"?: FallbackableFlexDirectionProperty, + "-ms-flex-positive"?: FallbackableGlobalsNumber, + "-ms-flow-from"?: FallbackableMsFlowFromProperty, + "-ms-flow-into"?: FallbackableMsFlowIntoProperty, + "-ms-grid-columns"?: FallbackableGridAutoColumnsProperty, + "-ms-grid-rows"?: FallbackableGridAutoRowsProperty, + "-ms-high-contrast-adjust"?: FallbackableMsHighContrastAdjustProperty, + "-ms-hyphenate-limit-chars"?: FallbackableMsHyphenateLimitCharsProperty, + "-ms-hyphenate-limit-lines"?: FallbackableMsHyphenateLimitLinesProperty, + "-ms-hyphenate-limit-zone"?: FallbackableMsHyphenateLimitZoneProperty, + "-ms-hyphens"?: FallbackableHyphensProperty, + "-ms-ime-align"?: FallbackableMsImeAlignProperty, + "-ms-line-break"?: FallbackableLineBreakProperty, + "-ms-order"?: FallbackableGlobalsNumber, + "-ms-overflow-style"?: FallbackableMsOverflowStyleProperty, + "-ms-overflow-x"?: FallbackableOverflowXProperty, + "-ms-overflow-y"?: FallbackableOverflowYProperty, + "-ms-scroll-chaining"?: FallbackableMsScrollChainingProperty, + "-ms-scroll-limit-x-max"?: FallbackableMsScrollLimitXMaxProperty, + "-ms-scroll-limit-x-min"?: FallbackableMsScrollLimitXMinProperty, + "-ms-scroll-limit-y-max"?: FallbackableMsScrollLimitYMaxProperty, + "-ms-scroll-limit-y-min"?: FallbackableMsScrollLimitYMinProperty, + "-ms-scroll-rails"?: FallbackableMsScrollRailsProperty, + "-ms-scroll-snap-points-x"?: FallbackableGlobalsString, + "-ms-scroll-snap-points-y"?: FallbackableGlobalsString, + "-ms-scroll-snap-type"?: FallbackableMsScrollSnapTypeProperty, + "-ms-scroll-translation"?: FallbackableMsScrollTranslationProperty, + "-ms-text-autospace"?: FallbackableMsTextAutospaceProperty, + "-ms-text-combine-horizontal"?: FallbackableTextCombineUprightProperty, + "-ms-text-overflow"?: FallbackableTextOverflowProperty, + "-ms-text-size-adjust"?: FallbackableTextSizeAdjustProperty, + "-ms-touch-action"?: FallbackableTouchActionProperty, + "-ms-touch-select"?: FallbackableMsTouchSelectProperty, + "-ms-transform"?: FallbackableTransformProperty, + "-ms-transform-origin"?: FallbackableTransformOriginProperty, + "-ms-user-select"?: FallbackableMsUserSelectProperty, + "-ms-word-break"?: FallbackableWordBreakProperty, + "-ms-wrap-flow"?: FallbackableMsWrapFlowProperty, + "-ms-wrap-margin"?: FallbackableMsWrapMarginProperty, + "-ms-wrap-through"?: FallbackableMsWrapThroughProperty, + "-ms-writing-mode"?: FallbackableWritingModeProperty, + "-o-object-fit"?: FallbackableObjectFitProperty, + "-o-object-position"?: FallbackableObjectPositionProperty, + "-o-tab-size"?: FallbackableTabSizeProperty, + "-o-text-overflow"?: FallbackableTextOverflowProperty, + "-o-transform-origin"?: FallbackableTransformOriginProperty, + "-webkit-align-content"?: FallbackableAlignContentProperty, + "-webkit-align-items"?: FallbackableAlignItemsProperty, + "-webkit-align-self"?: FallbackableAlignSelfProperty, + "-webkit-animation-delay"?: FallbackableGlobalsString, + "-webkit-animation-direction"?: FallbackableAnimationDirectionProperty, + "-webkit-animation-duration"?: FallbackableGlobalsString, + "-webkit-animation-fill-mode"?: FallbackableAnimationFillModeProperty, + "-webkit-animation-iteration-count"?: FallbackableAnimationIterationCountProperty, + "-webkit-animation-name"?: FallbackableAnimationNameProperty, + "-webkit-animation-play-state"?: FallbackableAnimationPlayStateProperty, + "-webkit-animation-timing-function"?: FallbackableAnimationTimingFunctionProperty, + "-webkit-appearance"?: FallbackableWebkitAppearanceProperty, + "-webkit-backdrop-filter"?: FallbackableBackdropFilterProperty, + "-webkit-backface-visibility"?: FallbackableBackfaceVisibilityProperty, + "-webkit-background-clip"?: FallbackableBackgroundClipProperty, + "-webkit-background-origin"?: FallbackableBackgroundOriginProperty, + "-webkit-background-size"?: FallbackableBackgroundSizeProperty, + "-webkit-border-before-color"?: FallbackableWebkitBorderBeforeColorProperty, + "-webkit-border-before-style"?: FallbackableWebkitBorderBeforeStyleProperty, + "-webkit-border-before-width"?: FallbackableWebkitBorderBeforeWidthProperty, + "-webkit-border-bottom-left-radius"?: FallbackableBorderBottomLeftRadiusProperty, + "-webkit-border-bottom-right-radius"?: FallbackableBorderBottomRightRadiusProperty, + "-webkit-border-image-slice"?: FallbackableBorderImageSliceProperty, + "-webkit-border-top-left-radius"?: FallbackableBorderTopLeftRadiusProperty, + "-webkit-border-top-right-radius"?: FallbackableBorderTopRightRadiusProperty, + "-webkit-box-decoration-break"?: FallbackableBoxDecorationBreakProperty, + "-webkit-box-reflect"?: FallbackableWebkitBoxReflectProperty, + "-webkit-box-shadow"?: FallbackableBoxShadowProperty, + "-webkit-box-sizing"?: FallbackableBoxSizingProperty, + "-webkit-clip-path"?: FallbackableClipPathProperty, + "-webkit-color-adjust"?: FallbackableColorAdjustProperty, + "-webkit-column-count"?: FallbackableColumnCountProperty, + "-webkit-column-gap"?: FallbackableColumnGapProperty, + "-webkit-column-rule-color"?: FallbackableColumnRuleColorProperty, + "-webkit-column-rule-style"?: FallbackableColumnRuleStyleProperty, + "-webkit-column-rule-width"?: FallbackableColumnRuleWidthProperty, + "-webkit-column-span"?: FallbackableColumnSpanProperty, + "-webkit-column-width"?: FallbackableColumnWidthProperty, + "-webkit-filter"?: FallbackableFilterProperty, + "-webkit-flex-basis"?: FallbackableFlexBasisProperty, + "-webkit-flex-direction"?: FallbackableFlexDirectionProperty, + "-webkit-flex-grow"?: FallbackableGlobalsNumber, + "-webkit-flex-shrink"?: FallbackableGlobalsNumber, + "-webkit-flex-wrap"?: FallbackableFlexWrapProperty, + "-webkit-font-feature-settings"?: FallbackableFontFeatureSettingsProperty, + "-webkit-font-kerning"?: FallbackableFontKerningProperty, + "-webkit-font-variant-ligatures"?: FallbackableFontVariantLigaturesProperty, + "-webkit-hyphens"?: FallbackableHyphensProperty, + "-webkit-justify-content"?: FallbackableJustifyContentProperty, + "-webkit-line-break"?: FallbackableLineBreakProperty, + "-webkit-margin-end"?: FallbackableMarginInlineEndProperty, + "-webkit-margin-start"?: FallbackableMarginInlineStartProperty, + "-webkit-mask-attachment"?: FallbackableWebkitMaskAttachmentProperty, + "-webkit-mask-clip"?: FallbackableWebkitMaskClipProperty, + "-webkit-mask-composite"?: FallbackableWebkitMaskCompositeProperty, + "-webkit-mask-image"?: FallbackableWebkitMaskImageProperty, + "-webkit-mask-origin"?: FallbackableWebkitMaskOriginProperty, + "-webkit-mask-position"?: FallbackableWebkitMaskPositionProperty, + "-webkit-mask-position-x"?: FallbackableWebkitMaskPositionXProperty, + "-webkit-mask-position-y"?: FallbackableWebkitMaskPositionYProperty, + "-webkit-mask-repeat"?: FallbackableWebkitMaskRepeatProperty, + "-webkit-mask-repeat-x"?: FallbackableWebkitMaskRepeatXProperty, + "-webkit-mask-repeat-y"?: FallbackableWebkitMaskRepeatYProperty, + "-webkit-mask-size"?: FallbackableWebkitMaskSizeProperty, + "-webkit-max-inline-size"?: FallbackableMaxInlineSizeProperty, + "-webkit-order"?: FallbackableGlobalsNumber, + "-webkit-overflow-scrolling"?: FallbackableWebkitOverflowScrollingProperty, + "-webkit-padding-end"?: FallbackablePaddingInlineEndProperty, + "-webkit-padding-start"?: FallbackablePaddingInlineStartProperty, + "-webkit-perspective"?: FallbackablePerspectiveProperty, + "-webkit-perspective-origin"?: FallbackablePerspectiveOriginProperty, + "-webkit-scroll-snap-type"?: FallbackableScrollSnapTypeProperty, + "-webkit-shape-margin"?: FallbackableShapeMarginProperty, + "-webkit-tap-highlight-color"?: FallbackableWebkitTapHighlightColorProperty, + "-webkit-text-combine"?: FallbackableTextCombineUprightProperty, + "-webkit-text-decoration-color"?: FallbackableTextDecorationColorProperty, + "-webkit-text-decoration-line"?: FallbackableTextDecorationLineProperty, + "-webkit-text-decoration-skip"?: FallbackableTextDecorationSkipProperty, + "-webkit-text-decoration-style"?: FallbackableTextDecorationStyleProperty, + "-webkit-text-emphasis-color"?: FallbackableTextEmphasisColorProperty, + "-webkit-text-emphasis-position"?: FallbackableGlobalsString, + "-webkit-text-emphasis-style"?: FallbackableTextEmphasisStyleProperty, + "-webkit-text-fill-color"?: FallbackableWebkitTextFillColorProperty, + "-webkit-text-orientation"?: FallbackableTextOrientationProperty, + "-webkit-text-size-adjust"?: FallbackableTextSizeAdjustProperty, + "-webkit-text-stroke-color"?: FallbackableWebkitTextStrokeColorProperty, + "-webkit-text-stroke-width"?: FallbackableWebkitTextStrokeWidthProperty, + "-webkit-touch-callout"?: FallbackableWebkitTouchCalloutProperty, + "-webkit-transform"?: FallbackableTransformProperty, + "-webkit-transform-origin"?: FallbackableTransformOriginProperty, + "-webkit-transform-style"?: FallbackableTransformStyleProperty, + "-webkit-transition-delay"?: FallbackableGlobalsString, + "-webkit-transition-duration"?: FallbackableGlobalsString, + "-webkit-transition-property"?: FallbackableTransitionPropertyProperty, + "-webkit-transition-timing-function"?: FallbackableTransitionTimingFunctionProperty, + "-webkit-user-modify"?: FallbackableWebkitUserModifyProperty, + "-webkit-user-select"?: FallbackableUserSelectProperty, + "-webkit-writing-mode"?: FallbackableWritingModeProperty, +|}; + +export type VendorShorthandPropertiesHyphenFallback = {| + "-moz-animation"?: FallbackableAnimationProperty, + "-moz-border-image"?: FallbackableBorderImageProperty, + "-moz-column-rule"?: FallbackableColumnRuleProperty, + "-moz-columns"?: FallbackableColumnsProperty, + "-moz-transition"?: FallbackableTransitionProperty, + "-ms-content-zoom-limit"?: FallbackableGlobalsString, + "-ms-content-zoom-snap"?: FallbackableMsContentZoomSnapProperty, + "-ms-flex"?: FallbackableFlexProperty, + "-ms-scroll-limit"?: FallbackableGlobalsString, + "-ms-scroll-snap-x"?: FallbackableGlobalsString, + "-ms-scroll-snap-y"?: FallbackableGlobalsString, + "-o-border-image"?: FallbackableBorderImageProperty, + "-webkit-animation"?: FallbackableAnimationProperty, + "-webkit-border-before"?: FallbackableWebkitBorderBeforeProperty, + "-webkit-border-image"?: FallbackableBorderImageProperty, + "-webkit-border-radius"?: FallbackableBorderRadiusProperty, + "-webkit-column-rule"?: FallbackableColumnRuleProperty, + "-webkit-columns"?: FallbackableColumnsProperty, + "-webkit-flex"?: FallbackableFlexProperty, + "-webkit-flex-flow"?: FallbackableFlexFlowProperty, + "-webkit-line-clamp"?: FallbackableWebkitLineClampProperty, + "-webkit-mask"?: FallbackableWebkitMaskProperty, + "-webkit-text-emphasis"?: FallbackableTextEmphasisProperty, + "-webkit-text-stroke"?: FallbackableWebkitTextStrokeProperty, + "-webkit-transition"?: FallbackableTransitionProperty, +|}; + +export type VendorPropertiesHyphenFallback = {| ...VendorLonghandPropertiesHyphenFallback, ...VendorShorthandPropertiesHyphenFallback |}; + +export type ObsoletePropertiesHyphenFallback = {| + "box-align"?: FallbackableBoxAlignProperty, + "box-direction"?: FallbackableBoxDirectionProperty, + "box-flex"?: FallbackableGlobalsNumber, + "box-flex-group"?: FallbackableGlobalsNumber, + "box-lines"?: FallbackableBoxLinesProperty, + "box-ordinal-group"?: FallbackableGlobalsNumber, + "box-orient"?: FallbackableBoxOrientProperty, + "box-pack"?: FallbackableBoxPackProperty, + clip?: FallbackableClipProperty, + "font-variant-alternates"?: FallbackableFontVariantAlternatesProperty, + "grid-column-gap"?: FallbackableGridColumnGapProperty, + "grid-gap"?: FallbackableGridGapProperty, + "grid-row-gap"?: FallbackableGridRowGapProperty, + "ime-mode"?: FallbackableImeModeProperty, + "offset-block-end"?: FallbackableInsetBlockEndProperty, + "offset-block-start"?: FallbackableInsetBlockStartProperty, + "offset-inline-end"?: FallbackableInsetInlineEndProperty, + "offset-inline-start"?: FallbackableInsetInlineStartProperty, + "scroll-snap-coordinate"?: FallbackableScrollSnapCoordinateProperty, + "scroll-snap-destination"?: FallbackableScrollSnapDestinationProperty, + "scroll-snap-points-x"?: FallbackableScrollSnapPointsXProperty, + "scroll-snap-points-y"?: FallbackableScrollSnapPointsYProperty, + "scroll-snap-type-x"?: FallbackableScrollSnapTypeXProperty, + "scroll-snap-type-y"?: FallbackableScrollSnapTypeYProperty, + "text-combine-horizontal"?: FallbackableTextCombineUprightProperty, + "-khtml-box-align"?: FallbackableBoxAlignProperty, + "-khtml-box-direction"?: FallbackableBoxDirectionProperty, + "-khtml-box-flex"?: FallbackableGlobalsNumber, + "-khtml-box-flex-group"?: FallbackableGlobalsNumber, + "-khtml-box-lines"?: FallbackableBoxLinesProperty, + "-khtml-box-ordinal-group"?: FallbackableGlobalsNumber, + "-khtml-box-orient"?: FallbackableBoxOrientProperty, + "-khtml-box-pack"?: FallbackableBoxPackProperty, + "-moz-background-clip"?: FallbackableBackgroundClipProperty, + "-moz-background-inline-policy"?: FallbackableBoxDecorationBreakProperty, + "-moz-background-origin"?: FallbackableBackgroundOriginProperty, + "-moz-background-size"?: FallbackableBackgroundSizeProperty, + "-moz-binding"?: FallbackableMozBindingProperty, + "-moz-border-radius"?: FallbackableBorderRadiusProperty, + "-moz-border-radius-bottomleft"?: FallbackableBorderBottomLeftRadiusProperty, + "-moz-border-radius-bottomright"?: FallbackableBorderBottomRightRadiusProperty, + "-moz-border-radius-topleft"?: FallbackableBorderTopLeftRadiusProperty, + "-moz-border-radius-topright"?: FallbackableBorderTopRightRadiusProperty, + "-moz-box-align"?: FallbackableBoxAlignProperty, + "-moz-box-direction"?: FallbackableBoxDirectionProperty, + "-moz-box-flex"?: FallbackableGlobalsNumber, + "-moz-box-ordinal-group"?: FallbackableGlobalsNumber, + "-moz-box-orient"?: FallbackableBoxOrientProperty, + "-moz-box-pack"?: FallbackableBoxPackProperty, + "-moz-box-shadow"?: FallbackableBoxShadowProperty, + "-moz-opacity"?: FallbackableGlobalsNumber, + "-moz-outline"?: FallbackableOutlineProperty, + "-moz-outline-color"?: FallbackableOutlineColorProperty, + "-moz-outline-radius"?: FallbackableMozOutlineRadiusProperty, + "-moz-outline-style"?: FallbackableOutlineStyleProperty, + "-moz-outline-width"?: FallbackableOutlineWidthProperty, + "-moz-resize"?: FallbackableResizeProperty, + "-moz-text-align-last"?: FallbackableTextAlignLastProperty, + "-moz-text-blink"?: FallbackableMozTextBlinkProperty, + "-moz-text-decoration-color"?: FallbackableTextDecorationColorProperty, + "-moz-text-decoration-line"?: FallbackableTextDecorationLineProperty, + "-moz-text-decoration-style"?: FallbackableTextDecorationStyleProperty, + "-moz-user-input"?: FallbackableMozUserInputProperty, + "-ms-ime-mode"?: FallbackableImeModeProperty, + "-ms-scrollbar-3dlight-color"?: FallbackableMsScrollbar3dlightColorProperty, + "-ms-scrollbar-arrow-color"?: FallbackableMsScrollbarArrowColorProperty, + "-ms-scrollbar-base-color"?: FallbackableMsScrollbarBaseColorProperty, + "-ms-scrollbar-darkshadow-color"?: FallbackableMsScrollbarDarkshadowColorProperty, + "-ms-scrollbar-face-color"?: FallbackableMsScrollbarFaceColorProperty, + "-ms-scrollbar-highlight-color"?: FallbackableMsScrollbarHighlightColorProperty, + "-ms-scrollbar-shadow-color"?: FallbackableMsScrollbarShadowColorProperty, + "-ms-scrollbar-track-color"?: FallbackableMsScrollbarTrackColorProperty, + "-o-animation"?: FallbackableAnimationProperty, + "-o-animation-delay"?: FallbackableGlobalsString, + "-o-animation-direction"?: FallbackableAnimationDirectionProperty, + "-o-animation-duration"?: FallbackableGlobalsString, + "-o-animation-fill-mode"?: FallbackableAnimationFillModeProperty, + "-o-animation-iteration-count"?: FallbackableAnimationIterationCountProperty, + "-o-animation-name"?: FallbackableAnimationNameProperty, + "-o-animation-play-state"?: FallbackableAnimationPlayStateProperty, + "-o-animation-timing-function"?: FallbackableAnimationTimingFunctionProperty, + "-o-background-size"?: FallbackableBackgroundSizeProperty, + "-o-transform"?: FallbackableTransformProperty, + "-o-transition"?: FallbackableTransitionProperty, + "-o-transition-delay"?: FallbackableGlobalsString, + "-o-transition-duration"?: FallbackableGlobalsString, + "-o-transition-property"?: FallbackableTransitionPropertyProperty, + "-o-transition-timing-function"?: FallbackableTransitionTimingFunctionProperty, + "-webkit-box-align"?: FallbackableBoxAlignProperty, + "-webkit-box-direction"?: FallbackableBoxDirectionProperty, + "-webkit-box-flex"?: FallbackableGlobalsNumber, + "-webkit-box-flex-group"?: FallbackableGlobalsNumber, + "-webkit-box-lines"?: FallbackableBoxLinesProperty, + "-webkit-box-ordinal-group"?: FallbackableGlobalsNumber, + "-webkit-box-orient"?: FallbackableBoxOrientProperty, + "-webkit-box-pack"?: FallbackableBoxPackProperty, + "-webkit-scroll-snap-points-x"?: FallbackableScrollSnapPointsXProperty, + "-webkit-scroll-snap-points-y"?: FallbackableScrollSnapPointsYProperty, +|}; + +export type SvgPropertiesHyphenFallback = {| + "alignment-baseline"?: FallbackableAlignmentBaselineProperty, + "baseline-shift"?: FallbackableBaselineShiftProperty, + clip?: FallbackableClipProperty, + "clip-path"?: FallbackableClipPathProperty, + "clip-rule"?: FallbackableClipRuleProperty, + color?: FallbackableColorProperty, + "color-interpolation"?: FallbackableColorInterpolationProperty, + "color-rendering"?: FallbackableColorRenderingProperty, + cursor?: FallbackableCursorProperty, + direction?: FallbackableDirectionProperty, + display?: FallbackableDisplayProperty, + "dominant-baseline"?: FallbackableDominantBaselineProperty, + fill?: FallbackableFillProperty, + "fill-opacity"?: FallbackableGlobalsNumber, + "fill-rule"?: FallbackableFillRuleProperty, + filter?: FallbackableFilterProperty, + "flood-color"?: FallbackableFloodColorProperty, + "flood-opacity"?: FallbackableGlobalsNumber, + font?: FallbackableFontProperty, + "font-family"?: FallbackableFontFamilyProperty, + "font-size"?: FallbackableFontSizeProperty, + "font-size-adjust"?: FallbackableFontSizeAdjustProperty, + "font-stretch"?: FallbackableFontStretchProperty, + "font-style"?: FallbackableFontStyleProperty, + "font-variant"?: FallbackableFontVariantProperty, + "font-weight"?: FallbackableFontWeightProperty, + "glyph-orientation-vertical"?: FallbackableGlyphOrientationVerticalProperty, + "image-rendering"?: FallbackableImageRenderingProperty, + "letter-spacing"?: FallbackableLetterSpacingProperty, + "lighting-color"?: FallbackableLightingColorProperty, + "line-height"?: FallbackableLineHeightProperty, + marker?: FallbackableMarkerProperty, + "marker-end"?: FallbackableMarkerEndProperty, + "marker-mid"?: FallbackableMarkerMidProperty, + "marker-start"?: FallbackableMarkerStartProperty, + mask?: FallbackableMaskProperty, + opacity?: FallbackableGlobalsNumber, + overflow?: FallbackableOverflowProperty, + "paint-order"?: FallbackablePaintOrderProperty, + "pointer-events"?: FallbackablePointerEventsProperty, + "shape-rendering"?: FallbackableShapeRenderingProperty, + "stop-color"?: FallbackableStopColorProperty, + "stop-opacity"?: FallbackableGlobalsNumber, + stroke?: FallbackableStrokeProperty, + "stroke-dasharray"?: FallbackableStrokeDasharrayProperty, + "stroke-dashoffset"?: FallbackableStrokeDashoffsetProperty, + "stroke-linecap"?: FallbackableStrokeLinecapProperty, + "stroke-linejoin"?: FallbackableStrokeLinejoinProperty, + "stroke-miterlimit"?: FallbackableGlobalsNumber, + "stroke-opacity"?: FallbackableGlobalsNumber, + "stroke-width"?: FallbackableStrokeWidthProperty, + "text-anchor"?: FallbackableTextAnchorProperty, + "text-decoration"?: FallbackableTextDecorationProperty, + "text-rendering"?: FallbackableTextRenderingProperty, + "unicode-bidi"?: FallbackableUnicodeBidiProperty, + "vector-effect"?: FallbackableVectorEffectProperty, + visibility?: FallbackableVisibilityProperty, + "white-space"?: FallbackableWhiteSpaceProperty, + "word-spacing"?: FallbackableWordSpacingProperty, + "writing-mode"?: FallbackableWritingModeProperty, +|}; + +export type PropertiesHyphenFallback = {| + ...StandardPropertiesHyphenFallback, + ...VendorPropertiesHyphenFallback, + ...ObsoletePropertiesHyphenFallback, + ...SvgPropertiesHyphenFallback, +|}; + +export type CounterStyle = {| additiveSymbols?: string, fallback?: string, negative?: string, @@ -3187,9 +3708,9 @@ export type CounterStyle = { suffix?: string, symbols?: string, system?: CounterStyleSystemProperty, -}; +|}; -export type CounterStyleHyphen = { +export type CounterStyleHyphen = {| "additive-symbols"?: string, fallback?: string, negative?: string, @@ -3200,35 +3721,35 @@ export type CounterStyleHyphen = { suffix?: string, symbols?: string, system?: CounterStyleSystemProperty, -}; - -export type CounterStyleFallback = { - additiveSymbols?: string | string[], - fallback?: string | string[], - negative?: string | string[], - pad?: string | string[], - prefix?: string | string[], - range?: CounterStyleRangeProperty | CounterStyleRangeProperty[], - speakAs?: CounterStyleSpeakAsProperty | CounterStyleSpeakAsProperty[], - suffix?: string | string[], - symbols?: string | string[], - system?: CounterStyleSystemProperty | CounterStyleSystemProperty[], -}; - -export type CounterStyleHyphenFallback = { - "additive-symbols"?: string | string[], - fallback?: string | string[], - negative?: string | string[], - pad?: string | string[], - prefix?: string | string[], - range?: CounterStyleRangeProperty | CounterStyleRangeProperty[], - "speak-as"?: CounterStyleSpeakAsProperty | CounterStyleSpeakAsProperty[], - suffix?: string | string[], - symbols?: string | string[], - system?: CounterStyleSystemProperty | CounterStyleSystemProperty[], -}; - -export type FontFace = { +|}; + +export type CounterStyleFallback = {| + additiveSymbols?: FallbackableString, + fallback?: FallbackableString, + negative?: FallbackableString, + pad?: FallbackableString, + prefix?: FallbackableString, + range?: FallbackableCounterStyleRangeProperty, + speakAs?: FallbackableCounterStyleSpeakAsProperty, + suffix?: FallbackableString, + symbols?: FallbackableString, + system?: FallbackableCounterStyleSystemProperty, +|}; + +export type CounterStyleHyphenFallback = {| + "additive-symbols"?: FallbackableString, + fallback?: FallbackableString, + negative?: FallbackableString, + pad?: FallbackableString, + prefix?: FallbackableString, + range?: FallbackableCounterStyleRangeProperty, + "speak-as"?: FallbackableCounterStyleSpeakAsProperty, + suffix?: FallbackableString, + symbols?: FallbackableString, + system?: FallbackableCounterStyleSystemProperty, +|}; + +export type FontFace = {| MozFontFeatureSettings?: FontFaceFontFeatureSettingsProperty, fontDisplay?: FontFaceFontDisplayProperty, fontFamily?: string, @@ -3240,9 +3761,9 @@ export type FontFace = { fontWeight?: FontFaceFontWeightProperty, src?: string, unicodeRange?: string, -}; +|}; -export type FontFaceHyphen = { +export type FontFaceHyphen = {| "-moz-font-feature-settings"?: FontFaceFontFeatureSettingsProperty, "font-display"?: FontFaceFontDisplayProperty, "font-family"?: string, @@ -3254,57 +3775,57 @@ export type FontFaceHyphen = { "font-weight"?: FontFaceFontWeightProperty, src?: string, "unicode-range"?: string, -}; - -export type FontFaceFallback = { - MozFontFeatureSettings?: FontFaceFontFeatureSettingsProperty | FontFaceFontFeatureSettingsProperty[], - fontDisplay?: FontFaceFontDisplayProperty | FontFaceFontDisplayProperty[], - fontFamily?: string | string[], - fontFeatureSettings?: FontFaceFontFeatureSettingsProperty | FontFaceFontFeatureSettingsProperty[], - fontStretch?: FontFaceFontStretchProperty | FontFaceFontStretchProperty[], - fontStyle?: FontFaceFontStyleProperty | FontFaceFontStyleProperty[], - fontVariant?: FontFaceFontVariantProperty | FontFaceFontVariantProperty[], - fontVariationSettings?: FontFaceFontVariationSettingsProperty | FontFaceFontVariationSettingsProperty[], - fontWeight?: FontFaceFontWeightProperty | FontFaceFontWeightProperty[], - src?: string | string[], - unicodeRange?: string | string[], -}; - -export type FontFaceHyphenFallback = { - "-moz-font-feature-settings"?: FontFaceFontFeatureSettingsProperty | FontFaceFontFeatureSettingsProperty[], - "font-display"?: FontFaceFontDisplayProperty | FontFaceFontDisplayProperty[], - "font-family"?: string | string[], - "font-feature-settings"?: FontFaceFontFeatureSettingsProperty | FontFaceFontFeatureSettingsProperty[], - "font-stretch"?: FontFaceFontStretchProperty | FontFaceFontStretchProperty[], - "font-style"?: FontFaceFontStyleProperty | FontFaceFontStyleProperty[], - "font-variant"?: FontFaceFontVariantProperty | FontFaceFontVariantProperty[], - "font-variation-settings"?: FontFaceFontVariationSettingsProperty | FontFaceFontVariationSettingsProperty[], - "font-weight"?: FontFaceFontWeightProperty | FontFaceFontWeightProperty[], - src?: string | string[], - "unicode-range"?: string | string[], -}; - -export type Page = { +|}; + +export type FontFaceFallback = {| + MozFontFeatureSettings?: FallbackableFontFaceFontFeatureSettingsProperty, + fontDisplay?: FallbackableFontFaceFontDisplayProperty, + fontFamily?: FallbackableString, + fontFeatureSettings?: FallbackableFontFaceFontFeatureSettingsProperty, + fontStretch?: FallbackableFontFaceFontStretchProperty, + fontStyle?: FallbackableFontFaceFontStyleProperty, + fontVariant?: FallbackableFontFaceFontVariantProperty, + fontVariationSettings?: FallbackableFontFaceFontVariationSettingsProperty, + fontWeight?: FallbackableFontFaceFontWeightProperty, + src?: FallbackableString, + unicodeRange?: FallbackableString, +|}; + +export type FontFaceHyphenFallback = {| + "-moz-font-feature-settings"?: FallbackableFontFaceFontFeatureSettingsProperty, + "font-display"?: FallbackableFontFaceFontDisplayProperty, + "font-family"?: FallbackableString, + "font-feature-settings"?: FallbackableFontFaceFontFeatureSettingsProperty, + "font-stretch"?: FallbackableFontFaceFontStretchProperty, + "font-style"?: FallbackableFontFaceFontStyleProperty, + "font-variant"?: FallbackableFontFaceFontVariantProperty, + "font-variation-settings"?: FallbackableFontFaceFontVariationSettingsProperty, + "font-weight"?: FallbackableFontFaceFontWeightProperty, + src?: FallbackableString, + "unicode-range"?: FallbackableString, +|}; + +export type Page = {| bleed?: PageBleedProperty, marks?: PageMarksProperty, -}; +|}; -export type PageHyphen = { +export type PageHyphen = {| bleed?: PageBleedProperty, marks?: PageMarksProperty, -}; +|}; -export type PageFallback = { - bleed?: PageBleedProperty | PageBleedProperty[], - marks?: PageMarksProperty | PageMarksProperty[], -}; +export type PageFallback = {| + bleed?: FallbackablePageBleedProperty, + marks?: FallbackablePageMarksProperty, +|}; -export type PageHyphenFallback = { - bleed?: PageBleedProperty | PageBleedProperty[], - marks?: PageMarksProperty | PageMarksProperty[], -}; +export type PageHyphenFallback = {| + bleed?: FallbackablePageBleedProperty, + marks?: FallbackablePageMarksProperty, +|}; -export type Viewport = { +export type Viewport = {| msHeight?: ViewportHeightProperty, msMaxHeight?: ViewportMaxHeightProperty, msMaxWidth?: ViewportMaxWidthProperty, @@ -3328,9 +3849,9 @@ export type Viewport = { userZoom?: ViewportUserZoomProperty, width?: ViewportWidthProperty, zoom?: ViewportZoomProperty, -}; +|}; -export type ViewportHyphen = { +export type ViewportHyphen = {| "-ms-height"?: ViewportHeightProperty, "-ms-max-height"?: ViewportMaxHeightProperty, "-ms-max-width"?: ViewportMaxWidthProperty, @@ -3354,59 +3875,59 @@ export type ViewportHyphen = { "user-zoom"?: ViewportUserZoomProperty, width?: ViewportWidthProperty, zoom?: ViewportZoomProperty, -}; - -export type ViewportFallback = { - msHeight?: ViewportHeightProperty | ViewportHeightProperty[], - msMaxHeight?: ViewportMaxHeightProperty | ViewportMaxHeightProperty[], - msMaxWidth?: ViewportMaxWidthProperty | ViewportMaxWidthProperty[], - msMaxZoom?: ViewportMaxZoomProperty | ViewportMaxZoomProperty[], - msMinHeight?: ViewportMinHeightProperty | ViewportMinHeightProperty[], - msMinWidth?: ViewportMinWidthProperty | ViewportMinWidthProperty[], - msMinZoom?: ViewportMinZoomProperty | ViewportMinZoomProperty[], - msOrientation?: ViewportOrientationProperty | ViewportOrientationProperty[], - msUserZoom?: ViewportUserZoomProperty | ViewportUserZoomProperty[], - msWidth?: ViewportWidthProperty | ViewportWidthProperty[], - msZoom?: ViewportZoomProperty | ViewportZoomProperty[], - OOrientation?: ViewportOrientationProperty | ViewportOrientationProperty[], - height?: ViewportHeightProperty | ViewportHeightProperty[], - maxHeight?: ViewportMaxHeightProperty | ViewportMaxHeightProperty[], - maxWidth?: ViewportMaxWidthProperty | ViewportMaxWidthProperty[], - maxZoom?: ViewportMaxZoomProperty | ViewportMaxZoomProperty[], - minHeight?: ViewportMinHeightProperty | ViewportMinHeightProperty[], - minWidth?: ViewportMinWidthProperty | ViewportMinWidthProperty[], - minZoom?: ViewportMinZoomProperty | ViewportMinZoomProperty[], - orientation?: ViewportOrientationProperty | ViewportOrientationProperty[], - userZoom?: ViewportUserZoomProperty | ViewportUserZoomProperty[], - width?: ViewportWidthProperty | ViewportWidthProperty[], - zoom?: ViewportZoomProperty | ViewportZoomProperty[], -}; - -export type ViewportHyphenFallback = { - "-ms-height"?: ViewportHeightProperty | ViewportHeightProperty[], - "-ms-max-height"?: ViewportMaxHeightProperty | ViewportMaxHeightProperty[], - "-ms-max-width"?: ViewportMaxWidthProperty | ViewportMaxWidthProperty[], - "-ms-max-zoom"?: ViewportMaxZoomProperty | ViewportMaxZoomProperty[], - "-ms-min-height"?: ViewportMinHeightProperty | ViewportMinHeightProperty[], - "-ms-min-width"?: ViewportMinWidthProperty | ViewportMinWidthProperty[], - "-ms-min-zoom"?: ViewportMinZoomProperty | ViewportMinZoomProperty[], - "-ms-orientation"?: ViewportOrientationProperty | ViewportOrientationProperty[], - "-ms-user-zoom"?: ViewportUserZoomProperty | ViewportUserZoomProperty[], - "-ms-width"?: ViewportWidthProperty | ViewportWidthProperty[], - "-ms-zoom"?: ViewportZoomProperty | ViewportZoomProperty[], - "-o-orientation"?: ViewportOrientationProperty | ViewportOrientationProperty[], - height?: ViewportHeightProperty | ViewportHeightProperty[], - "max-height"?: ViewportMaxHeightProperty | ViewportMaxHeightProperty[], - "max-width"?: ViewportMaxWidthProperty | ViewportMaxWidthProperty[], - "max-zoom"?: ViewportMaxZoomProperty | ViewportMaxZoomProperty[], - "min-height"?: ViewportMinHeightProperty | ViewportMinHeightProperty[], - "min-width"?: ViewportMinWidthProperty | ViewportMinWidthProperty[], - "min-zoom"?: ViewportMinZoomProperty | ViewportMinZoomProperty[], - orientation?: ViewportOrientationProperty | ViewportOrientationProperty[], - "user-zoom"?: ViewportUserZoomProperty | ViewportUserZoomProperty[], - width?: ViewportWidthProperty | ViewportWidthProperty[], - zoom?: ViewportZoomProperty | ViewportZoomProperty[], -}; +|}; + +export type ViewportFallback = {| + msHeight?: FallbackableViewportHeightProperty, + msMaxHeight?: FallbackableViewportMaxHeightProperty, + msMaxWidth?: FallbackableViewportMaxWidthProperty, + msMaxZoom?: FallbackableViewportMaxZoomProperty, + msMinHeight?: FallbackableViewportMinHeightProperty, + msMinWidth?: FallbackableViewportMinWidthProperty, + msMinZoom?: FallbackableViewportMinZoomProperty, + msOrientation?: FallbackableViewportOrientationProperty, + msUserZoom?: FallbackableViewportUserZoomProperty, + msWidth?: FallbackableViewportWidthProperty, + msZoom?: FallbackableViewportZoomProperty, + OOrientation?: FallbackableViewportOrientationProperty, + height?: FallbackableViewportHeightProperty, + maxHeight?: FallbackableViewportMaxHeightProperty, + maxWidth?: FallbackableViewportMaxWidthProperty, + maxZoom?: FallbackableViewportMaxZoomProperty, + minHeight?: FallbackableViewportMinHeightProperty, + minWidth?: FallbackableViewportMinWidthProperty, + minZoom?: FallbackableViewportMinZoomProperty, + orientation?: FallbackableViewportOrientationProperty, + userZoom?: FallbackableViewportUserZoomProperty, + width?: FallbackableViewportWidthProperty, + zoom?: FallbackableViewportZoomProperty, +|}; + +export type ViewportHyphenFallback = {| + "-ms-height"?: FallbackableViewportHeightProperty, + "-ms-max-height"?: FallbackableViewportMaxHeightProperty, + "-ms-max-width"?: FallbackableViewportMaxWidthProperty, + "-ms-max-zoom"?: FallbackableViewportMaxZoomProperty, + "-ms-min-height"?: FallbackableViewportMinHeightProperty, + "-ms-min-width"?: FallbackableViewportMinWidthProperty, + "-ms-min-zoom"?: FallbackableViewportMinZoomProperty, + "-ms-orientation"?: FallbackableViewportOrientationProperty, + "-ms-user-zoom"?: FallbackableViewportUserZoomProperty, + "-ms-width"?: FallbackableViewportWidthProperty, + "-ms-zoom"?: FallbackableViewportZoomProperty, + "-o-orientation"?: FallbackableViewportOrientationProperty, + height?: FallbackableViewportHeightProperty, + "max-height"?: FallbackableViewportMaxHeightProperty, + "max-width"?: FallbackableViewportMaxWidthProperty, + "max-zoom"?: FallbackableViewportMaxZoomProperty, + "min-height"?: FallbackableViewportMinHeightProperty, + "min-width"?: FallbackableViewportMinWidthProperty, + "min-zoom"?: FallbackableViewportMinZoomProperty, + orientation?: FallbackableViewportOrientationProperty, + "user-zoom"?: FallbackableViewportUserZoomProperty, + width?: FallbackableViewportWidthProperty, + zoom?: FallbackableViewportZoomProperty, +|}; export type AtRules = | "@charset" diff --git a/package.json b/package.json index c1f6424..bc518a6 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "chalk": "^2.4.2", "chokidar": "^2.1.2", "fast-glob": "^2.2.6", - "flow-bin": "^0.94.0", + "flow-bin": "^0.98.0", "jest": "^24.1.0", "jsdom": "^13.2.0", "mdn-browser-compat-data": "git+https://github.com/mdn/browser-compat-data.git#f9f1b8375fa922b2a30489f6c7ed69d62894a433", diff --git a/src/output.ts b/src/output.ts index f20c281..f6a7a61 100644 --- a/src/output.ts +++ b/src/output.ts @@ -8,44 +8,73 @@ export default () => ({ typescript: typescript(), }); +function combineFlowExactTypes(input: string[]): string { + if (input.length === 0) { + return ''; + } else if (input.length === 1) { + return input[0]; + } else { + return '{|' + input.map(type => `...${type}`).join(`,${EOL}`) + '|}'; + } +} + +function getNameForFallbackable(name: string): string { + return 'Fallbackable' + name[0].toUpperCase() + name.slice(1); +} + function flow() { let interfacesOutput = ''; + + const fallbackSet: Set = new Set(); + for (const item of interfaces) { if (interfacesOutput) { interfacesOutput += EOL + EOL; } - const extendList = item.extends.map(extend => extend.name + stringifyGenerics(extend.generics, true)).join(' & '); + const extendList = combineFlowExactTypes( + item.extends.map(extend => extend.name + stringifyGenerics(extend.generics, true)), + ); + interfacesOutput += 'export type '; interfacesOutput += item.name + stringifyGenerics(item.generics); interfacesOutput += ' = ' + extendList; if (item.properties.length > 0) { if (extendList) { + // TODO: remove this branch since it's not getting hit interfacesOutput += ' & '; } - interfacesOutput += '{' + EOL; + interfacesOutput += '{|' + EOL; for (const property of item.properties) { if (isAliasProperty(property)) { const generics = stringifyGenerics(property.generics, true); - interfacesOutput += `${JSON.stringify(property.name)}?: ${ - item.fallback - ? `${property.alias.name + generics} | ${property.alias.name + generics}[],` - : property.alias.name + generics + ',' - }`; + const key = JSON.stringify(property.name); + let type = property.alias.name + generics; + if (item.fallback) { + fallbackSet.add(type); + type = getNameForFallbackable(type); + } + + interfacesOutput += `${key}?: ${type},`; } else { const value = stringifyTypes(property.type); - interfacesOutput += `${JSON.stringify(property.name)}?: ${ - item.fallback ? `${value} | ${value}[],` : value + ',' - }`; + const key = JSON.stringify(property.name); + let type = value; + if (item.fallback) { + fallbackSet.add(type); + type = getNameForFallbackable(type); + } + + interfacesOutput += `${key}?: ${type},`; } interfacesOutput += EOL; } - interfacesOutput += '}'; + interfacesOutput += '|}'; } } @@ -66,7 +95,24 @@ function flow() { ) + EOL}`; } - return `// @flow ${EOL + interfacesOutput + EOL + EOL + declarationsOutput + EOL}`; + const fallbacksOutput = [...fallbackSet] + .map(name => { + return `type ${getNameForFallbackable(name)} = ${name} | Array<${name}>;`; + }) + .join(EOL); + + return `// @flow strict ${EOL + + EOL + + '// See https://github.com/frenic/csstype/pull/67 for why all "fallbackable" types (e.g. `string | Array`) are lifted here' + + EOL + + fallbacksOutput + + EOL + + EOL + + interfacesOutput + + EOL + + EOL + + declarationsOutput + + EOL}`; } function typescript() { diff --git a/typecheck.js b/typecheck.js index 2257eea..6584240 100644 --- a/typecheck.js +++ b/typecheck.js @@ -1,11 +1,7 @@ -// @flow - +// @flow strict import * as CSS from './'; -// Fallback due to https://github.com/frenic/csstype/issues/17 -type Exact = T & $Shape; - -const css: Exact> = { +const css: CSS.Properties<*> = { flexGrow: 1, flexShrink: 1, flexBasis: '1px', @@ -19,7 +15,7 @@ const css: Exact> = { msOverflowStyle: 'scrollbar', }; -const cssWithFallbackValues: Exact> = { +const cssWithFallbackValues: CSS.PropertiesFallback<*> = { flexGrow: [1], flexShrink: [1], flexBasis: ['1px'], @@ -33,7 +29,7 @@ const cssWithFallbackValues: Exact> = { msOverflowStyle: ['scrollbar'], }; -const cssWithHyphenProperties: Exact> = { +const cssWithHyphenProperties: CSS.PropertiesHyphen<*> = { 'flex-grow': 1, 'flex-shrink': 0, 'flex-basis': '1px', @@ -47,11 +43,14 @@ const cssWithHyphenProperties: Exact> = { '-ms-overflow-style': 'scrollbar', }; -const cssWithBothCamelAndHyphenProperties: $Exact> & $Exact> = { +const cssWithBothCamelAndHyphenProperties: {| + ...CSS.Properties<*>, + ...CSS.PropertiesHyphen<*>, +|} = { animation: '', }; -const atRuleFontFace: $Exact = { +const atRuleFontFace: CSS.FontFace = { fontFamily: '', fontWeight: 'normal', }; diff --git a/yarn.lock b/yarn.lock index 333f713..1789c67 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1146,10 +1146,10 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" -flow-bin@^0.94.0: - version "0.94.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.94.0.tgz#b5d58fe7559705b73a18229f97edfc3ab6ffffcb" - integrity sha512-DYF7r9CJ/AksfmmB4+q+TyLMoeQPRnqtF1Pk7KY3zgfkB/nVuA3nXyzqgsIPIvnMSiFEXQcFK4z+iPxSLckZhQ== +flow-bin@^0.98.0: + version "0.98.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.98.0.tgz#3361a03682326a83a5f0a864749f4f7f0d826bce" + integrity sha512-vuiYjBVt82eYF+dEk9Zqa8hTSDvbhl/czxzFRLZm9/XHbJnYNMTwFoNFYAQT9IQ6ACNBIbwSTIfxroieuKja7g== for-in@^1.0.2: version "1.0.2"