diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /devtools/server/actors/animation-type-longhand.js | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/server/actors/animation-type-longhand.js')
-rw-r--r-- | devtools/server/actors/animation-type-longhand.js | 438 |
1 files changed, 438 insertions, 0 deletions
diff --git a/devtools/server/actors/animation-type-longhand.js b/devtools/server/actors/animation-type-longhand.js new file mode 100644 index 0000000000..880da4a9ab --- /dev/null +++ b/devtools/server/actors/animation-type-longhand.js @@ -0,0 +1,438 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +"use strict"; + +// Types of animation types of longhand properties. +exports.ANIMATION_TYPE_FOR_LONGHANDS = [ + [ + "discrete", + new Set([ + "align-content", + "align-items", + "align-self", + "align-tracks", + "aspect-ratio", + "appearance", + "backface-visibility", + "background-attachment", + "background-blend-mode", + "background-clip", + "background-image", + "background-origin", + "background-repeat", + "baseline-source", + "border-bottom-style", + "border-collapse", + "border-image-repeat", + "border-image-source", + "border-left-style", + "border-right-style", + "border-top-style", + "-moz-box-align", + "box-decoration-break", + "-moz-box-direction", + "-moz-box-ordinal-group", + "-moz-box-orient", + "-moz-box-pack", + "box-sizing", + "caption-side", + "clear", + "clip-rule", + "color-interpolation", + "color-interpolation-filters", + "color-scheme", + "column-fill", + "column-rule-style", + "column-span", + "contain", + "content", + "counter-increment", + "counter-reset", + "counter-set", + "cursor", + "direction", + "dominant-baseline", + "empty-cells", + "fill-rule", + "flex-direction", + "flex-wrap", + "float", + "-moz-float-edge", + "font-family", + "font-feature-settings", + "font-kerning", + "font-language-override", + "font-palette", + "font-style", + "font-synthesis-weight", + "font-synthesis-style", + "font-synthesis-small-caps", + "font-variant-alternates", + "font-variant-caps", + "font-variant-east-asian", + "font-variant-emoji", + "font-variant-ligatures", + "font-variant-numeric", + "font-variant-position", + "-moz-force-broken-image-icon", + "forced-color-adjust", + "grid-auto-columns", + "grid-auto-flow", + "grid-auto-rows", + "grid-column-end", + "grid-column-start", + "grid-row-end", + "grid-row-start", + "grid-template-areas", + "grid-template-columns", + "grid-template-rows", + "hyphenate-character", + "hyphens", + "image-orientation", + "image-rendering", + "ime-mode", + "-moz-inert", + "initial-letter", + "isolation", + "justify-content", + "justify-items", + "justify-self", + "justify-tracks", + "line-break", + "list-style-image", + "list-style-position", + "list-style-type", + "marker-end", + "marker-mid", + "marker-start", + "mask-clip", + "mask-composite", + "mask-image", + "mask-mode", + "mask-origin", + "mask-repeat", + "mask-type", + "masonry-auto-flow", + "mix-blend-mode", + "object-fit", + "-moz-orient", + "-moz-osx-font-smoothing", + "-moz-subtree-hidden-only-visually", + "outline-style", + "overflow-anchor", + "overflow-block", + "overflow-clip-box-block", + "overflow-clip-box-inline", + "overflow-inline", + "overflow-wrap", + "overflow-x", + "overflow-y", + "overscroll-behavior-inline", + "overscroll-behavior-block", + "overscroll-behavior-x", + "overscroll-behavior-y", + "break-after", + "break-before", + "break-inside", + "page", + "paint-order", + "pointer-events", + "position", + "print-color-adjust", + "quotes", + "resize", + "ruby-align", + "ruby-position", + "scroll-behavior", + "scroll-snap-align", + "scroll-snap-stop", + "scroll-snap-type", + "shape-rendering", + "scrollbar-gutter", + "scrollbar-width", + "stroke-linecap", + "stroke-linejoin", + "table-layout", + "text-align", + "text-align-last", + "text-anchor", + "text-combine-upright", + "text-decoration-line", + "text-decoration-skip-ink", + "text-decoration-style", + "text-emphasis-position", + "text-emphasis-style", + "text-justify", + "text-orientation", + "text-overflow", + "text-rendering", + "-moz-text-size-adjust", + "-webkit-text-security", + "-webkit-text-stroke-width", + "text-transform", + "text-underline-position", + "touch-action", + "transform-box", + "transform-style", + "unicode-bidi", + "-moz-user-focus", + "-moz-user-input", + "-moz-user-modify", + "user-select", + "vector-effect", + "visibility", + "white-space", + "will-change", + "-moz-window-dragging", + "word-break", + "writing-mode", + ]), + ], + [ + "none", + new Set([ + "animation-composition", + "animation-delay", + "animation-direction", + "animation-duration", + "animation-fill-mode", + "animation-iteration-count", + "animation-name", + "animation-play-state", + "animation-timeline", + "animation-timing-function", + "block-size", + "border-block-end-color", + "border-block-end-style", + "border-block-end-width", + "border-block-start-color", + "border-block-start-style", + "border-block-start-width", + "border-inline-end-color", + "border-inline-end-style", + "border-inline-end-width", + "border-inline-start-color", + "border-inline-start-style", + "border-inline-start-width", + "container-name", + "container-type", + "contain-intrinsic-block-size", + "contain-intrinsic-inline-size", + "contain-intrinsic-height", + "contain-intrinsic-width", + "content-visibility", + "-moz-context-properties", + "-moz-control-character-visibility", + "-moz-default-appearance", + "display", + "font-optical-sizing", + "inline-size", + "inset-block-end", + "inset-block-start", + "inset-inline-end", + "inset-inline-start", + "margin-block-end", + "margin-block-start", + "margin-inline-end", + "margin-inline-start", + "math-style", + "max-block-size", + "max-inline-size", + "min-block-size", + "-moz-min-font-size-ratio", + "min-inline-size", + "padding-block-end", + "padding-block-start", + "padding-inline-end", + "padding-inline-start", + "page-orientation", + "math-depth", + "-moz-box-collapse", + "-moz-top-layer", + "scroll-timeline-axis", + "scroll-timeline-name", + "size", + "transition-delay", + "transition-duration", + "transition-property", + "transition-timing-function", + "view-timeline-axis", + "view-timeline-inset", + "view-timeline-name", + "-moz-window-shadow", + ]), + ], + [ + "color", + new Set([ + "background-color", + "border-bottom-color", + "border-left-color", + "border-right-color", + "border-top-color", + "accent-color", + "caret-color", + "color", + "column-rule-color", + "flood-color", + "-moz-font-smoothing-background-color", + "lighting-color", + "outline-color", + "scrollbar-color", + "stop-color", + "text-decoration-color", + "text-emphasis-color", + "-webkit-text-fill-color", + "-webkit-text-stroke-color", + ]), + ], + [ + "custom", + new Set([ + "backdrop-filter", + "background-position-x", + "background-position-y", + "background-size", + "border-bottom-width", + "border-image-slice", + "border-image-outset", + "border-image-width", + "border-left-width", + "border-right-width", + "border-spacing", + "border-top-width", + "clip", + "clip-path", + "column-count", + "column-rule-width", + "d", + "filter", + "font-stretch", + "font-variation-settings", + "font-weight", + "mask-position-x", + "mask-position-y", + "mask-size", + "object-position", + "offset-anchor", + "offset-path", + "offset-position", + "offset-rotate", + "order", + "perspective-origin", + "rotate", + "scale", + "shape-outside", + "stroke-dasharray", + "transform", + "transform-origin", + "translate", + "-moz-window-transform", + "-moz-window-transform-origin", + "-webkit-line-clamp", + ]), + ], + [ + "coord", + new Set([ + "border-bottom-left-radius", + "border-bottom-right-radius", + "border-top-left-radius", + "border-top-right-radius", + "border-start-start-radius", + "border-start-end-radius", + "border-end-start-radius", + "border-end-end-radius", + "bottom", + "column-gap", + "column-width", + "cx", + "cy", + "flex-basis", + "height", + "left", + "letter-spacing", + "line-height", + "margin-bottom", + "margin-left", + "margin-right", + "margin-top", + "max-height", + "max-width", + "min-height", + "min-width", + "offset-distance", + "padding-bottom", + "padding-left", + "padding-right", + "padding-top", + "perspective", + "r", + "rx", + "ry", + "right", + "row-gap", + "scroll-padding-block-start", + "scroll-padding-block-end", + "scroll-padding-inline-start", + "scroll-padding-inline-end", + "scroll-padding-top", + "scroll-padding-right", + "scroll-padding-bottom", + "scroll-padding-left", + "scroll-margin-block-start", + "scroll-margin-block-end", + "scroll-margin-inline-start", + "scroll-margin-inline-end", + "scroll-margin-top", + "scroll-margin-right", + "scroll-margin-bottom", + "scroll-margin-left", + "shape-margin", + "stroke-dashoffset", + "stroke-width", + "tab-size", + "text-indent", + "text-decoration-thickness", + "text-underline-offset", + "top", + "vertical-align", + "width", + "word-spacing", + "x", + "y", + "z-index", + ]), + ], + [ + "float", + new Set([ + "-moz-box-flex", + "fill-opacity", + "flex-grow", + "flex-shrink", + "flood-opacity", + "font-size-adjust", + "opacity", + "shape-image-threshold", + "stop-opacity", + "stroke-miterlimit", + "stroke-opacity", + "-moz-window-opacity", + ]), + ], + ["shadow", new Set(["box-shadow", "text-shadow"])], + ["paintServer", new Set(["fill", "stroke"])], + [ + "length", + new Set([ + "font-size", + "outline-offset", + "outline-width", + "overflow-clip-margin", + "-moz-window-input-region-margin", + ]), + ], +]; |