Implement CSS `display: flow-root` (modern clearfix)
[WebKit-https.git] / Source / WebCore / css / CSSValueKeywords.in
index df916e8..e9192d3 100644 (file)
@@ -11,7 +11,7 @@ revert
 // CSS_PROP_BORDER_TOP_STYLE
 // CSS_PROP_BORDER_BOTTOM_STYLE
 // CSS_PROP_BORDER_LEFT_STYLE
 // CSS_PROP_BORDER_TOP_STYLE
 // CSS_PROP_BORDER_BOTTOM_STYLE
 // CSS_PROP_BORDER_LEFT_STYLE
-// The order here must match the order of the EBorderStyle enum in RenderStyleConstants.h.
+// The order here must match the order of the BorderStyle enum in RenderStyleConstants.h.
 none
 hidden
 inset
 none
 hidden
 inset
@@ -35,7 +35,7 @@ small-caption
 -webkit-small-control
 -webkit-control
 
 -webkit-small-control
 -webkit-control
 
-#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS
+#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY
 -apple-system-headline
 -apple-system-body
 -apple-system-subheadline
 -apple-system-headline
 -apple-system-body
 -apple-system-subheadline
@@ -48,9 +48,11 @@ small-caption
 -apple-system-short-footnote
 -apple-system-short-caption1
 -apple-system-tall-body
 -apple-system-short-footnote
 -apple-system-short-caption1
 -apple-system-tall-body
+-apple-system-title0
 -apple-system-title1
 -apple-system-title2
 -apple-system-title3
 -apple-system-title1
 -apple-system-title2
 -apple-system-title3
+-apple-system-title4
 #endif
 
 // This has to go after the -apple-system versions.
 #endif
 
 // This has to go after the -apple-system versions.
@@ -125,15 +127,7 @@ normal
 bold
 bolder
 lighter
 bold
 bolder
 lighter
-100
-200
-300
-400
-500
-600
-700
-800
-900
+
 //
 // CSS_PROP_FONT_SIZE:
 //
 //
 // CSS_PROP_FONT_SIZE:
 //
@@ -173,6 +167,7 @@ fantasy
 monospace
 -webkit-body
 -webkit-pictograph
 monospace
 -webkit-body
 -webkit-pictograph
+system-ui
 //
 //
 // CSS_PROP_*_COLOR
 //
 //
 // CSS_PROP_*_COLOR
@@ -227,6 +222,26 @@ threedshadow
 window
 windowframe
 windowtext
 window
 windowframe
 windowtext
+#if (defined(WTF_PLATFORM_MAC) && WTF_PLATFORM_MAC) || (defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY)
+-apple-system-header-text
+-apple-system-text-background
+-apple-system-control-background
+-apple-system-placeholder-text
+-apple-system-label
+-apple-system-secondary-label
+-apple-system-tertiary-label
+-apple-system-quaternary-label
+-apple-system-grid
+-apple-system-separator
+-apple-system-container-border
+-apple-system-background
+-apple-system-secondary-background
+-apple-system-tertiary-background
+-apple-system-grouped-background
+-apple-system-secondary-grouped-background
+-apple-system-tertiary-grouped-background
+-apple-system-selected-content-background
+-apple-system-unemphasized-selected-content-background
 -apple-wireless-playback-target-active
 -apple-system-blue
 -apple-system-brown
 -apple-wireless-playback-target-active
 -apple-system-blue
 -apple-system-brown
@@ -237,6 +252,25 @@ windowtext
 -apple-system-purple
 -apple-system-red
 -apple-system-yellow
 -apple-system-purple
 -apple-system-red
 -apple-system-yellow
+#endif
+#if defined(WTF_PLATFORM_MAC) && WTF_PLATFORM_MAC
+-apple-system-alternate-selected-text
+-apple-system-control-accent
+-apple-system-even-alternating-content-background
+-apple-system-odd-alternating-content-background
+-apple-system-selected-text
+-apple-system-unemphasized-selected-text
+-apple-system-selected-text-background
+-apple-system-unemphasized-selected-text-background
+-apple-system-find-highlight-background
+#endif
+#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY
+-apple-system-indigo
+-apple-system-teal
+#endif
+#if defined(HAVE_OS_DARK_MODE_SUPPORT) && HAVE_OS_DARK_MODE_SUPPORT
+-webkit-control-background
+#endif
 -webkit-focus-ring-color
 currentcolor
 //
 -webkit-focus-ring-color
 currentcolor
 //
@@ -284,7 +318,7 @@ bottom
 -webkit-baseline-middle
 //
 // CSS_PROP_TEXT_ALIGN:
 -webkit-baseline-middle
 //
 // CSS_PROP_TEXT_ALIGN:
