Add color-gamut media query support
[WebKit-https.git] / Source / WebCore / css / CSSValueKeywords.in
index 37eafdc..396f7f5 100644 (file)
@@ -3,6 +3,9 @@
 //
 inherit
 initial
+unset
+revert
+
 //
 // CSS_PROP_OUTLINE_STYLE
 // CSS_PROP_BORDER_TOP_STYLE
@@ -31,6 +34,26 @@ small-caption
 -webkit-mini-control
 -webkit-small-control
 -webkit-control
+
+#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS
+-apple-system-headline
+-apple-system-body
+-apple-system-subheadline
+-apple-system-footnote
+-apple-system-caption1
+-apple-system-caption2
+-apple-system-short-headline
+-apple-system-short-body
+-apple-system-short-subheadline
+-apple-system-short-footnote
+-apple-system-short-caption1
+-apple-system-tall-body
+-apple-system-title1
+-apple-system-title2
+-apple-system-title3
+#endif
+
+// This has to go after the -apple-system versions.
 status-bar
 
 //
@@ -47,15 +70,53 @@ all
 //normal
 small-caps
 
-// -webkit-font-variant-ligatures:
+// font-variant-ligatures:
 //
-// normal
 common-ligatures
 no-common-ligatures
 discretionary-ligatures
 no-discretionary-ligatures
 historical-ligatures
 no-historical-ligatures
+contextual
+no-contextual
+
+// font-variant-caps
+//
+// FIXME: Unify this with plain font-variant
+// small-caps
+all-small-caps
+petite-caps
+all-petite-caps
+unicase
+titling-caps
+
+// font-variant-numeric
+//
+lining-nums
+oldstyle-nums
+proportional-nums
+tabular-nums
+diagonal-fractions
+stacked-fractions
+ordinal
+slashed-zero
+
+// font-variant-alternates
+//
+historical-forms
+
+// font-variant-east-asian
+//
+jis78
+jis83
+jis90
+jis04
+simplified
+traditional
+full-width
+proportional-width
+ruby
 
 //
 // CSS_PROP_FONT_WEIGHT:
@@ -84,8 +145,10 @@ large
 x-large
 xx-large
 -webkit-xxx-large
+-webkit-ruby-text
 smaller
 larger
+
 //
 // CSS_PROP_FONT_STRETCH:
 //
@@ -114,6 +177,7 @@ monospace
 //
 // CSS_PROP_*_COLOR
 //
+alpha
 aqua
 black
 blue
@@ -142,6 +206,7 @@ buttonface
 buttonhighlight
 buttonshadow
 buttontext
+activebuttontext
 captiontext
 graytext
 highlight
@@ -151,6 +216,7 @@ inactivecaption
 inactivecaptiontext
 infobackground
 infotext
+luminance
 menutext
 scrollbar
 threeddarkshadow
@@ -161,6 +227,16 @@ threedshadow
 window
 windowframe
 windowtext
+-apple-wireless-playback-target-active
+-apple-system-blue
+-apple-system-brown
+-apple-system-gray
+-apple-system-green
+-apple-system-orange
+-apple-system-pink
+-apple-system-purple
+-apple-system-red
+-apple-system-yellow
 -webkit-focus-ring-color
 currentcolor
 //
@@ -220,6 +296,13 @@ justify
 -webkit-center
 -webkit-match-parent
 //
+// CSS_PROP_TEXT_JUSTIFY:
+//
+//auto
+//none
+inter-word
+distribute
+//
 // CSS_PROP_LIST_STYLE_POSITION:
 //
 outside
@@ -316,7 +399,6 @@ katakana-iroha
 inline
 block
 list-item
-run-in
 compact
 inline-block
 table
@@ -331,7 +413,9 @@ table-cell
 table-caption
 -webkit-box
 -webkit-inline-box
+flex
 -webkit-flex
+inline-flex
 -webkit-inline-flex
 -webkit-grid
 -webkit-inline-grid
@@ -353,8 +437,8 @@ alias
 progress
 no-drop
 not-allowed
--webkit-zoom-in
--webkit-zoom-out
+zoom-in
+zoom-out
 e-resize
 ne-resize
 nw-resize
@@ -375,8 +459,14 @@ help
 all-scroll
 -webkit-grab
 -webkit-grabbing
+-webkit-zoom-in
+-webkit-zoom-out
 // none
 //
+// CSS_PROP_CURSOR_VISIBILITY:
+// auto
+auto-hide
+//
 // CSS_PROP_DIRECTION:
 //
 ltr
@@ -419,6 +509,7 @@ hand
 hide
 higher
 invert
