bropkg/engine/properties

Bro aka NimSass A super fast stylesheet language for cool kids.

Full list of CSS Properties and Values, parser grammar and other cool things.

Auto-generated at Compile Time with Nim language from WebKit source: https://github.com/WebKit/WebKit/blob/main/Source/WebCore/css/CSSProperties.json

  1. 2023 George Lemon | MIT License
    Made by Humans from OpenPeep https://github.com/openpeep/bro
Property accent-color Property align-tracks Property caret-color Property color Property direction Property display Property font-family Property font-size Property font-size-adjust Property font-style Property font-weight Property font-stretch Property text-edge Property text-rendering Property font-feature-settings Property font-variation-settings Property font-kerning Property font-palette Property -webkit-font-smoothing Property font-variant-ligatures Property font-variant-position Property font-variant-caps Property font-variant-numeric Property font-variant-alternates Property font-variant-east-asian Property font-synthesis Property font-synthesis-weight Property font-synthesis-style Property font-synthesis-small-caps Property font-optical-sizing Property font Property font-variant Property justify-tracks Property -webkit-locale Property text-orientation Property -webkit-text-orientation Property -webkit-text-size-adjust Property text-spacing-trim Property text-autospace Property writing-mode Property -webkit-text-zoom Property zoom Property -webkit-ruby-position Property alignment-baseline Property all Property animation Property animation-composition Property animation-delay Property animation-direction Property animation-duration Property animation-fill-mode Property animation-iteration-count Property animation-name Property animation-play-state Property animation-timing-function Property background Property background-attachment Property background-blend-mode Property background-clip Property background-color Property background-image Property background-origin Property background-position Property background-position-x Property background-position-y Property background-repeat Property background-size Property baseline-shift Property block-size Property border Property border-block Property border-block-color Property border-block-end Property border-block-end-color Property border-block-end-style Property border-block-end-width Property border-block-start Property border-block-start-color Property border-block-start-style Property border-block-start-width Property border-block-style Property border-block-width Property border-bottom Property border-bottom-color Property border-bottom-left-radius Property border-bottom-right-radius Property border-bottom-style Property border-bottom-width Property border-collapse Property border-color Property border-end-end-radius Property border-end-start-radius Property border-image Property border-image-outset Property border-image-repeat Property border-image-slice Property border-image-source Property border-image-width Property border-inline Property border-inline-color Property border-inline-end Property border-inline-end-color Property border-inline-end-style Property border-inline-end-width Property border-inline-start Property border-inline-start-color Property border-inline-start-style Property border-inline-start-width Property border-inline-style Property border-inline-width Property border-left Property border-left-color Property border-left-style Property border-left-width Property border-radius Property border-right Property border-right-color Property border-right-style Property border-right-width Property border-spacing Property border-start-end-radius Property border-start-start-radius Property border-style Property border-top Property border-top-color Property border-top-left-radius Property border-top-right-radius Property border-top-style Property border-top-width Property border-width Property bottom Property box-shadow Property box-sizing Property break-after Property break-before Property break-inside Property buffered-rendering Property caption-side Property clear Property clip Property clip-path Property clip-rule Property color-interpolation Property color-interpolation-filters Property content Property counter-increment Property counter-reset Property counter-set Property cursor Property -webkit-cursor-visibility Property cx Property cy Property dominant-baseline Property empty-cells Property fill Property fill-opacity Property fill-rule Property float Property flood-color Property flood-opacity Property glyph-orientation-horizontal Property glyph-orientation-vertical Property hanging-punctuation Property height Property image-orientation Property image-rendering Property image-resolution Property inline-size Property input-security Property inset Property inset-block Property inset-block-end Property inset-block-start Property inset-inline Property inset-inline-end Property inset-inline-start Property kerning Property leading-trim Property left Property letter-spacing Property lighting-color Property line-height Property list-style Property list-style-image Property list-style-position Property list-style-type Property margin Property margin-block Property margin-block-end Property margin-block-start Property margin-bottom Property margin-inline Property margin-inline-end Property margin-inline-start Property margin-left Property margin-right Property margin-top Property margin-trim Property marker Property marker-end Property marker-mid Property marker-start Property mask Property mask-clip Property mask-composite Property mask-image Property mask-mode Property mask-origin Property mask-position Property -webkit-mask-position Property -webkit-mask-position-x Property -webkit-mask-position-y Property mask-repeat Property mask-size Property mask-type Property masonry-auto-flow Property math-style Property max-block-size Property max-height Property max-inline-size Property max-width Property min-block-size Property min-height Property min-inline-size Property min-width Property object-fit Property object-position Property offset-path Property offset-distance Property offset-position Property offset-anchor Property offset-rotate Property offset Property opacity Property orphans Property outline Property outline-color Property outline-offset Property outline-style Property outline-width Property overflow Property overflow-anchor Property overflow-wrap Property overflow-x Property overflow-y Property overscroll-behavior Property overscroll-behavior-x Property overscroll-behavior-y Property overscroll-behavior-inline Property overscroll-behavior-block Property padding Property padding-block Property padding-block-end Property padding-block-start Property padding-bottom Property padding-inline Property padding-inline-end Property padding-inline-start Property padding-left Property padding-right Property padding-top Property page Property page-break-after Property page-break-before Property page-break-inside Property paint-order Property pointer-events Property position Property quotes Property r Property resize Property right Property rx Property ry Property shape-rendering Property size Property stop-color Property stop-opacity Property stroke Property stroke-dasharray Property stroke-dashoffset Property stroke-linecap Property stroke-linejoin Property stroke-miterlimit Property stroke-opacity Property stroke-color Property stroke-width Property speak-as Property table-layout Property tab-size Property text-align Property text-align-last Property text-anchor Property text-decoration Property text-group-align Property text-indent Property text-justify Property text-line-through Property text-line-through-color Property text-line-through-mode Property text-line-through-style Property text-line-through-width Property text-overflow Property text-overline Property text-overline-color Property text-overline-mode Property text-overline-style Property text-overline-width Property text-shadow Property text-transform Property text-underline Property text-underline-color Property text-underline-mode Property text-underline-style Property text-underline-width Property text-wrap Property top Property transition Property transition-delay Property transition-duration Property transition-property Property transition-timing-function Property unicode-bidi Property vector-effect Property vertical-align Property visibility Property white-space Property widows Property width Property will-change Property word-break Property word-spacing Property x Property y Property z-index Property alt Property appearance Property aspect-ratio Property contain-intrinsic-size Property contain-intrinsic-height Property contain-intrinsic-width Property contain-intrinsic-block-size Property contain-intrinsic-inline-size Property contain Property container Property container-name Property container-type Property content-visibility Property backface-visibility Property -webkit-background-clip Property -webkit-background-origin Property -webkit-background-size Property -webkit-border-horizontal-spacing Property -webkit-border-image Property -webkit-border-radius Property -webkit-border-vertical-spacing Property -webkit-box-align Property -webkit-box-direction Property -webkit-box-flex Property -webkit-box-flex-group Property -webkit-box-lines Property -webkit-box-ordinal-group Property -webkit-box-orient Property -webkit-box-pack Property -webkit-box-reflect Property -webkit-box-shadow Property -webkit-column-axis Property -webkit-column-break-after Property -webkit-column-break-before Property -webkit-column-break-inside Property column-count Property column-fill Property column-gap Property row-gap Property gap Property -webkit-column-progression Property column-rule Property column-rule-color Property column-rule-style Property column-rule-width Property column-span Property column-width Property columns Property -webkit-box-decoration-break Property mix-blend-mode Property isolation Property filter Property -apple-color-filter Property align-content Property align-items Property align-self Property flex Property flex-basis Property flex-direction Property flex-flow Property flex-grow Property flex-shrink Property flex-wrap Property justify-content Property -webkit-backdrop-filter Property -webkit-font-size-delta Property justify-self Property justify-items Property place-content Property place-items Property place-self Property grid Property grid-area Property grid-auto-columns Property grid-auto-rows Property grid-column-end Property grid-column-start Property grid-template Property grid-template-columns Property grid-template-rows Property grid-row-end Property grid-row-start Property grid-column Property grid-row Property grid-template-areas Property grid-auto-flow Property -webkit-hyphenate-character Property -webkit-hyphenate-limit-after Property -webkit-hyphenate-limit-before Property -webkit-hyphenate-limit-lines Property -webkit-hyphens Property -webkit-initial-letter Property -webkit-line-box-contain Property -webkit-line-align Property line-break Property -webkit-line-clamp Property -webkit-line-grid Property -webkit-line-snap Property -webkit-box-snap Property -webkit-marquee-direction Property -webkit-marquee-increment Property -webkit-marquee-repetition Property -webkit-marquee-speed Property -webkit-marquee-style Property -webkit-mask Property -webkit-mask-box-image Property -webkit-mask-box-image-outset Property -webkit-mask-box-image-repeat Property -webkit-mask-box-image-slice Property -webkit-mask-box-image-source Property -webkit-mask-box-image-width Property -webkit-mask-clip Property -webkit-mask-composite Property -webkit-mask-source-type Property -webkit-nbsp-mode Property color-scheme Property order Property perspective Property -webkit-perspective Property perspective-origin Property perspective-origin-x Property perspective-origin-y Property print-color-adjust Property -webkit-rtl-ordering Property -webkit-text-combine Property text-combine-upright Property -webkit-text-decoration Property text-decoration-line Property text-decoration-style Property text-decoration-color Property text-decoration-skip Property text-decoration-skip-ink Property text-underline-position Property text-underline-offset Property text-decoration-thickness Property -webkit-text-decorations-in-effect Property -internal-text-autosizing-status Property text-emphasis Property text-emphasis-color Property text-emphasis-position Property text-emphasis-style Property -webkit-text-fill-color Property -webkit-text-security Property -webkit-text-stroke Property -webkit-text-stroke-color Property -webkit-text-stroke-width Property transform Property transform-box Property transform-origin Property transform-origin-x Property transform-origin-y Property transform-origin-z Property transform-style Property translate Property scale Property rotate Property -webkit-user-drag Property -webkit-user-modify Property -webkit-user-select Property scroll-behavior Property scroll-margin Property scroll-margin-bottom Property scroll-margin-left Property scroll-margin-right Property scroll-margin-top Property scroll-margin-inline-start Property scroll-margin-block-start Property scroll-margin-inline-end Property scroll-margin-block-end Property scroll-margin-block Property scroll-margin-inline Property scroll-padding Property scroll-padding-bottom Property scroll-padding-left Property scroll-padding-right Property scroll-padding-top Property scroll-padding-inline-start Property scroll-padding-block-start Property scroll-padding-inline-end Property scroll-padding-block-end Property scroll-padding-block Property scroll-padding-inline Property scroll-snap-align Property scroll-snap-type Property scroll-snap-stop Property shape-outside Property shape-margin Property shape-image-threshold Property -webkit-tap-highlight-color Property -webkit-overflow-scrolling Property touch-action Property -webkit-touch-callout Property -apple-trailing-word Property -apple-pay-button-style Property -apple-pay-button-type Property fill-color Property fill-image Property fill-origin Property fill-position Property border-boundary

Types

Property = ref object
  status: Status
  longhands: seq[string]
  values: TableRef[string, Status]
  url: string
Separator = enum
  commaSep = ",", spaceSep = " "
Status = enum
  Implemented, NonStandard, Unimplemented, Experimental, Obsolete, Removed,
  Deprecated

Vars

Properties = newTable(32)

Procs

proc hasStrictValue(prop: Property; key: string): tuple[exists: bool,
    status: Status] {....raises: [KeyError], tags: [].}