-// The order here must match the order of the ETextAlign enum in RenderStyleConstants.h.
+// The order here must match the order of the TextAlignMode enum in RenderStyleConstants.h.
 //
 -webkit-auto
 left
 //
 -webkit-auto
 left
@@ -309,7 +343,7 @@ outside
 inside
 //
 // CSS_PROP_LIST_STYLE_TYPE:
 inside
 //
 // CSS_PROP_LIST_STYLE_TYPE:
-// The order here must match the order of the EListStyleType enum in RenderStyleConstants.h.
+// The order here must match the order of the ListStyleType enum in RenderStyleConstants.h.
 //
 disc
 circle
 //
 disc
 circle
@@ -394,7 +428,7 @@ katakana-iroha
 //none
 //
 // CSS_PROP_DISPLAY:
 //none
 //
 // CSS_PROP_DISPLAY:
-// The order here must match the order of the EDisplay enum in RenderStyleConstants.h.
+// The order here must match the order of the DisplayType enum in RenderStyleConstants.h.
 //
 inline
 block
 //
 inline
 block
@@ -417,35 +451,41 @@ flex
 -webkit-flex
 inline-flex
 -webkit-inline-flex
 -webkit-flex
 inline-flex
 -webkit-inline-flex
--webkit-grid
--webkit-inline-grid
+contents
+grid
+inline-grid
+flow-root
 //none
 //
 // CSS_PROP_CURSOR:
 //none
 //
 // CSS_PROP_CURSOR:
-// The order here must match the order of the ECursor enum in RenderStyleConstants.h.
+// The order here must match the order of the CursorType enum in RenderStyleConstants.h.
 //
 auto
 //
 auto
-crosshair
 default
 default
+// none
+context-menu
+help
 pointer
 pointer
-move
-vertical-text
+progress
+wait
 cell
 cell
-context-menu
+crosshair
+text
+vertical-text
 alias
 // copy
 alias
 // copy
-progress
+move
 no-drop
 not-allowed
 no-drop
 not-allowed
-zoom-in
-zoom-out
+grab
+grabbing
 e-resize
 e-resize
+n-resize
 ne-resize
 nw-resize
 ne-resize
 nw-resize
-n-resize
+s-resize
 se-resize
 sw-resize
 se-resize
 sw-resize
-s-resize
 w-resize
 ew-resize
 ns-resize
 w-resize
 ew-resize
 ns-resize
@@ -453,15 +493,13 @@ nesw-resize
 nwse-resize
 col-resize
 row-resize
 nwse-resize
 col-resize
 row-resize
-text
-wait
-help
 all-scroll
 all-scroll
+zoom-in
+zoom-out
 -webkit-grab
 -webkit-grabbing
 -webkit-zoom-in
 -webkit-zoom-out
 -webkit-grab
 -webkit-grabbing
 -webkit-zoom-in
 -webkit-zoom-out
-// none
 //
 // CSS_PROP_CURSOR_VISIBILITY:
 // auto
 //
 // CSS_PROP_CURSOR_VISIBILITY:
 // auto
@@ -510,6 +548,8 @@ hide
 higher
 invert
 inverted
 higher
 invert
 inverted
+isolate-override
+plaintext
 -webkit-isolate
 -webkit-isolate-override
 -webkit-plaintext
 -webkit-isolate
 -webkit-isolate-override
 -webkit-plaintext
@@ -527,7 +567,6 @@ no-close-quote
 no-open-quote
 nowrap
 open-quote
 no-open-quote
 nowrap
 open-quote
-overlay
 overline
 portrait
 pre
 overline
 portrait
 pre
@@ -594,6 +633,7 @@ space-evenly
 // flex-end
 // center
 // baseline
 // flex-end
 // center
 // baseline
+first-baseline
 last-baseline
 // stretch
 
 last-baseline
 // stretch
 
@@ -612,7 +652,8 @@ last-baseline
 // auto
 // stretch
 // baseline
 // auto
 // stretch
 // baseline
-// last-baseline
+// last baseline
+// first baseline
 // center
 // start
 // end
 // center
 // start
 // end
@@ -686,9 +727,12 @@ min-intrinsic
 //
 // CSS3 intrinsic dimension keywords
 //
 //
 // CSS3 intrinsic dimension keywords
 //
+min-content
 -webkit-min-content
 -webkit-min-content
+max-content
 -webkit-max-content
 -webkit-fill-available
 -webkit-max-content
 -webkit-fill-available
+fit-content
 -webkit-fit-content
 
 //
 -webkit-fit-content
 
 //
@@ -729,6 +773,11 @@ keep-all
 break-word
 
 //
 break-word
 
 //