+inverted
 -webkit-isolate
 -webkit-isolate-override
 -webkit-plaintext
@@ -431,7 +522,6 @@ line-through
 local
 loud
 lower
--webkit-marquee
 mix
 no-close-quote
 no-open-quote
@@ -451,9 +541,9 @@ static
 thick
 thin
 underline
-#if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT
 wavy
-#endif
+ink
+objects
 -webkit-nowrap
 
 // CSS3 Values
@@ -496,6 +586,7 @@ flex-end
 // center
 space-between
 space-around
+space-evenly
 // stretch
 
 // CSS_PROP_ALIGN_ITEMS / CSS_PROP_ALIGN_SELF
@@ -503,21 +594,44 @@ space-around
 // flex-end
 // center
 // baseline
+last-baseline
 // stretch
 
 // CSS_PROP_JUSTIFY_CONTENT
+// start
+// end
 // flex-start
 // flex-end
 // center
 // space-between
 // space-around
+// space-evenly
+// stretch
+
+// CSS_PROP_JUSTIFY_ITEMS / CSS_PROP_JUSTIFY_SELF
+// auto
+// stretch
+// baseline
+// last-baseline
+// center
+// start
+// end
+self-start
+self-end
+// flex-start
+// flex-end
+// left
+// right
+unsafe
+safe
+legacy
 
 // CSS_PROP_FLEX_FLOW
 row
 row-reverse
 column
 column-reverse
-// none
+// nowrap
 // wrap
 wrap-reverse
 
@@ -607,6 +721,7 @@ skip-white-space
 // CSS_PROP_WORD_BREAK
 //
 break-all
+keep-all
 
 //
 // CSS_PROP_WORD_WRAP
@@ -621,6 +736,10 @@ space
 //
 // CSS_PROP__KHTML_LINE_BREAK
 //
+// auto
+loose
+// normal
+strict
 after-white-space
 
 // -webkit-appearance
@@ -634,31 +753,32 @@ button
 button-bevel
 default-button
 inner-spin-button
--webkit-input-speech-button
 listbox
 listitem
+media-controls-background
+media-controls-dark-bar-background
+media-controls-fullscreen-background
+media-controls-light-bar-background
+media-current-time-display
 media-enter-fullscreen-button
 media-exit-fullscreen-button
 media-fullscreen-volume-slider
 media-fullscreen-volume-slider-thumb
 media-mute-button
-media-play-button
 media-overlay-play-button
+media-play-button
+media-return-to-realtime-button
+media-rewind-button
 media-seek-back-button
 media-seek-forward-button
-media-rewind-button
-media-return-to-realtime-button
-media-toggle-closed-captions-button
 media-slider
 media-sliderthumb
-media-volume-slider-container
+media-time-remaining-display
+media-toggle-closed-captions-button
 media-volume-slider
-media-volume-sliderthumb
+media-volume-slider-container
 media-volume-slider-mute-button
-media-controls-background
-media-controls-fullscreen-background
-media-current-time-display
-media-time-remaining-display
+media-volume-sliderthumb
 menulist
 menulist-button
 menulist-text
@@ -676,13 +796,19 @@ searchfield-decoration
 searchfield-results-decoration
 searchfield-results-button
 searchfield-cancel-button
+snapshotted-plugin-overlay
 textfield
 relevancy-level-indicator
 continuous-capacity-level-indicator
 discrete-capacity-level-indicator
 rating-level-indicator
+#if defined(ENABLE_SERVICE_CONTROLS) && ENABLE_SERVICE_CONTROLS
+image-controls-button
+#endif
 textarea
-// An appearance value that should not be accepted by the parser:
+#if defined(ENABLE_ATTACHMENT_ELEMENT) && ENABLE_ATTACHMENT_ELEMENT
+attachment
+#endif
 caps-lock-indicator
 
 //
@@ -706,6 +832,23 @@ padding
 padding-box
 
 //
+// CSS_PROP_BREAK_BEFORE/AFTER/INSIDE
+//
+avoid-column
+avoid-page
+avoid-region
+page
+recto
+region
+verso
+
+// CSS_SHAPES
+margin-box
+
+// clip-path
+view-box
+
+//
 // background-size
 //
 contain
@@ -771,6 +914,24 @@ step-end
 document
 reset
 
+#if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION
+//
+// CSS_PROP_USER_ZOOM
+//
+// fixed
+zoom
+
+//
+// CSS_PROP_MIN_WIDTH
+// CSS_PROP_MAX_WIDTH
+// CSS_PROP_MIN_HEIGHT
+// CSS_PROP_MAX_HEIGHT
+//
+// auto
+device-width
+device-height
+#endif
+
 //
 // CSS_PROP_POINTER_EVENTS
 //
