diff --git a/runtime/JsxDOMStyle.res b/runtime/JsxDOMStyle.res index 283607e24f..16de38f042 100644 --- a/runtime/JsxDOMStyle.res +++ b/runtime/JsxDOMStyle.res @@ -23,415 +23,571 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ type t = { - azimuth?: string, + accentColor?: string, + alignContent?: string, + alignItems?: string, + alignSelf?: string, + all?: string, + animation?: string, + animationComposition?: string, + animationDelay?: string, + animationDirection?: string, + animationDuration?: string, + animationFillMode?: string, + animationIterationCount?: string, + animationName?: string, + animationPlayState?: string, + animationTimingFunction?: string, + appearance?: string, + aspectRatio?: string, backdropFilter?: string, + backfaceVisibility?: string, background?: string, backgroundAttachment?: string, + backgroundBlendMode?: string, + backgroundClip?: string, backgroundColor?: string, backgroundImage?: string, + backgroundOrigin?: string, backgroundPosition?: string, + backgroundPositionX?: string, + backgroundPositionY?: string, backgroundRepeat?: string, + backgroundSize?: string, + blockSize?: string, border?: string, + borderBlock?: string, + borderBlockColor?: string, + borderBlockEnd?: string, + borderBlockEndColor?: string, + borderBlockEndStyle?: string, + borderBlockEndWidth?: string, + borderBlockStart?: string, + borderBlockStartColor?: string, + borderBlockStartStyle?: string, + borderBlockStartWidth?: string, + borderBlockStyle?: string, + borderBlockWidth?: string, + borderBottom?: string, + borderBottomColor?: string, + borderBottomLeftRadius?: string, + borderBottomRightRadius?: string, + borderBottomStyle?: string, + borderBottomWidth?: string, borderCollapse?: string, borderColor?: string, + borderEndEndRadius?: string, + borderEndStartRadius?: string, + borderImage?: string, + borderImageOutset?: string, + borderImageRepeat?: string, + borderImageSlice?: string, + borderImageSource?: string, + borderImageWidth?: string, + borderInline?: string, + borderInlineColor?: string, + borderInlineEnd?: string, + borderInlineEndColor?: string, + borderInlineEndStyle?: string, + borderInlineEndWidth?: string, + borderInlineStart?: string, + borderInlineStartColor?: string, + borderInlineStartStyle?: string, + borderInlineStartWidth?: string, + borderInlineStyle?: string, + borderInlineWidth?: string, + borderLeft?: string, + borderLeftColor?: string, + borderLeftStyle?: string, + borderLeftWidth?: string, + borderRadius?: string, + borderRight?: string, + borderRightColor?: string, + borderRightStyle?: string, + borderRightWidth?: string, borderSpacing?: string, + borderStartEndRadius?: string, + borderStartStartRadius?: string, borderStyle?: string, borderTop?: string, - borderRight?: string, - borderBottom?: string, - borderLeft?: string, borderTopColor?: string, - borderRightColor?: string, - borderBottomColor?: string, - borderLeftColor?: string, + borderTopLeftRadius?: string, + borderTopRightRadius?: string, borderTopStyle?: string, - borderRightStyle?: string, - borderBottomStyle?: string, - borderLeftStyle?: string, borderTopWidth?: string, - borderRightWidth?: string, - borderBottomWidth?: string, - borderLeftWidth?: string, borderWidth?: string, bottom?: string, + boxDecorationBreak?: string, + boxShadow?: string, + boxSizing?: string, + breakAfter?: string, + breakBefore?: string, + breakInside?: string, captionSide?: string, + caret?: string, + caretColor?: string, + caretShape?: string, clear?: string, - clip?: string, + clipPath?: string, + clipRule?: string, color?: string, + colorInterpolationFilters?: string, + colorScheme?: string, + columnCount?: string, + columnFill?: string, + columnGap?: string, + columnRule?: string, + columnRuleColor?: string, + columnRuleStyle?: string, + columnRuleWidth?: string, + columnSpan?: string, + columnWidth?: string, + columns?: string, + contain?: string, + containIntrinsicBlockSize?: string, + containIntrinsicHeight?: string, + containIntrinsicInlineSize?: string, + containIntrinsicSize?: string, + containIntrinsicWidth?: string, + container?: string, + containerName?: string, + containerType?: string, content?: string, + contentVisibility?: string, counterIncrement?: string, counterReset?: string, - cue?: string, - cueAfter?: string, - cueBefore?: string, + counterSet?: string, cursor?: string, + cx?: string, + cy?: string, + d?: string, direction?: string, display?: string, - elevation?: string, + dominantBaseline?: string, emptyCells?: string, + fill?: string, + fillOpacity?: string, + fillRule?: string, + filter?: string, + flex?: string, + flexBasis?: string, + flexDirection?: string, + flexFlow?: string, + flexGrow?: string, + flexShrink?: string, + flexWrap?: string, float?: string, + floodColor?: string, + floodOpacity?: string, font?: string, fontFamily?: string, + fontFeatureSettings?: string, + fontKerning?: string, + fontLanguageOverride?: string, + fontOpticalSizing?: string, + fontPalette?: string, fontSize?: string, fontSizeAdjust?: string, fontStretch?: string, fontStyle?: string, + fontSynthesis?: string, + fontSynthesisSmallCaps?: string, + fontSynthesisStyle?: string, + fontSynthesisWeight?: string, fontVariant?: string, + fontVariantAlternates?: string, + fontVariantCaps?: string, + fontVariantEastAsian?: string, + fontVariantEmoji?: string, + fontVariantLigatures?: string, + fontVariantNumeric?: string, + fontVariantPosition?: string, + fontVariationSettings?: string, fontWeight?: string, + forcedColorAdjust?: string, + gap?: string, + grid?: string, + gridArea?: string, + gridAutoColumns?: string, + gridAutoFlow?: string, + gridAutoRows?: string, + gridColumn?: string, + gridColumnEnd?: string, + gridColumnStart?: string, + gridRow?: string, + gridRowEnd?: string, + gridRowStart?: string, + gridTemplate?: string, + gridTemplateAreas?: string, + gridTemplateColumns?: string, + gridTemplateRows?: string, + hangingPunctuation?: string, height?: string, + hyphenateCharacter?: string, + hyphenateLimitChars?: string, + hyphens?: string, + imageOrientation?: string, + imageRendering?: string, + initialLetter?: string, + inlineSize?: string, + inputSecurity?: string, + inset?: string, + insetBlock?: string, + insetBlockEnd?: string, + insetBlockStart?: string, + insetInline?: string, + insetInlineEnd?: string, + insetInlineStart?: string, + isolation?: string, + justifyContent?: string, + justifyItems?: string, + justifySelf?: string, left?: string, letterSpacing?: string, + lightingColor?: string, + lineBreak?: string, + lineClamp?: string, lineHeight?: string, listStyle?: string, listStyleImage?: string, listStylePosition?: string, listStyleType?: string, margin?: string, - marginTop?: string, - marginRight?: string, + marginBlock?: string, + marginBlockEnd?: string, + marginBlockStart?: string, marginBottom?: string, + marginInline?: string, + marginInlineEnd?: string, + marginInlineStart?: string, marginLeft?: string, - markerOffset?: string, - marks?: string, + marginRight?: string, + marginTop?: string, + marker?: string, + markerEnd?: string, + markerMid?: string, + markerStart?: string, + mask?: string, + maskBorder?: string, + maskBorderMode?: string, + maskBorderOutset?: string, + maskBorderRepeat?: string, + maskBorderSlice?: string, + maskBorderSource?: string, + maskBorderWidth?: string, + maskClip?: string, + maskComposite?: string, + maskImage?: string, + maskMode?: string, + maskOrigin?: string, + maskPosition?: string, + maskRepeat?: string, + maskSize?: string, + maskType?: string, + mathDepth?: string, + mathStyle?: string, + maxBlockSize?: string, maxHeight?: string, + maxInlineSize?: string, maxWidth?: string, + minBlockSize?: string, minHeight?: string, + minInlineSize?: string, minWidth?: string, + mixBlendMode?: string, + objectFit?: string, + objectPosition?: string, + offset?: string, + offsetAnchor?: string, + offsetDistance?: string, + offsetPath?: string, + offsetPosition?: string, + offsetRotate?: string, + opacity?: string, + order?: string, orphans?: string, outline?: string, outlineColor?: string, + outlineOffset?: string, outlineStyle?: string, outlineWidth?: string, overflow?: string, + overflowAnchor?: string, + overflowBlock?: string, + overflowClipMargin?: string, + overflowInline?: string, + overflowWrap?: string, overflowX?: string, overflowY?: string, + overscrollBehavior?: string, + overscrollBehaviorBlock?: string, + overscrollBehaviorInline?: string, + overscrollBehaviorX?: string, + overscrollBehaviorY?: string, padding?: string, - paddingTop?: string, - paddingRight?: string, + paddingBlock?: string, + paddingBlockEnd?: string, + paddingBlockStart?: string, paddingBottom?: string, + paddingInline?: string, + paddingInlineEnd?: string, + paddingInlineStart?: string, paddingLeft?: string, + paddingRight?: string, + paddingTop?: string, page?: string, pageBreakAfter?: string, pageBreakBefore?: string, pageBreakInside?: string, - pause?: string, - pauseAfter?: string, - pauseBefore?: string, - pitch?: string, - pitchRange?: string, - playDuring?: string, + paintOrder?: string, + perspective?: string, + perspectiveOrigin?: string, + placeContent?: string, + placeItems?: string, + placeSelf?: string, + pointerEvents?: string, position?: string, + printColorAdjust?: string, quotes?: string, - richness?: string, + r?: string, + resize?: string, right?: string, - size?: string, - speak?: string, - speakHeader?: string, - speakNumeral?: string, - speakPunctuation?: string, - speechRate?: string, - stress?: string, + rotate?: string, + rowGap?: string, + rubyAlign?: string, + rubyPosition?: string, + rx?: string, + ry?: string, + scale?: string, + scrollBehavior?: string, + scrollMargin?: string, + scrollMarginBlock?: string, + scrollMarginBlockEnd?: string, + scrollMarginBlockStart?: string, + scrollMarginBottom?: string, + scrollMarginInline?: string, + scrollMarginInlineEnd?: string, + scrollMarginInlineStart?: string, + scrollMarginLeft?: string, + scrollMarginRight?: string, + scrollMarginTop?: string, + scrollPadding?: string, + scrollPaddingBlock?: string, + scrollPaddingBlockEnd?: string, + scrollPaddingBlockStart?: string, + scrollPaddingBottom?: string, + scrollPaddingInline?: string, + scrollPaddingInlineEnd?: string, + scrollPaddingInlineStart?: string, + scrollPaddingLeft?: string, + scrollPaddingRight?: string, + scrollPaddingTop?: string, + scrollSnapAlign?: string, + scrollSnapStop?: string, + scrollSnapType?: string, + scrollbarColor?: string, + scrollbarGutter?: string, + scrollbarWidth?: string, + shapeImageThreshold?: string, + shapeMargin?: string, + shapeOutside?: string, + shapeRendering?: string, + stopColor?: string, + stopOpacity?: string, + stroke?: string, + strokeDasharray?: string, + strokeDashoffset?: string, + strokeLinecap?: string, + strokeLinejoin?: string, + strokeMiterlimit?: string, + strokeOpacity?: string, + strokeWidth?: string, + tabSize?: string, tableLayout?: string, textAlign?: string, + textAlignLast?: string, + textAnchor?: string, + textCombineUpright?: string, textDecoration?: string, + textDecorationColor?: string, + textDecorationLine?: string, + textDecorationSkipInk?: string, + textDecorationStyle?: string, + textDecorationThickness?: string, + textEmphasis?: string, + textEmphasisColor?: string, + textEmphasisPosition?: string, + textEmphasisStyle?: string, textIndent?: string, + textJustify?: string, + textOrientation?: string, + textOverflow?: string, + textRendering?: string, textShadow?: string, textTransform?: string, + textUnderlineOffset?: string, + textUnderlinePosition?: string, + textWrap?: string, + textWrapMode?: string, + textWrapStyle?: string, top?: string, + touchAction?: string, + transform?: string, + transformBox?: string, + transformOrigin?: string, + transformStyle?: string, + transition?: string, + transitionBehavior?: string, + transitionDelay?: string, + transitionDuration?: string, + transitionProperty?: string, + transitionTimingFunction?: string, + translate?: string, unicodeBidi?: string, + userSelect?: string, + vectorEffect?: string, verticalAlign?: string, + viewTransitionName?: string, visibility?: string, - voiceFamily?: string, - volume?: string, whiteSpace?: string, + whiteSpaceCollapse?: string, widows?: string, width?: string, + willChange?: string, + wordBreak?: string, wordSpacing?: string, + wordWrap?: string, + writingMode?: string, + x?: string, + y?: string, zIndex?: string, - /* Below properties based on https://www.w3.org/Style/CSS/all-properties */ - /* Color Level 3 - REC */ - opacity?: string, - /* Backgrounds and Borders Level 3 - CR */ - /* backgroundRepeat - already defined by CSS2Properties */ - /* backgroundAttachment - already defined by CSS2Properties */ - backgroundOrigin?: string, - backgroundSize?: string, - backgroundClip?: string, - borderRadius?: string, - borderTopLeftRadius?: string, - borderTopRightRadius?: string, - borderBottomLeftRadius?: string, - borderBottomRightRadius?: string, - borderImage?: string, - borderImageSource?: string, - borderImageSlice?: string, - borderImageWidth?: string, - borderImageOutset?: string, - borderImageRepeat?: string, - boxShadow?: string, - columns?: string, - /* Multi-column Layout - CR */ - columnCount?: string, - columnFill?: string, - columnGap?: string, - columnRule?: string, - columnRuleColor?: string, - columnRuleStyle?: string, - columnRuleWidth?: string, - columnSpan?: string, - columnWidth?: string, - breakAfter?: string, - breakBefore?: string, - breakInside?: string, + zoom?: string, + + /* Non-standard properties, for compatibility */ + @deprecated + azimuth?: string, + @deprecated + clip?: string, + @deprecated + cue?: string, + @deprecated + cueAfter?: string, + @deprecated + cueBefore?: string, + @deprecated + elevation?: string, + @deprecated + markerOffset?: string, + @deprecated + marks?: string, + @deprecated + pause?: string, + @deprecated + pauseAfter?: string, + @deprecated + pauseBefore?: string, + @deprecated + pitch?: string, + @deprecated + pitchRange?: string, + @deprecated + playDuring?: string, + @deprecated + richness?: string, + @deprecated + size?: string, + @deprecated + speak?: string, + @deprecated + speakHeader?: string, + @deprecated + speakNumeral?: string, + @deprecated + speakPunctuation?: string, + @deprecated + speechRate?: string, + @deprecated + stress?: string, + @deprecated + voiceFamily?: string, + @deprecated + volume?: string, + @deprecated rest?: string, - /* Speech - CR */ + @deprecated restAfter?: string, + @deprecated restBefore?: string, + @deprecated speakAs?: string, + @deprecated voiceBalance?: string, + @deprecated voiceDuration?: string, + @deprecated voicePitch?: string, + @deprecated voiceRange?: string, + @deprecated voiceRate?: string, + @deprecated voiceStress?: string, + @deprecated voiceVolume?: string, - objectFit?: string, - /* Image Values and Replaced Content Level 3 - CR */ - objectPosition?: string, + @deprecated imageResolution?: string, - imageOrientation?: string, - alignContent?: string, - /* Flexible Box Layout - CR */ - alignItems?: string, - alignSelf?: string, - flex?: string, - flexBasis?: string, - flexDirection?: string, - flexFlow?: string, - flexGrow?: string, - flexShrink?: string, - flexWrap?: string, - justifyContent?: string, - order?: string, - gap?: string, - textDecorationColor?: string, - /* Text Decoration Level 3 - CR */ - /* textDecoration - already defined by CSS2Properties */ - textDecorationLine?: string, + @deprecated textDecorationSkip?: string, - textDecorationStyle?: string, - textEmphasis?: string, - textEmphasisColor?: string, - textEmphasisPosition?: string, - textEmphasisStyle?: string, - textUnderlinePosition?: string, - /* textShadow - already defined by CSS2Properties */ - fontFeatureSettings?: string, - /* Fonts Level 3 - CR */ - fontKerning?: string, - fontLanguageOverride?: string, - fontSynthesis?: string, - /* fontSizeAdjust - already defined by CSS2Properties */ - /* fontStretch - already defined by CSS2Properties */ + @deprecated forntVariantAlternates?: string, - fontVariantCaps?: string, - fontVariantEastAsian?: string, - fontVariantLigatures?: string, - fontVariantNumeric?: string, - fontVariantPosition?: string, - all?: string, - /* Cascading and Inheritance Level 3 - CR */ + @deprecated glyphOrientationVertical?: string, - /* Writing Modes Level 3 - CR */ - textCombineUpright?: string, - textOrientation?: string, - writingMode?: string, - shapeImageThreshold?: string, - /* Shapes Level 1 - CR */ - shapeMargin?: string, - shapeOutside?: string, - clipPath?: string, - /* Masking Level 1 - CR */ - clipRule?: string, - mask?: string, - maskBorder?: string, - maskBorderMode?: string, - maskBorderOutset?: string, - maskBorderRepeat?: string, - maskBorderSlice?: string, - maskBorderSource?: string, - maskBorderWidth?: string, - maskClip?: string, - maskComposite?: string, - maskImage?: string, - maskMode?: string, - maskOrigin?: string, - maskPosition?: string, - maskRepeat?: string, - maskSize?: string, - maskType?: string, - backgroundBlendMode?: string, - /* Compositing and Blending Level 1 - CR */ - isolation?: string, - mixBlendMode?: string, - boxDecorationBreak?: string, - /* Fragmentation Level 3 - CR */ - boxSizing?: string, - /* breakAfter - already defined by Multi-column Layout */ - /* breakBefore - already defined by Multi-column Layout */ - /* breakInside - already defined by Multi-column Layout */ - /* Basic User Interface Level 3 - CR */ - caretColor?: string, + @deprecated navDown?: string, + @deprecated navLeft?: string, + @deprecated navRight?: string, + @deprecated navUp?: string, - outlineOffset?: string, - resize?: string, - textOverflow?: string, - grid?: string, - /* Grid Layout Level 1 - CR */ - gridArea?: string, - gridAutoColumns?: string, - gridAutoFlow?: string, - gridAutoRows?: string, - gridColumn?: string, - gridColumnEnd?: string, + @deprecated gridColumnGap?: string, - gridColumnStart?: string, + @deprecated gridGap?: string, - gridRow?: string, - gridRowEnd?: string, + @deprecated gridRowGap?: string, - gridRowStart?: string, - gridTemplate?: string, - gridTemplateAreas?: string, - gridTemplateColumns?: string, - gridTemplateRows?: string, - willChange?: string, - /* Will Change Level 1 - CR */ - hangingPunctuation?: string, - /* Text Level 3 - LC */ - hyphens?: string, - lineBreak?: string, - /* letterSpacing - already defined by CSS2Properties */ - overflowWrap?: string, - tabSize?: string, - textAlignLast?: string, - /* textAlign - already defined by CSS2Properties */ - textJustify?: string, - wordBreak?: string, - wordWrap?: string, - animation?: string, - /* Animations - WD */ - animationDelay?: string, - animationDirection?: string, - animationDuration?: string, - animationFillMode?: string, - animationIterationCount?: string, - animationName?: string, - animationPlayState?: string, - animationTimingFunction?: string, - transition?: string, - /* Transitions - WD */ - transitionDelay?: string, - transitionDuration?: string, - transitionProperty?: string, - transitionTimingFunction?: string, - backfaceVisibility?: string, - /* Transforms Level 1 - WD */ - perspective?: string, - perspectiveOrigin?: string, - transform?: string, - transformOrigin?: string, - transformStyle?: string, - justifyItems?: string, - /* Box Alignment Level 3 - WD */ - /* alignContent - already defined by Flexible Box Layout */ - /* alignItems - already defined by Flexible Box Layout */ - justifySelf?: string, - placeContent?: string, - placeItems?: string, - placeSelf?: string, - appearance?: string, - /* Basic User Interface Level 4 - FPWD */ - caret?: string, + @deprecated caretAnimation?: string, - caretShape?: string, - userSelect?: string, + @deprecated maxLines?: string, - /* Overflow Level 3 - WD */ + @deprecated marqueeDirection?: string, - /* Basix Box Model - WD */ + @deprecated marqueeLoop?: string, + @deprecated marqueeSpeed?: string, + @deprecated marqueeStyle?: string, + @deprecated overflowStyle?: string, + @deprecated rotation?: string, + @deprecated rotationPoint?: string, + @deprecated alignmentBaseline?: string, - /* SVG 1.1 - REC */ + @deprecated baselineShift?: string, + @deprecated colorInterpolation?: string, - colorInterpolationFilters?: string, + @deprecated colorProfile?: string, + @deprecated colorRendering?: string, - dominantBaseline?: string, - fill?: string, - fillOpacity?: string, - fillRule?: string, - filter?: string, - floodColor?: string, - floodOpacity?: string, + @deprecated glyphOrientationHorizontal?: string, - imageRendering?: string, + @deprecated kerning?: string, - lightingColor?: string, - markerEnd?: string, - markerMid?: string, - markerStart?: string, - pointerEvents?: string, - shapeRendering?: string, - stopColor?: string, - stopOpacity?: string, - stroke?: string, - strokeDasharray?: string, - strokeDashoffset?: string, - strokeLinecap?: string, - strokeLinejoin?: string, - strokeMiterlimit?: string, - strokeOpacity?: string, - strokeWidth?: string, - textAnchor?: string, - textRendering?: string, - rubyAlign?: string, - /* Ruby Layout Level 1 - WD */ + @deprecated rubyMerge?: string, - rubyPosition?: string, - /* Lists and Counters Level 3 - WD */ - /* listStyle - already defined by CSS2Properties */ - /* listStyleImage - already defined by CSS2Properties */ - /* listStylePosition - already defined by CSS2Properties */ - /* listStyleType - already defined by CSS2Properties */ - /* counterIncrement - already defined by CSS2Properties */ - /* counterReset - already defined by CSS2Properties */ - /* Not added yet - * ------------- - * Generated Content for Paged Media - WD - * Generated Content Level 3 - WD - * Line Grid Level 1 - WD - * Regions - WD - * Inline Layout Level 3 - WD - * Round Display Level 1 - WD - * Image Values and Replaced Content Level 4 - WD - * Positioned Layout Level 3 - WD - * Filter Effects Level 1 - -WD - * Exclusions Level 1 - WD - * Text Level 4 - FPWD - * SVG Markers - FPWD - * Motion Path Level 1 - FPWD - * Color Level 4 - FPWD - * SVG Strokes - FPWD - * Table Level 3 - FPWD - */ }