+// CSS_PROP_WHITE_SPACE
+//
+break-spaces
+
+//
 // CSS_PROP__KHTML_NBSP_MODE
 //
 space
 // CSS_PROP__KHTML_NBSP_MODE
 //
 space
@@ -741,6 +790,7 @@ loose
 // normal
 strict
 after-white-space
 // normal
 strict
 after-white-space
+anywhere
 
 // -webkit-appearance
 // The order here must match the order in the ControlPart enum in ThemeTypes.h.
 
 // -webkit-appearance
 // The order here must match the order in the ControlPart enum in ThemeTypes.h.
@@ -805,9 +855,19 @@ rating-level-indicator
 #if defined(ENABLE_SERVICE_CONTROLS) && ENABLE_SERVICE_CONTROLS
 image-controls-button
 #endif
 #if defined(ENABLE_SERVICE_CONTROLS) && ENABLE_SERVICE_CONTROLS
 image-controls-button
 #endif
+#if defined(ENABLE_APPLE_PAY) && ENABLE_APPLE_PAY
+-apple-pay-button
+#endif
+#if defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR
+color-well
+#endif
+#if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT
+list-button
+#endif
 textarea
 #if defined(ENABLE_ATTACHMENT_ELEMENT) && ENABLE_ATTACHMENT_ELEMENT
 attachment
 textarea
 #if defined(ENABLE_ATTACHMENT_ELEMENT) && ENABLE_ATTACHMENT_ELEMENT
 attachment
+borderless-attachment
 #endif
 caps-lock-indicator
 
 #endif
 caps-lock-indicator
 
@@ -832,20 +892,31 @@ padding
 padding-box
 
 //
 padding-box
 
 //
+// Variables Implementation
+//
+var
+-internal-variable-value
+
+//
+// Environment Variables
+//
+env
+
+//
 // CSS_PROP_BREAK_BEFORE/AFTER/INSIDE
 //
 avoid-column
 avoid-page
 // CSS_PROP_BREAK_BEFORE/AFTER/INSIDE
 //
 avoid-column
 avoid-page
-avoid-region
 page
 recto
 region
 verso
 
 page
 recto
 region
 verso
 
-// CSS_SHAPES
+// CSS Shapes
 margin-box
 
 // clip-path
 margin-box
 
 // clip-path
+stroke-box
 view-box
 
 //
 view-box
 
 //
@@ -971,15 +1042,6 @@ geometricPrecision
 economy
 exact
 
 economy
 exact
 
-#if defined(ENABLE_VIEW_MODE_CSS_MEDIA) && ENABLE_VIEW_MODE_CSS_MEDIA
-// (-webkit-view-mode:) media feature:
-floating
-fullscreen
-maximized
-minimized
-windowed
-#endif // ENABLE_VIEW_MODE_CSS_MEDIA
-
 // -webkit-hyphenate-limit-lines
 no-limit
 
 // -webkit-hyphenate-limit-lines
 no-limit
 
@@ -992,7 +1054,7 @@ manual
 -webkit-letterpress
 #endif
 
 -webkit-letterpress
 #endif
 
-#if defined(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) && ENABLE_ACCELERATED_OVERFLOW_SCROLLING
+#if defined(ENABLE_OVERFLOW_SCROLLING_TOUCH) && ENABLE_OVERFLOW_SCROLLING_TOUCH
 // -webkit-overflow-scrolling
 // auto
 touch
 // -webkit-overflow-scrolling
 // auto
 touch
@@ -1067,7 +1129,7 @@ pixelated
 -webkit-crisp-edges
 -webkit-optimize-contrast
 
 -webkit-crisp-edges
 -webkit-optimize-contrast
 
-// -webkit-shape-outside
+// shape-outside
 nonzero
 evenodd
 at
 nonzero
 evenodd
 at
@@ -1082,10 +1144,10 @@ elements
 // -webkit-scroll-snap-type
 mandatory
 proximity
 // -webkit-scroll-snap-type
 mandatory
 proximity
+x
+y
 #endif
 
 #endif
 
-// -webkit-region-fragment
-// auto
 break
 
 wrap
 break
 
 wrap
@@ -1096,6 +1158,7 @@ edges
 alphabetic
 
 // position
 alphabetic
 
 // position
+sticky
 -webkit-sticky
 
 // (pointer:) media feature
 -webkit-sticky
 
 // (pointer:) media feature
@@ -1112,7 +1175,7 @@ on-demand
 // normal
 multiply
 screen
 // normal
 multiply
 screen
-// overlay
+overlay
 darken
 lighten
 color-dodge
 darken
 lighten
 color-dodge