@@ -810,16 +971,14 @@ geometricPrecision
 economy
 exact
 
-// -webkit-color-correction
-//default
-sRGB
-
+#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
@@ -829,6 +988,10 @@ no-limit
 manual
 // auto
 
+#if defined(ENABLE_LETTERPRESS) && ENABLE_LETTERPRESS
+-webkit-letterpress
+#endif
+
 #if defined(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) && ENABLE_ACCELERATED_OVERFLOW_SCROLLING
 // -webkit-overflow-scrolling
 // auto
@@ -849,6 +1012,11 @@ vertical-rl
 vertical-lr
 horizontal-bt
 
+// -webkit-ruby-position
+after
+before
+inter-character
+
 // -webkit-text-emphasis-position
 over
 under
@@ -873,69 +1041,73 @@ farthest-corner
 // cover
 
 // -webkit-text-orientation
+sideways
+sideways-right
 upright
 vertical-right
+mixed
 
 // -webkit-line-box-contain
 font
 glyphs
 inline-box
+initial-letter
 replaced
 
-// -webkit-font-feature-settings
+// font-feature-settings
 on
 off
 
 // image-rendering
-//auto
-//optimizeSpeed
-optimizeQuality
+// auto
+// optimizeSpeed (deprecated)
+optimizeQuality // ( deprecated)
+crisp-edges
+pixelated
+-webkit-crisp-edges
 -webkit-optimize-contrast
 
-// -webkit-wrap-shape
+// -webkit-shape-outside
 nonzero
 evenodd
+at
+// closest-side
+// farthest-side
+
+#if defined(ENABLE_CSS_SCROLL_SNAP)
+// -webkit-scroll-snap-points-x
+// -webkit-scroll-snap-points-y
+elements
+
+// -webkit-scroll-snap-type
+mandatory
+proximity
+#endif
 
-// -webkit-region-overflow
+// -webkit-region-fragment
 // auto
 break
 
-// -webkit-wrap-flow
-// auto
-// both
-// left
-// right
-maximum
-// clear
-
-// -webkit-wrap-through
 wrap
-// none
 
 // -webkit-line-align
 edges
 
+alphabetic
+
 // position
-#if defined(ENABLE_CSS_STICKY_POSITION) && ENABLE_CSS_STICKY_POSITION
 -webkit-sticky
-#endif // CSS_STICKY_POSITION
 
 // (pointer:) media feature
 // none
 coarse
 fine
 
-#if (defined(ENABLE_CSS_FILTERS) && ENABLE_CSS_FILTERS) || (defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING)
-// -webkit-filter
-#if defined(ENABLE_CSS_SHADERS) && ENABLE_CSS_SHADERS
-// values for the custom() function
-// border-box
-// padding-box
-// content-box
-filter-box
-detached
-#endif // CSS_SHADERS
-#endif // CSS_FILTERS
+// (hover:) media feature.
+// none
+hover
+on-demand
+
 // blend modes
 // normal
 multiply
@@ -953,6 +1125,19 @@ hue
 saturation
 color
 luminosity
+// plus-darker
+// plus-lighter
+
+// isolation
+// auto
+isolate
+
+// object-fit
+// fill
+// contain
+// cover
+// none
+scale-down
 
 #if defined(ENABLE_CSS_IMAGE_RESOLUTION) && ENABLE_CSS_IMAGE_RESOLUTION
 from-image
@@ -963,8 +1148,55 @@ snap
 -webkit-paged-x
 -webkit-paged-y
 
-// -webkit-app-region
-#if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION
-drag
-no-drag
+// paint-order
+// normal
+// fill
+// stroke
+markers
+
+// -webkit-grid-{column-start|column-end|row-start|row-end}
+span
+
+// -webkit-grid-auto-flow
+dense
+
+#if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT
+// text-indent
+-webkit-each-line
+-webkit-hanging
+#endif
+
+// -webkit-column-fill
+balance
+
+// -webkit-aspect-ratio
+from-dimensions
+from-intrinsic
+
+#if defined(ENABLE_CSS_TRAILING_WORD) && ENABLE_CSS_TRAILING_WORD
+// -apple-trailing-word
+-webkit-partially-balanced
 #endif
+
+// font-synthesis
+weight
+style
+
+// will-change
+scroll-position
+contents
+
+#if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
+// touch-action
+manipulation
+#endif
+
+// hanging-punctuation
+allow-end
+first
+force-end
+last
+
+// color-gamut
+p3
+rec2020