1use crate::rules::*;
2
3impl Rule {
4 pub fn to_css_syntax(&self) -> String {
5 let property = match self.property {
6 Property::AlignContent => "align-content",
7 Property::AlignItems => "align-items",
8 Property::AlignSelf => "align-self",
9 Property::All => "all",
10 Property::Animation => "animation",
11 Property::AnimationDelay => "animation-delay",
12 Property::AnimationDirection => "animation-direction",
13 Property::AnimationDuration => "animation-duration",
14 Property::AnimationFillMode => "animation-fill-mode",
15 Property::AnimationIterationCount => "animation-iteration-count",
16 Property::AnimationName => "animation-name",
17 Property::AnimationPlayState => "animation-play-state",
18 Property::AnimationTimingFunction => "animation-timing-function",
19 Property::Azimuth => "azimuth",
20 Property::Background => "background",
21 Property::BackgroundAttachment => "background-attachment",
22 Property::BackgroundBlendMode => "background-blend-mode",
23 Property::BackgroundClip => "background-clip",
24 Property::BackgroundColor => "background-color",
25 Property::BackgroundImage => "background-image",
26 Property::BackgroundOrigin => "background-origin",
27 Property::BackgroundPosition => "background-position",
28 Property::BackgroundRepeat => "background-repeat",
29 Property::BackgroundSize => "background-size",
30 Property::Border => "border",
31 Property::BorderBottom => "border-bottom",
32 Property::BorderBottomColor => "border-bottom-color",
33 Property::BorderBottomLeftRadius => "border-bottom-left-radius",
34 Property::BorderBottomRightRadius => "border-bottom-right-radius",
35 Property::BorderBottomStyle => "border-bottom-style",
36 Property::BorderBottomWidth => "border-bottom-width",
37 Property::BorderCollapse => "border-collapse",
38 Property::BorderColor => "border-color",
39 Property::BorderImage => "border-image",
40 Property::BorderImageOutset => "border-image-outset",
41 Property::BorderImageRepeat => "border-image-repeat",
42 Property::BorderImageSlice => "border-image-slice",
43 Property::BorderImageSource => "border-image-source",
44 Property::BorderImageWidth => "border-image-width",
45 Property::BorderLeft => "border-left",
46 Property::BorderLeftColor => "border-left-color",
47 Property::BorderLeftStyle => "border-left-style",
48 Property::BorderLeftWidth => "border-left-width",
49 Property::BorderRadius => "border-radius",
50 Property::BorderRight => "border-right",
51 Property::BorderRightColor => "border-right-color",
52 Property::BorderRightStyle => "border-right-style",
53 Property::BorderRightWidth => "border-right-width",
54 Property::BorderSpacing => "border-spacing",
55 Property::BorderStyle => "border-style",
56 Property::BorderTop => "border-top",
57 Property::BorderTopColor => "border-top-color",
58 Property::BorderTopLeftRadius => "border-top-left-radius",
59 Property::BorderTopRightRadius => "border-top-right-radius",
60 Property::BorderTopStyle => "border-top-style",
61 Property::BorderTopWidth => "border-top-width",
62 Property::BorderWidth => "border-width",
63 Property::Bottom => "bottom",
64 Property::BoxDecorationBreak => "box-decoration-break",
65 Property::BoxShadow => "box-shadow",
66 Property::BoxSizing => "box-sizing",
67 Property::BreakAfter => "break-after",
68 Property::BreakBefore => "break-before",
69 Property::BreakInside => "break-inside",
70 Property::CaptionSide => "caption-side",
71 Property::CaretColor => "caret-color",
72 Property::Clear => "clear",
73 Property::Clip => "clip",
74 Property::ClipPath => "clip-path",
75 Property::ClipRule => "clip-rule",
76 Property::Color => "color",
77 Property::ColorInterpolationFilters => "color-interpolation-filters",
78 Property::ColumnCount => "column-count",
79 Property::ColumnFill => "column-fill",
80 Property::ColumnGap => "column-gap",
81 Property::ColumnRule => "column-rule",
82 Property::ColumnRuleColor => "column-rule-color",
83 Property::ColumnRuleStyle => "column-rule-style",
84 Property::ColumnRuleWidth => "column-rule-width",
85 Property::Columns => "columns",
86 Property::ColumnSpan => "column-span",
87 Property::ColumnWidth => "column-width",
88 Property::Contain => "contain",
89 Property::Content => "content",
90 Property::CounterIncrement => "counter-increment",
91 Property::CounterReset => "counter-reset",
92 Property::Cue => "cue",
93 Property::CueAfter => "cue-after",
94 Property::CueBefore => "cue-before",
95 Property::Cursor => "cursor",
96 Property::Direction => "direction",
97 Property::Display => "display",
98 Property::Elevation => "elevation",
99 Property::EmptyCells => "empty-cells",
100 Property::Filter => "filter",
101 Property::Flex => "flex",
102 Property::FlexBasis => "flex-basis",
103 Property::FlexDirection => "flex-direction",
104 Property::FlexFlow => "flex-flow",
105 Property::FlexGrow => "flex-grow",
106 Property::FlexShrink => "flex-shrink",
107 Property::FlexWrap => "flex-wrap",
108 Property::Float => "float",
109 Property::FloodColor => "flood-color",
110 Property::FloodOpacity => "flood-opacity",
111 Property::Font => "font",
112 Property::FontFamily => "font-family",
113 Property::FontFeatureSettings => "font-feature-settings",
114 Property::FontKerning => "font-kerning",
115 Property::FontSize => "font-size",
116 Property::FontSizeAdjust => "font-size-adjust",
117 Property::FontStretch => "font-stretch",
118 Property::FontStyle => "font-style",
119 Property::FontSynthesis => "font-synthesis",
120 Property::FontVariant => "font-variant",
121 Property::FontVariantCaps => "font-variant-caps",
122 Property::FontVariantEastAsian => "font-variant-east-asian",
123 Property::FontVariantLigatures => "font-variant-ligatures",
124 Property::FontVariantNumeric => "font-variant-numeric",
125 Property::FontVariantPosition => "font-variant-position",
126 Property::FontWeight => "font-weight",
127 Property::Gap => "gap",
128 Property::Globalcompositeoperation => "globalcompositeoperation",
129 Property::GlyphOrientationVertical => "glyph-orientation-vertical",
130 Property::Grid => "grid",
131 Property::GridArea => "grid-area",
132 Property::GridAutoColumns => "grid-auto-columns",
133 Property::GridAutoFlow => "grid-auto-flow",
134 Property::GridAutoRows => "grid-auto-rows",
135 Property::GridColumn => "grid-column",
136 Property::GridColumnEnd => "grid-column-end",
137 Property::GridColumnGap => "grid-column-gap",
138 Property::GridColumnStart => "grid-column-start",
139 Property::GridGap => "grid-gap",
140 Property::GridRow => "grid-row",
141 Property::GridRowEnd => "grid-row-end",
142 Property::GridRowGap => "grid-row-gap",
143 Property::GridRowStart => "grid-row-start",
144 Property::GridTemplate => "grid-template",
145 Property::GridTemplateAreas => "grid-template-areas",
146 Property::GridTemplateColumns => "grid-template-columns",
147 Property::GridTemplateRows => "grid-template-rows",
148 Property::HangingPunctuation => "hanging-punctuation",
149 Property::Height => "height",
150 Property::Hyphens => "hyphens",
151 Property::ImageOrientation => "image-orientation",
152 Property::ImageRendering => "image-rendering",
153 Property::ImageResolution => "image-resolution",
154 Property::Isolation => "isolation",
155 Property::JustifyContent => "justify-content",
156 Property::JustifyItems => "justify-items",
157 Property::JustifySelf => "justify-self",
158 Property::Left => "left",
159 Property::LetterSpacing => "letter-spacing",
160 Property::LightingColor => "lighting-color",
161 Property::LineBreak => "line-break",
162 Property::LineHeight => "line-height",
163 Property::ListStyle => "list-style",
164 Property::ListStyleImage => "list-style-image",
165 Property::ListStylePosition => "list-style-position",
166 Property::ListStyleType => "list-style-type",
167 Property::Margin => "margin",
168 Property::MarginBottom => "margin-bottom",
169 Property::MarginLeft => "margin-left",
170 Property::MarginRight => "margin-right",
171 Property::MarginTop => "margin-top",
172 Property::Mask => "mask",
173 Property::MaskBorder => "mask-border",
174 Property::MaskBorderMode => "mask-border-mode",
175 Property::MaskBorderOutset => "mask-border-outset",
176 Property::MaskBorderRepeat => "mask-border-repeat",
177 Property::MaskBorderSlice => "mask-border-slice",
178 Property::MaskBorderSource => "mask-border-source",
179 Property::MaskBorderWidth => "mask-border-width",
180 Property::MaskClip => "mask-clip",
181 Property::MaskComposite => "mask-composite",
182 Property::MaskImage => "mask-image",
183 Property::MaskMode => "mask-mode",
184 Property::MaskOrigin => "mask-origin",
185 Property::MaskPosition => "mask-position",
186 Property::MaskRepeat => "mask-repeat",
187 Property::MaskSize => "mask-size",
188 Property::MaskType => "mask-type",
189 Property::MaxHeight => "max-height",
190 Property::MaxWidth => "max-width",
191 Property::MinHeight => "min-height",
192 Property::MinWidth => "min-width",
193 Property::MixBlendMode => "mix-blend-mode",
194 Property::ObjectFit => "object-fit",
195 Property::ObjectPosition => "object-position",
196 Property::Opacity => "opacity",
197 Property::Order => "order",
198 Property::Orphans => "orphans",
199 Property::Outline => "outline",
200 Property::OutlineColor => "outline-color",
201 Property::OutlineOffset => "outline-offset",
202 Property::OutlineStyle => "outline-style",
203 Property::OutlineWidth => "outline-width",
204 Property::Overflow => "overflow",
205 Property::OverflowWrap => "overflow-wrap",
206 Property::Padding => "padding",
207 Property::PaddingBottom => "padding-bottom",
208 Property::PaddingLeft => "padding-left",
209 Property::PaddingRight => "padding-right",
210 Property::PaddingTop => "padding-top",
211 Property::PageBreakAfter => "page-break-after",
212 Property::PageBreakBefore => "page-break-before",
213 Property::PageBreakInside => "page-break-inside",
214 Property::Pause => "pause",
215 Property::PauseAfter => "pause-after",
216 Property::PauseBefore => "pause-before",
217 Property::Pitch => "pitch",
218 Property::PitchRange => "pitch-range",
219 Property::PlaceContent => "place-content",
220 Property::PlaceItems => "place-items",
221 Property::PlaceSelf => "place-self",
222 Property::PlayDuring => "play-during",
223 Property::Position => "position",
224 Property::Quotes => "quotes",
225 Property::Resize => "resize",
226 Property::Rest => "rest",
227 Property::RestAfter => "rest-after",
228 Property::RestBefore => "rest-before",
229 Property::Richness => "richness",
230 Property::Right => "right",
231 Property::RowGap => "row-gap",
232 Property::ScrollMargin => "scroll-margin",
233 Property::ScrollMarginBlock => "scroll-margin-block",
234 Property::ScrollMarginBlockEnd => "scroll-margin-block-end",
235 Property::ScrollMarginBlockStart => "scroll-margin-block-start",
236 Property::ScrollMarginBottom => "scroll-margin-bottom",
237 Property::ScrollMarginInline => "scroll-margin-inline",
238 Property::ScrollMarginInlineEnd => "scroll-margin-inline-end",
239 Property::ScrollMarginInlineStart => "scroll-margin-inline-start",
240 Property::ScrollMarginLeft => "scroll-margin-left",
241 Property::ScrollMarginRight => "scroll-margin-right",
242 Property::ScrollMarginTop => "scroll-margin-top",
243 Property::ScrollPadding => "scroll-padding",
244 Property::ScrollPaddingBlock => "scroll-padding-block",
245 Property::ScrollPaddingBlockEnd => "scroll-padding-block-end",
246 Property::ScrollPaddingBlockStart => "scroll-padding-block-start",
247 Property::ScrollPaddingBottom => "scroll-padding-bottom",
248 Property::ScrollPaddingInline => "scroll-padding-inline",
249 Property::ScrollPaddingInlineEnd => "scroll-padding-inline-end",
250 Property::ScrollPaddingInlineStart => "scroll-padding-inline-start",
251 Property::ScrollPaddingLeft => "scroll-padding-left",
252 Property::ScrollPaddingRight => "scroll-padding-right",
253 Property::ScrollPaddingTop => "scroll-padding-top",
254 Property::ScrollSnapAlign => "scroll-snap-align",
255 Property::ScrollSnapStop => "scroll-snap-stop",
256 Property::ScrollSnapType => "scroll-snap-type",
257 Property::ShapeImageThreshold => "shape-image-threshold",
258 Property::ShapeMargin => "shape-margin",
259 Property::ShapeOutside => "shape-outside",
260 Property::Speak => "speak",
261 Property::SpeakAs => "speak-as",
262 Property::SpeakHeader => "speak-header",
263 Property::SpeakNumeral => "speak-numeral",
264 Property::SpeakPunctuation => "speak-punctuation",
265 Property::SpeechRate => "speech-rate",
266 Property::Stress => "stress",
267 Property::TableLayout => "table-layout",
268 Property::TabSize => "tab-size",
269 Property::TextAlign => "text-align",
270 Property::TextAlignAll => "text-align-all",
271 Property::TextAlignLast => "text-align-last",
272 Property::TextCombineUpright => "text-combine-upright",
273 Property::TextDecoration => "text-decoration",
274 Property::TextDecorationColor => "text-decoration-color",
275 Property::TextDecorationLine => "text-decoration-line",
276 Property::TextDecorationStyle => "text-decoration-style",
277 Property::TextEmphasis => "text-emphasis",
278 Property::TextEmphasisColor => "text-emphasis-color",
279 Property::TextEmphasisPosition => "text-emphasis-position",
280 Property::TextEmphasisStyle => "text-emphasis-style",
281 Property::TextIndent => "text-indent",
282 Property::TextJustify => "text-justify",
283 Property::TextOrientation => "text-orientation",
284 Property::TextOverflow => "text-overflow",
285 Property::TextShadow => "text-shadow",
286 Property::TextTransform => "text-transform",
287 Property::TextUnderlinePosition => "text-underline-position",
288 Property::Top => "top",
289 Property::Transform => "transform",
290 Property::TransformBox => "transform-box",
291 Property::TransformOrigin => "transform-origin",
292 Property::Transition => "transition",
293 Property::TransitionDelay => "transition-delay",
294 Property::TransitionDuration => "transition-duration",
295 Property::TransitionProperty => "transition-property",
296 Property::TransitionTimingFunction => "transition-timing-function",
297 Property::UnicodeBidi => "unicode-bidi",
298 Property::VerticalAlign => "vertical-align",
299 Property::Visibility => "visibility",
300 Property::VoiceBalance => "voice-balance",
301 Property::VoiceDuration => "voice-duration",
302 Property::VoiceFamily => "voice-family",
303 Property::VoicePitch => "voice-pitch",
304 Property::VoiceRange => "voice-range",
305 Property::VoiceRate => "voice-rate",
306 Property::VoiceStress => "voice-stress",
307 Property::VoiceVolume => "voice-volume",
308 Property::Volume => "volume",
309 Property::WhiteSpace => "white-space",
310 Property::Widows => "widows",
311 Property::Width => "width",
312 Property::WillChange => "will-change",
313 Property::WordBreak => "word-break",
314 Property::WordSpacing => "word-spacing",
315 Property::WordWrap => "word-wrap",
316 Property::WritingMode => "writing-mode",
317 Property::ZIndex => "z-index",
318 };
319 let value = match self.value {
320 Value::Add => "add",
321 Value::Additive => "additive",
322 Value::Alias => "alias",
323 Value::All => "all",
324 Value::AllowEnd => "allow-end",
325 Value::AllScroll => "all-scroll",
326 Value::Alpha => "alpha",
327 Value::Alphabetic => "alphabetic",
328 Value::Alternate => "alternate",
329 Value::AlternateReverse => "alternate-reverse",
330 Value::Always => "always",
331 Value::Anywhere => "anywhere",
332 Value::ArabicIndic => "arabic-indic",
333 Value::Arithmetic => "arithmetic",
334 Value::Armenian => "armenian",
335 Value::Atop => "atop",
336 Value::Aural => "aural",
337 Value::Auto => "auto",
338 Value::AutoFill => "auto-fill",
339 Value::AutoFit => "auto-fit",
340 Value::Avoid => "avoid",
341 Value::AvoidColumn => "avoid-column",
342 Value::AvoidPage => "avoid-page",
343 Value::AvoidRegion => "avoid-region",
344 Value::Backgroundalpha => "backgroundalpha",
345 Value::Backgroundimage => "backgroundimage",
346 Value::Backwards => "backwards",
347 Value::Balance => "balance",
348 Value::BalanceAll => "balance-all",
349 Value::Baseline => "baseline",
350 Value::Bengali => "bengali",
351 Value::BidiOverride => "bidi-override",
352 Value::Blink => "blink",
353 Value::Block => "block",
354 Value::BorderBox => "border-box",
355 Value::Both => "both",
356 Value::Bottom => "bottom",
357 Value::Braille => "braille",
358 Value::BreakAll => "break-all",
359 Value::BreakSpaces => "break-spaces",
360 Value::BreakWord => "break-word",
361 Value::Bullets => "bullets",
362 Value::Cambodian => "cambodian",
363 Value::Capitalize => "capitalize",
364 Value::Cell => "cell",
365 Value::Center => "center",
366 Value::Ch => "ch",
367 Value::Circle => "circle",
368 Value::CjkDecimal => "cjk-decimal",
369 Value::CjkEarthlyBranch => "cjk-earthly-branch",
370 Value::CjkHeavenlyStem => "cjk-heavenly-stem",
371 Value::CjkIdeographic => "cjk-ideographic",
372 Value::Clip => "clip",
373 Value::Clone => "clone",
374 Value::CloseQuote => "close-quote",
375 Value::ClosestCorner => "closest-corner",
376 Value::ClosestSide => "closest-side",
377 Value::Cm => "cm",
378 Value::Coarse => "coarse",
379 Value::Color => "color",
380 Value::ColorBurn => "color-burn",
381 Value::ColorDodge => "color-dodge",
382 Value::ColResize => "col-resize",
383 Value::Column => "column",
384 Value::ColumnReverse => "column-reverse",
385 Value::Contain => "contain",
386 Value::Content => "content",
387 Value::ContentBox => "content-box",
388 Value::Contents => "contents",
389 Value::ContextMenu => "context-menu",
390 Value::Copy => "copy",
391 Value::Cover => "cover",
392 Value::CrispEdges => "crisp-edges",
393 Value::Crosshair => "crosshair",
394 Value::Currentcolor => "currentcolor",
395 Value::Cyclic => "cyclic",
396 Value::Darken => "darken",
397 Value::Dashed => "dashed",
398 Value::Decimal => "decimal",
399 Value::DecimalLeadingZero => "decimal-leading-zero",
400 Value::Default => "default",
401 Value::Deg => "deg",
402 Value::Dense => "dense",
403 Value::Devanagari => "devanagari",
404 Value::Difference => "difference",
405 Value::Disc => "disc",
406 Value::DisclosureClosed => "disclosure-closed",
407 Value::DisclosureOpen => "disclosure-open",
408 Value::Discrete => "discrete",
409 Value::Distribute => "distribute",
410 Value::Dot => "dot",
411 Value::Dotted => "dotted",
412 Value::Double => "double",
413 Value::DoubleCircle => "double-circle",
414 Value::Dpcm => "dpcm",
415 Value::Dpi => "dpi",
416 Value::Dppx => "dppx",
417 Value::Duplicate => "duplicate",
418 Value::EachLine => "each-line",
419 Value::Ease => "ease",
420 Value::EaseIn => "ease-in",
421 Value::EaseInOut => "ease-in-out",
422 Value::EaseOut => "ease-out",
423 Value::Ellipse => "ellipse",
424 Value::Ellipsis => "ellipsis",
425 Value::Em => "em",
426 Value::Embed => "embed",
427 Value::Embossed => "embossed",
428 Value::End => "end",
429 Value::EResize => "e-resize",
430 Value::EthiopicNumeric => "ethiopic-numeric",
431 Value::Evenodd => "evenodd",
432 Value::EwResize => "ew-resize",
433 Value::Ex => "ex",
434 Value::Exclude => "exclude",
435 Value::Exclusion => "exclusion",
436 Value::Extends => "extends",
437 Value::FarthestCorner => "farthest-corner",
438 Value::FarthestSide => "farthest-side",
439 Value::Fast => "fast",
440 Value::Fill => "fill",
441 Value::FillBox => "fill-box",
442 Value::Filled => "filled",
443 Value::Fillpaint => "fillpaint",
444 Value::Fine => "fine",
445 Value::First => "first",
446 Value::FitContent => "fit-content",
447 Value::Fixed => "fixed",
448 Value::Flex => "flex",
449 Value::FlexEnd => "flex-end",
450 Value::FlexStart => "flex-start",
451 Value::FontFeatureSettings => "font-feature-settings",
452 Value::FontVariant => "font-variant",
453 Value::ForceEnd => "force-end",
454 Value::Forwards => "forwards",
455 Value::Fr => "fr",
456 Value::FromImage => "from-image",
457 Value::FullSizeKana => "full-size-kana",
458 Value::FullWidth => "full-width",
459 Value::Gamma => "gamma",
460 Value::Georgian => "georgian",
461 Value::Grab => "grab",
462 Value::Grabbing => "grabbing",
463 Value::Grad => "grad",
464 Value::Grid => "grid",
465 Value::Groove => "groove",
466 Value::Gujarati => "gujarati",
467 Value::Gurmukhi => "gurmukhi",
468 Value::Handheld => "handheld",
469 Value::Hanging => "hanging",
470 Value::HardLight => "hard-light",
471 Value::Hebrew => "hebrew",
472 Value::Help => "help",
473 Value::Hidden => "hidden",
474 Value::HighQuality => "high-quality",
475 Value::Hiragana => "hiragana",
476 Value::HiraganaIroha => "hiragana-iroha",
477 Value::HorizontalTb => "horizontal-tb",
478 Value::Hover => "hover",
479 Value::Hue => "hue",
480 Value::Hz => "hz",
481 Value::Identity => "identity",
482 Value::InterCharacter => "inter-character",
483 Value::Interlace => "interlace",
484 Value::Intersect => "intersect",
485 Value::InterWord => "inter-word",
486 Value::Invert => "invert",
487 Value::Isolate => "isolate",
488 Value::IsolateOverride => "isolate-override",
489 Value::JapaneseFormal => "japanese-formal",
490 Value::JapaneseInformal => "japanese-informal",
491 Value::JumpBoth => "jump-both",
492 Value::JumpEnd => "jump-end",
493 Value::JumpNone => "jump-none",
494 Value::JumpStart => "jump-start",
495 Value::Justify => "justify",
496 Value::JustifyAll => "justify-all",
497 Value::Kannada => "kannada",
498 Value::Katakana => "katakana",
499 Value::KatakanaIroha => "katakana-iroha",
500 Value::KeepAll => "keep-all",
501 Value::Khmer => "khmer",
502 Value::Khz => "khz",
503 Value::KoreanHangulFormal => "korean-hangul-formal",
504 Value::KoreanHanjaFormal => "korean-hanja-formal",
505 Value::KoreanHanjaInformal => "korean-hanja-informal",
506 Value::Landscape => "landscape",
507 Value::Lao => "lao",
508 Value::Last => "last",
509 Value::Layout => "layout",
510 Value::Left => "left",
511 Value::Legacy => "legacy",
512 Value::Lighten => "lighten",
513 Value::Linear => "linear",
514 Value::Linearrgb => "linearrgb",
515 Value::LineThrough => "line-through",
516 Value::ListItem => "list-item",
517 Value::Local => "local",
518 Value::Loose => "loose",
519 Value::LowerAlpha => "lower-alpha",
520 Value::LowerArmenian => "lower-armenian",
521 Value::Lowercase => "lowercase",
522 Value::LowerGreek => "lower-greek",
523 Value::LowerLatin => "lower-latin",
524 Value::LowerRoman => "lower-roman",
525 Value::Ltr => "ltr",
526 Value::Luminance => "luminance",
527 Value::Luminosity => "luminosity",
528 Value::Malayalam => "malayalam",
529 Value::Mandatory => "mandatory",
530 Value::Manual => "manual",
531 Value::MarginBox => "margin-box",
532 Value::MatchParent => "match-parent",
533 Value::MatchSource => "match-source",
534 Value::MaxContent => "max-content",
535 Value::Medium => "medium",
536 Value::MinContent => "min-content",
537 Value::Minmax => "minmax",
538 Value::Mixed => "mixed",
539 Value::Mm => "mm",
540 Value::Mongolian => "mongolian",
541 Value::Move => "move",
542 Value::Ms => "ms",
543 Value::Multiply => "multiply",
544 Value::Myanmar => "myanmar",
545 Value::NeResize => "ne-resize",
546 Value::NeswResize => "nesw-resize",
547 Value::NoClip => "no-clip",
548 Value::NoCloseQuote => "no-close-quote",
549 Value::NoComposite => "no-composite",
550 Value::NoDrop => "no-drop",
551 Value::None => "none",
552 Value::Nonzero => "nonzero",
553 Value::NoOpenQuote => "no-open-quote",
554 Value::NoRepeat => "no-repeat",
555 Value::Normal => "normal",
556 Value::Not => "not",
557 Value::NotAllowed => "not-allowed",
558 Value::Nowrap => "nowrap",
559 Value::NResize => "n-resize",
560 Value::NsResize => "ns-resize",
561 Value::Numbers => "numbers",
562 Value::Numeric => "numeric",
563 Value::NwResize => "nw-resize",
564 Value::NwseResize => "nwse-resize",
565 Value::Objectboundingbox => "objectboundingbox",
566 Value::Only => "only",
567 Value::Open => "open",
568 Value::OpenQuote => "open-quote",
569 Value::OptionalPaged => "optional-paged",
570 Value::Oriya => "oriya",
571 Value::Outset => "outset",
572 Value::Over => "over",
573 Value::Overlay => "overlay",
574 Value::Overline => "overline",
575 Value::P3 => "p3",
576 Value::PaddingBox => "padding-box",
577 Value::Page => "page",
578 Value::Paged => "paged",
579 Value::Paint => "paint",
580 Value::Paused => "paused",
581 Value::Pc => "pc",
582 Value::Persian => "persian",
583 Value::Pixelated => "pixelated",
584 Value::Pixel => "pixel",
585 Value::Plaintext => "plaintext",
586 Value::Pointer => "pointer",
587 Value::Portrait => "portrait",
588 Value::Pre => "pre",
589 Value::PreLine => "pre-line",
590 Value::PreWrap => "pre-wrap",
591 Value::Print => "print",
592 Value::Progress => "progress",
593 Value::Progressive => "progressive",
594 Value::Projection => "projection",
595 Value::Proximity => "proximity",
596 Value::Pt => "pt",
597 Value::Px => "px",
598 Value::Q => "q",
599 Value::Rad => "rad",
600 Value::Rec2020 => "rec2020",
601 Value::Recto => "recto",
602 Value::Region => "region",
603 Value::Rem => "rem",
604 Value::Repeat => "repeat",
605 Value::RepeatX => "repeat-x",
606 Value::RepeatY => "repeat-y",
607 Value::Reverse => "reverse",
608 Value::Revert => "revert",
609 Value::Ridge => "ridge",
610 Value::Right => "right",
611 Value::Rotate => "rotate",
612 Value::Round => "round",
613 Value::Row => "row",
614 Value::RowResize => "row-resize",
615 Value::RowReverse => "row-reverse",
616 Value::Rtl => "rtl",
617 Value::Running => "running",
618 Value::S => "s",
619 Value::Safe => "safe",
620 Value::Saturation => "saturation",
621 Value::Scale => "scale",
622 Value::ScaleDown => "scale-down",
623 Value::Scalex => "scalex",
624 Value::Scaley => "scaley",
625 Value::Screen => "screen",
626 Value::Scroll => "scroll",
627 Value::ScrollPosition => "scroll-position",
628 Value::SelfEnd => "self-end",
629 Value::SelfStart => "self-start",
630 Value::SeResize => "se-resize",
631 Value::Sesame => "sesame",
632 Value::Sideways => "sideways",
633 Value::SidewaysRight => "sideways-right",
634 Value::SimpChineseFormal => "simp-chinese-formal",
635 Value::SimpChineseInformal => "simp-chinese-informal",
636 Value::Size => "size",
637 Value::Skew => "skew",
638 Value::Skewx => "skewx",
639 Value::Skewy => "skewy",
640 Value::Slice => "slice",
641 Value::Slow => "slow",
642 Value::Smooth => "smooth",
643 Value::SoftLight => "soft-light",
644 Value::Solid => "solid",
645 Value::Sourcealpha => "sourcealpha",
646 Value::Sourcegraphic => "sourcegraphic",
647 Value::Space => "space",
648 Value::SpaceAround => "space-around",
649 Value::SpaceBetween => "space-between",
650 Value::SpaceEvenly => "space-evenly",
651 Value::Speech => "speech",
652 Value::SpellOut => "spell-out",
653 Value::Square => "square",
654 Value::SResize => "s-resize",
655 Value::Srgb => "srgb",
656 Value::Start => "start",
657 Value::StepEnd => "step-end",
658 Value::StepStart => "step-start",
659 Value::Stretch => "stretch",
660 Value::Strict => "strict",
661 Value::StrokeBox => "stroke-box",
662 Value::Strokepaint => "strokepaint",
663 Value::Style => "style",
664 Value::Subtract => "subtract",
665 Value::SwResize => "sw-resize",
666 Value::Symbolic => "symbolic",
667 Value::Table => "table",
668 Value::TableCaption => "table-caption",
669 Value::TableCell => "table-cell",
670 Value::TableColumn => "table-column",
671 Value::TableColumnGroup => "table-column-group",
672 Value::TableFooterGroup => "table-footer-group",
673 Value::TableHeaderGroup => "table-header-group",
674 Value::TableRow => "table-row",
675 Value::TableRowGroup => "table-row-group",
676 Value::Tamil => "tamil",
677 Value::Telugu => "telugu",
678 Value::Text => "text",
679 Value::Thai => "thai",
680 Value::Thick => "thick",
681 Value::Thin => "thin",
682 Value::Tibetan => "tibetan",
683 Value::Top => "top",
684 Value::TradChineseFormal => "trad-chinese-formal",
685 Value::TradChineseInformal => "trad-chinese-informal",
686 Value::Translate => "translate",
687 Value::Translatex => "translatex",
688 Value::Translatey => "translatey",
689 Value::Triangle => "triangle",
690 Value::Tty => "tty",
691 Value::Turn => "turn",
692 Value::Tv => "tv",
693 Value::Under => "under",
694 Value::Underline => "underline",
695 Value::Unsafe => "unsafe",
696 Value::Unset => "unset",
697 Value::UpperAlpha => "upper-alpha",
698 Value::UpperArmenian => "upper-armenian",
699 Value::Uppercase => "uppercase",
700 Value::UpperLatin => "upper-latin",
701 Value::UpperRoman => "upper-roman",
702 Value::Upright => "upright",
703 Value::Userspaceonuse => "userspaceonuse",
704 Value::Verso => "verso",
705 Value::VerticalLr => "vertical-lr",
706 Value::VerticalRl => "vertical-rl",
707 Value::VerticalText => "vertical-text",
708 Value::Vh => "vh",
709 Value::ViewBox => "view-box",
710 Value::Vmax => "vmax",
711 Value::Vmin => "vmin",
712 Value::Vw => "vw",
713 Value::Wait => "wait",
714 Value::Words => "words",
715 Value::Wrap => "wrap",
716 Value::WrapReverse => "wrap-reverse",
717 Value::WResize => "w-resize",
718 Value::X => "x",
719 Value::Xor => "xor",
720 Value::Y => "y",
721 Value::ZoomIn => "zoom-in",
722 Value::ZoomOut => "zoom-out",
723 };
724 format!("{prop}: {value}", prop=property, value=value)
725 }
726}
727