aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/cssstyle/lib/utils/allExtraProperties.js
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-13 21:34:48 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-13 21:34:48 -0800
commit76cb9c2a39d477a64824a985ade40507e3bbade1 (patch)
tree41e997aa9c6f538d3a136af61dae9424db2005a9 /vanilla/node_modules/cssstyle/lib/utils/allExtraProperties.js
parent819a39a21ac992b1393244a4c283bbb125208c69 (diff)
downloadneko-76cb9c2a39d477a64824a985ade40507e3bbade1.tar.gz
neko-76cb9c2a39d477a64824a985ade40507e3bbade1.tar.bz2
neko-76cb9c2a39d477a64824a985ade40507e3bbade1.zip
feat(vanilla): add testing infrastructure and tests (NK-wjnczv)
Diffstat (limited to 'vanilla/node_modules/cssstyle/lib/utils/allExtraProperties.js')
-rw-r--r--vanilla/node_modules/cssstyle/lib/utils/allExtraProperties.js155
1 files changed, 155 insertions, 0 deletions
diff --git a/vanilla/node_modules/cssstyle/lib/utils/allExtraProperties.js b/vanilla/node_modules/cssstyle/lib/utils/allExtraProperties.js
new file mode 100644
index 0000000..a8d8711
--- /dev/null
+++ b/vanilla/node_modules/cssstyle/lib/utils/allExtraProperties.js
@@ -0,0 +1,155 @@
+"use strict";
+
+/**
+ * This file contains all implemented properties that are not a part of any
+ * current specifications or drafts, but are handled by browsers nevertheless.
+ */
+
+const webkitProperties = [
+ "background-composite",
+ "border-after",
+ "border-after-color",
+ "border-after-style",
+ "border-after-width",
+ "border-before",
+ "border-before-color",
+ "border-before-style",
+ "border-before-width",
+ "border-end",
+ "border-end-color",
+ "border-end-style",
+ "border-end-width",
+ "border-fit",
+ "border-horizontal-spacing",
+ "border-start",
+ "border-start-color",
+ "border-start-style",
+ "border-start-width",
+ "border-vertical-spacing",
+ "color-correction",
+ "column-axis",
+ "column-break-after",
+ "column-break-before",
+ "column-break-inside",
+ "column-rule-color",
+ "flex-align",
+ "flex-item-align",
+ "flex-line-pack",
+ "flex-order",
+ "flex-pack",
+ "flex-wrap",
+ "font-size-delta",
+ "font-smoothing",
+ "highlight",
+ "hyphenate-limit-after",
+ "hyphenate-limit-before",
+ "locale",
+ "logical-height",
+ "logical-width",
+ "margin-after",
+ "margin-after-collapse",
+ "margin-before",
+ "margin-before-collapse",
+ "margin-bottom-collapse",
+ "margin-collapse",
+ "margin-end",
+ "margin-start",
+ "margin-top-collapse",
+ "marquee",
+ "marquee-direction",
+ "marquee-increment",
+ "marquee-repetition",
+ "marquee-speed",
+ "marquee-style",
+ "mask-attachment",
+ "mask-box-image-outset",
+ "mask-box-image-repeat",
+ "mask-box-image-slice",
+ "mask-box-image-source",
+ "mask-box-image-width",
+ "mask-position-x",
+ "mask-position-y",
+ "mask-repeat-x",
+ "mask-repeat-y",
+ "match-nearest-mail-blockquote-color",
+ "max-logical-height",
+ "max-logical-width",
+ "min-logical-height",
+ "min-logical-width",
+ "nbsp-mode",
+ "overflow-scrolling",
+ "padding-after",
+ "padding-before",
+ "padding-end",
+ "padding-start",
+ "perspective-origin-x",
+ "perspective-origin-y",
+ "region-break-after",
+ "region-break-before",
+ "region-break-inside",
+ "region-overflow",
+ "rtl-ordering",
+ "svg-shadow",
+ "tap-highlight-color",
+ "text-decorations-in-effect",
+ "text-emphasis-color",
+ "text-fill-color",
+ "text-security",
+ "text-size-adjust",
+ "text-stroke",
+ "text-stroke-color",
+ "text-stroke-width",
+ "transform",
+ "transform-origin-x",
+ "transform-origin-y",
+ "transform-origin-z",
+ "user-drag",
+ "user-modify",
+ "wrap",
+ "wrap-margin",
+ "wrap-padding",
+ "wrap-shape-inside",
+ "wrap-shape-outside",
+ "zoom"
+].map((prop) => `-webkit-${prop}`);
+
+module.exports = new Set([
+ "background-position-x",
+ "background-position-y",
+ "background-repeat-x",
+ "background-repeat-y",
+ "color-interpolation",
+ "color-profile",
+ "color-rendering",
+ "enable-background",
+ "glyph-orientation-horizontal",
+ "kerning",
+ "marker-offset",
+ "marks",
+ "pointer-events",
+ "shape-rendering",
+ "size",
+ "src",
+ "stop-color",
+ "stop-opacity",
+ "text-anchor",
+ "text-line-through",
+ "text-line-through-color",
+ "text-line-through-mode",
+ "text-line-through-style",
+ "text-line-through-width",
+ "text-overline",
+ "text-overline-color",
+ "text-overline-mode",
+ "text-overline-style",
+ "text-overline-width",
+ "text-rendering",
+ "text-underline",
+ "text-underline-color",
+ "text-underline-mode",
+ "text-underline-style",
+ "text-underline-width",
+ "unicode-range",
+ "vector-effect",
+ ...webkitProperties
+]);