@@ -1139,6 +1202,112 @@ isolate
 // none
 scale-down
 
 // none
 scale-down
 
+// background-image, etc.
+container-scroll
+cross-fade
+image-set
+linear-gradient
+radial-gradient
+conic-gradient
+repeating-linear-gradient
+repeating-radial-gradient
+repeating-conic-gradient
+-webkit-canvas
+-webkit-cross-fade
+-webkit-gradient
+-webkit-linear-gradient
+-webkit-radial-gradient
+-webkit-repeating-linear-gradient
+-webkit-repeating-radial-gradient
+-webkit-image-set
+-webkit-named-image
+filter
+-webkit-filter
+dashboard-region
+#if defined(ENABLE_CSS_PAINTING_API) && ENABLE_CSS_PAINTING_API
+paint
+#endif
+
+// deprecated gradients
+from
+to
+color-stop
+radial
+
+// content
+attr
+counter
+counters
+
+// clip
+rect
+
+// shapes
+polygon
+
+// @font-face src
+format
+
+// (-webkit-)filter
+// invert
+grayscale
+sepia
+saturate
+hue-rotate
+opacity
+brightness
+contrast
+blur
+drop-shadow
+url
+cubic-bezier
+spring
+steps
+apple-invert-lightness
+
+// colors
+rgb
+rgba
+hsl
+hsla
+//color
+
+// transform
+matrix
+matrix3d
+perspective
+rotate
+rotateX
+rotateY
+rotateZ
+rotate3d
+scale
+scaleX
+scaleY
+scaleZ
+scale3d
+skew
+skewX
+skewY
+translate
+translateX
+translateY
+translateZ
+translate3d
+
+// transform-box
+// border-box
+// view-box
+fill-box
+
+// motion path
+path
+
+calc
+-webkit-calc
+min
+max
+
 #if defined(ENABLE_CSS_IMAGE_RESOLUTION) && ENABLE_CSS_IMAGE_RESOLUTION
 from-image
 snap
 #if defined(ENABLE_CSS_IMAGE_RESOLUTION) && ENABLE_CSS_IMAGE_RESOLUTION
 from-image
 snap
@@ -1154,10 +1323,14 @@ snap
 // stroke
 markers
 
 // stroke
 markers
 
-// -webkit-grid-{column-start|column-end|row-start|row-end}
+// grid-{column-start|column-end|row-start|row-end}
 span
 
 span
 
-// -webkit-grid-auto-flow
+// grid-template-{columns|rows}
+minmax
+
+// grid-auto-flow
+auto-flow
 dense
 
 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT
 dense
 
 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT
@@ -1178,17 +1351,38 @@ from-intrinsic
 -webkit-partially-balanced
 #endif
 
 -webkit-partially-balanced
 #endif
 
+#if defined(ENABLE_APPLE_PAY) && ENABLE_APPLE_PAY
+// -apple-pay-button-style
+white-outline
+
+// -apple-pay-button-type
+plain
+buy
+set-up
+donate
+#if defined(ENABLE_APPLE_PAY_SESSION_V4) && ENABLE_APPLE_PAY_SESSION_V4
+check-out
+book
+subscribe
+#endif
+#endif
+
 // font-synthesis
 weight
 style
 
 // will-change
 scroll-position
 // font-synthesis
 weight
 style
 
 // will-change
 scroll-position
-contents
+//contents
 
 
-#if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
+#if defined(ENABLE_POINTER_EVENTS) && ENABLE_POINTER_EVENTS
 // touch-action
 // touch-action
+// auto
+// none
 manipulation
 manipulation
+pan-x
+pan-y
+pinch-zoom
 #endif
 
 // hanging-punctuation
 #endif
 
 // hanging-punctuation
@@ -1196,3 +1390,52 @@ allow-end
 first
 force-end
 last
 first
 force-end
 last
+
+// color-gamut
+p3
+rec2020
+
+// color() function
+sRGB
+display-p3
+
+// prefers-default-appearance
+prefers
+// no-preference
+
+// prefers-reduced-motion
+reduce
+no-preference
+
+#if defined(ENABLE_DARK_MODE_CSS) && ENABLE_DARK_MODE_CSS
+// prefers-color-scheme
+light
+dark
+// no-preference
+
+// color-scheme
+only
+// light
+// dark
+#endif
+
+// auto-repeat
+auto-fill
+auto-fit
+
+// font-display
+// auto
+// block
+swap
+fallback
+optional
+
+#if defined(ENABLE_APPLICATION_MANIFEST) && ENABLE_APPLICATION_MANIFEST
+fullscreen
+standalone
+minimal-ui
+browser
+#endif
+
+// text-decoration-thickness, text-underline-offset
+from-font