| OLD | NEW |
| (Empty) |
| 1 // This file specifies all the CSS properties we support and the necessary | |
| 2 // information for our code generation. The various supported arguments | |
| 3 // are described below with example usage | |
| 4 | |
| 5 | |
| 6 // - alias_for=other-property | |
| 7 // Properties specifying alias_for should be virtually identical to the | |
| 8 // properties they alias. Minor parsing differences are allowed as long as | |
| 9 // the CSSValues created are of the same format of the aliased property. | |
| 10 | |
| 11 | |
| 12 // - runtime_flag=CSSGridLayout | |
| 13 // The flag on RuntimeEnabledFeatures conditionally enables the property. | |
| 14 // This doesn't currently work with alias_for. | |
| 15 | |
| 16 | |
| 17 // - descriptor_only | |
| 18 // These are actually descriptors and not CSS properties. Properties with | |
| 19 // the same name as a descriptor do not get this flag. | |
| 20 | |
| 21 | |
| 22 // - longhands=property;other-property | |
| 23 // The property is a shorthand for several other properties. | |
| 24 | |
| 25 | |
| 26 // - api_class[=classname] | |
| 27 // Specifies the existance (and optionally name) of a CSSPropertyAPI | |
| 28 // implementation for the property to be used by make_css_property_descriptor.py
. | |
| 29 // See core/css/properties/CSSPropertyAPI.h for API details. | |
| 30 // * Add this flag if the API has been implemented for this property. | |
| 31 // * If the classname for this is different to the name of the property, specify
a | |
| 32 // value for this flag. e.g. api_class=CSSPropertyAPIWebkitPadding | |
| 33 // TODO(aazzam): When most properties have been implemented, modify this so that | |
| 34 // properties with default classnames do not get this flag, and introduce a | |
| 35 // 'not_implemented' flag instead. | |
| 36 | |
| 37 | |
| 38 // - keyword_only | |
| 39 // These properties only store keyword values. This is used when | |
| 40 // generating the ComputedStyle storage for the property. The initial | |
| 41 // value for this property on a ComputedStyle is specified with the | |
| 42 // initial_keyword flag below. | |
| 43 // TODO(sashab): Rename this to field_type=keyword once we support | |
| 44 // multiple types of generatable fields in ComputedStyle | |
| 45 // TODO(sashab, meade): Remove this once TypedOM types are specified for | |
| 46 // every property, since this value can be inferred from that. | |
| 47 | |
| 48 | |
| 49 // - field_storage_type=path/to/Type | |
| 50 // For properties that have generated field storage in ComputedStyle, | |
| 51 // this optional argument will override the field's generated type with | |
| 52 // an external one specified at the given path. The type must be defined | |
| 53 // in a header file at that path, and have the same name as the file. | |
| 54 // Currently, only enum types are supported, and the enum's only values | |
| 55 // must be CamelCase values of the keywords of the property. | |
| 56 | |
| 57 | |
| 58 // - keywords=[keyword1|keyword2] | |
| 59 // This specifies all valid keyword values for the property. | |
| 60 // TODO(sashab): Once all properties are represented here, delete | |
| 61 // CSSValueKeywords.in and use this list instead. | |
| 62 | |
| 63 | |
| 64 // - initial_keyword | |
| 65 // This specifies the initial keyword value for the keyword_only | |
| 66 // property. | |
| 67 | |
| 68 | |
| 69 // Flags which go into CSSOMTypes: | |
| 70 // - typedom_types=[Type|OtherType] | |
| 71 // The property can take types specified in typedom_types for CSS Typed OM. | |
| 72 // Keyword does not need to be specified as every property can take keywords. | |
| 73 // - keywords=[keyword1|keyword2] | |
| 74 // The property can take these keywords. | |
| 75 // - repeated | |
| 76 // The property supports a list of values. | |
| 77 // - supports_percentage | |
| 78 // The property supports percentage types. | |
| 79 | |
| 80 | |
| 81 // Flags which go into CSSPropertyMetadata: | |
| 82 // - interpolable | |
| 83 // The interpolable flag indicates whether a property can be animated smoothly. | |
| 84 // If this flag is set, the property should also be added to the switch | |
| 85 // statements in AnimatedStyleBuilder, CSSPropertyEquality and | |
| 86 // CSSAnimatableValueFactory. | |
| 87 // - inherited | |
| 88 // The property will inherit by default if no value is specified, typically | |
| 89 // mentioned in specifications as "Inherited: yes" | |
| 90 | |
| 91 // - independent | |
| 92 // This property affects only one field on ComputedStyle, and can be set | |
| 93 // directly during inheritance instead of forcing a recalc. | |
| 94 // StyleResolver and StyleAdjuster are not invoked when these properties | |
| 95 // are changed on a parent. Recalcs only happen if at least one | |
| 96 // non-independent inherited property is changed in the parent. | |
| 97 | |
| 98 // The remaining arguments are used for the StyleBuilder and allow us to | |
| 99 // succinctly describe how to apply properties. When default handlers are not | |
| 100 // sufficient, we should prefer to use converter, and failing that define | |
| 101 // custom property handlers in StyleBuilderCustom.cpp. We only should use | |
| 102 // StyleBuilderFunctions.cpp.tmpl to define handlers when there are multiple | |
| 103 // properties requiring the same handling, but converter doesn't suffice. | |
| 104 | |
| 105 // - font | |
| 106 // The default property handlers call into the FontBuilder instead of setting | |
| 107 // values directly onto the ComputedStyle | |
| 108 // - svg | |
| 109 // The default property handlers access the SVGComputedStyle | |
| 110 | |
| 111 // - name_for_methods=BlendMode | |
| 112 // Tweaks how we choose defaults for getter, setter, initial and type_name. | |
| 113 // For example, setting this to BlendMode will make us use a setter of setBlendM
ode | |
| 114 // - initial | |
| 115 // The initial value accessor on the ComputedStyle, defaults to e.g. initialBoxS
hadow | |
| 116 // - getter | |
| 117 // The ComputedStyle getter, defaults to e.g. borderBottomLeft | |
| 118 // - setter | |
| 119 // The ComputedStyle setter, defaults to e.g. setBorderBottomLeft | |
| 120 // - type_name | |
| 121 // The computed type for the property. Only required for the default value | |
| 122 // application, defaults to e.g. EDisplay | |
| 123 | |
| 124 // - converter=convertRadius | |
| 125 // The StyleBuilder will call the specified function on StyleBuilderConverter | |
| 126 // to convert a CSSValue to an appropriate platform value | |
| 127 | |
| 128 // - custom_initial | |
| 129 // - custom_inherit | |
| 130 // - custom_value | |
| 131 // - custom_all | |
| 132 // Handlers of the given types will be declared but not defined. Setting | |
| 133 // custom_all is equivalent to setting the other three flags | |
| 134 | |
| 135 // - use_handlers_for=CSSPropertyTransform | |
| 136 // Use handlers for the specified property instead of defining new ones | |
| 137 | |
| 138 // - builder_skip | |
| 139 // Ignore this property in the StyleBuilder | |
| 140 | |
| 141 // - direction_aware | |
| 142 // This property resolves to a different property based on the current direction | |
| 143 // and writing mode. | |
| 144 | |
| 145 // - priority=High | |
| 146 // The priority level for computing the property. Valid values are | |
| 147 // "Animation" (highest), "High" and "Low". Properties with the same | |
| 148 // priority level are grouped and computed in alphabetical order. The | |
| 149 // default value is "Low". | |
| 150 | |
| 151 // Properties with StyleBuilder handling | |
| 152 | |
| 153 // Animation Priority properties | |
| 154 animation-delay custom_all, priority=Animation | |
| 155 animation-direction keywords=[normal|reverse|alternate|alternate-reverse], repea
ted, custom_all, priority=Animation | |
| 156 animation-duration custom_all, priority=Animation | |
| 157 animation-fill-mode custom_all, priority=Animation | |
| 158 animation-iteration-count keywords=[infinite], repeated, custom_all, priority=An
imation | |
| 159 animation-name custom_all, priority=Animation | |
| 160 animation-play-state custom_all, priority=Animation | |
| 161 animation-timing-function custom_all, priority=Animation | |
| 162 transition-delay custom_all, priority=Animation | |
| 163 transition-duration custom_all, priority=Animation | |
| 164 transition-property custom_all, priority=Animation | |
| 165 transition-timing-function custom_all, priority=Animation | |
| 166 | |
| 167 // High Priority and all other font properties. | |
| 168 // Other properties can depend upon high priority properties (e.g. font-size / e
ms) | |
| 169 color interpolable, inherited, custom_all, priority=High | |
| 170 direction inherited, custom_value, keyword_only, keywords=[ltr|rtl], initial_key
word=ltr, field_storage_type=platform/text/TextDirection, priority=High | |
| 171 font-family inherited, font, type_name=FontDescription::FamilyDescription, name_
for_methods=FamilyDescription, converter=convertFontFamily, priority=High | |
| 172 font-kerning inherited, font, type_name=FontDescription::Kerning, name_for_metho
ds=Kerning, priority=High | |
| 173 font-size interpolable, inherited, font, name_for_methods=Size, getter=getSize,
converter=convertFontSize, priority=High | |
| 174 font-size-adjust runtime_flag=CSSFontSizeAdjust, interpolable, inherited, font,
name_for_methods=SizeAdjust, converter=convertFontSizeAdjust, api_class, priorit
y=High | |
| 175 font-stretch inherited, font, type_name=FontStretch, name_for_methods=Stretch, p
riority=High | |
| 176 font-style inherited, font, type_name=FontStyle, name_for_methods=Style, priorit
y=High | |
| 177 font-variant-ligatures inherited, font, type_name=VariantLigatures, name_for_met
hods=VariantLigatures, converter=convertFontVariantLigatures, priority=High | |
| 178 font-variant-caps inherited, font, name_for_methods=VariantCaps, converter=conve
rtFontVariantCaps, priority=High | |
| 179 font-variant-numeric inherited, font, name_for_methods=VariantNumeric, converter
=convertFontVariantNumeric, priority=High | |
| 180 font-weight interpolable, inherited, font, type_name=FontWeight, name_for_method
s=Weight, converter=convertFontWeight, priority=High | |
| 181 font-feature-settings inherited, font, name_for_methods=FeatureSettings, convert
er=convertFontFeatureSettings, priority=High | |
| 182 font-variation-settings runtime_flag=CSSVariableFonts, inherited, font, name_for
_methods=VariationSettings, converter=convertFontVariationSettings, api_class, p
riority=High | |
| 183 -webkit-font-smoothing inherited, font, type_name=FontSmoothingMode, priority=Hi
gh | |
| 184 -webkit-locale inherited, font, custom_value, priority=High | |
| 185 text-orientation inherited, custom_value, type_name=TextOrientation, priority=Hi
gh | |
| 186 -webkit-text-orientation inherited, custom_value, type_name=TextOrientation, pri
ority=High | |
| 187 writing-mode inherited, custom_value, type_name=WritingMode, keyword_only, keywo
rds=[horizontal-tb|vertical-rl|vertical-lr], initial_keyword=horizontal-tb, fiel
d_storage_type=platform/text/WritingMode, priority=High | |
| 188 -webkit-writing-mode inherited, custom_value, type_name=WritingMode, priority=Hi
gh | |
| 189 text-rendering inherited, font, type_name=TextRenderingMode, priority=High | |
| 190 zoom custom_all, api_class, priority=High | |
| 191 | |
| 192 align-content initial=initialContentAlignment, converter=convertContentAlignment
Data | |
| 193 align-items initial=initialDefaultAlignment, converter=convertSelfOrDefaultAlign
mentData | |
| 194 alignment-baseline svg | |
| 195 align-self initial=initialSelfAlignment, converter=convertSelfOrDefaultAlignment
Data | |
| 196 backdrop-filter interpolable, converter=convertFilterOperations, runtime_flag=CS
SBackdropFilter | |
| 197 backface-visibility | |
| 198 background-attachment custom_all | |
| 199 background-blend-mode custom_all | |
| 200 background-clip custom_all | |
| 201 background-color interpolable, custom_all | |
| 202 background-image interpolable, custom_all, typedom_types=[Image], keywords=[auto
] | |
| 203 background-origin custom_all | |
| 204 background-position-x interpolable, custom_all | |
| 205 background-position-y interpolable, custom_all | |
| 206 background-repeat-x custom_all | |
| 207 background-repeat-y custom_all | |
| 208 background-size interpolable, custom_all | |
| 209 baseline-shift interpolable, svg, custom_inherit, custom_value | |
| 210 border-bottom-color interpolable, custom_all | |
| 211 border-bottom-left-radius interpolable, initial=initialBorderRadius, converter=c
onvertRadius | |
| 212 border-bottom-right-radius interpolable, initial=initialBorderRadius, converter=
convertRadius | |
| 213 border-bottom-style type_name=EBorderStyle, initial=initialBorderStyle | |
| 214 border-bottom-width interpolable, initial=initialBorderWidth, converter=convertL
ineWidth<unsigned> | |
| 215 border-collapse inherited, independent, keyword_only, keywords=[separate|collaps
e], initial_keyword=separate | |
| 216 border-image-outset interpolable, custom_all | |
| 217 border-image-repeat custom_all | |
| 218 border-image-slice interpolable, custom_all | |
| 219 border-image-source interpolable, custom_value, typedom_types=[Image], keywords=
[none] | |
| 220 border-image-width interpolable, custom_all | |
| 221 border-left-color interpolable, custom_all | |
| 222 border-left-style type_name=EBorderStyle, initial=initialBorderStyle | |
| 223 border-left-width interpolable, initial=initialBorderWidth, converter=convertLin
eWidth<unsigned> | |
| 224 border-right-color interpolable, custom_all | |
| 225 border-right-style type_name=EBorderStyle, initial=initialBorderStyle | |
| 226 border-right-width interpolable, initial=initialBorderWidth, converter=convertLi
neWidth<unsigned> | |
| 227 border-top-color interpolable, custom_all | |
| 228 border-top-left-radius interpolable, initial=initialBorderRadius, converter=conv
ertRadius | |
| 229 border-top-right-radius interpolable, initial=initialBorderRadius, converter=con
vertRadius | |
| 230 border-top-style type_name=EBorderStyle, initial=initialBorderStyle | |
| 231 border-top-width interpolable, initial=initialBorderWidth, converter=convertLine
Width<unsigned>, typedom_types=[Length], keywords=[thin|medium|thick], supports_
percentage | |
| 232 bottom typedom_types=[Length], keywords=[auto], supports_percentage, interpolabl
e, initial=initialOffset, converter=convertLengthOrAuto | |
| 233 box-shadow interpolable, converter=convertShadowList | |
| 234 box-sizing | |
| 235 break-after type_name=EBreak | |
| 236 break-before type_name=EBreak | |
| 237 break-inside type_name=EBreak | |
| 238 buffered-rendering svg | |
| 239 caption-side inherited, keyword_only, independent, keywords=[top|bottom|left|rig
ht], initial_keyword=top | |
| 240 caret-color interpolable, inherited, custom_all, api_class | |
| 241 clear | |
| 242 clip interpolable, converter=convertClip, custom_all, api_class | |
| 243 clip-path interpolable, converter=convertClipPath | |
| 244 clip-rule inherited, svg, type_name=WindRule | |
| 245 color-interpolation inherited, svg | |
| 246 color-interpolation-filters inherited, svg, type_name=EColorInterpolation | |
| 247 color-rendering inherited, svg | |
| 248 column-fill type_name=ColumnFill | |
| 249 contain runtime_flag=CSSContainment, converter=convertFlags<Containment> | |
| 250 content custom_all, typedom_types=[Image], repeated | |
| 251 counter-increment custom_all | |
| 252 counter-reset custom_all | |
| 253 cursor inherited, custom_all | |
| 254 cx interpolable, svg, converter=convertLength | |
| 255 cy interpolable, svg, converter=convertLength | |
| 256 d interpolable, svg, converter=convertPathOrNone | |
| 257 display | |
| 258 dominant-baseline inherited, svg | |
| 259 empty-cells inherited, independent, type_name=EEmptyCells, keyword_only, keyword
s=[show|hide], initial_keyword=show | |
| 260 fill interpolable, inherited, svg, setter=setFillPaint, custom_all | |
| 261 fill-opacity interpolable, inherited, svg, converter=convertNumberOrPercentage | |
| 262 fill-rule inherited, svg, type_name=WindRule | |
| 263 filter interpolable, converter=convertFilterOperations | |
| 264 flex-basis interpolable, converter=convertLengthOrAuto, api_class | |
| 265 flex-direction | |
| 266 flex-grow interpolable, type_name=float | |
| 267 flex-shrink interpolable, type_name=float | |
| 268 flex-wrap | |
| 269 float type_name=EFloat, name_for_methods=Floating, keyword_only, keywords=[none|
left|right], initial_keyword=none | |
| 270 flood-color interpolable, svg, converter=convertColor | |
| 271 flood-opacity interpolable, svg, converter=convertNumberOrPercentage | |
| 272 grid-auto-columns runtime_flag=CSSGridLayout, converter=convertGridTrackSizeList | |
| 273 grid-auto-flow runtime_flag=CSSGridLayout, converter=convertGridAutoFlow, type_n
ame=GridAutoFlow | |
| 274 grid-auto-rows runtime_flag=CSSGridLayout, converter=convertGridTrackSizeList | |
| 275 grid-column-end runtime_flag=CSSGridLayout, converter=convertGridPosition | |
| 276 grid-column-gap runtime_flag=CSSGridLayout, converter=convertLength | |
| 277 grid-column-start runtime_flag=CSSGridLayout, converter=convertGridPosition | |
| 278 grid-row-end runtime_flag=CSSGridLayout, converter=convertGridPosition | |
| 279 grid-row-gap runtime_flag=CSSGridLayout, converter=convertLength | |
| 280 grid-row-start runtime_flag=CSSGridLayout, converter=convertGridPosition | |
| 281 grid-template-areas runtime_flag=CSSGridLayout, custom_all | |
| 282 grid-template-columns runtime_flag=CSSGridLayout, custom_all | |
| 283 grid-template-rows runtime_flag=CSSGridLayout, custom_all | |
| 284 height typedom_types=[Length], keywords=[auto], supports_percentage, interpolabl
e, initial=initialSize, converter=convertLengthSizing | |
| 285 hyphens runtime_flag=CSSHyphens, inherited, type_name=Hyphens | |
| 286 image-rendering inherited | |
| 287 image-orientation runtime_flag=ImageOrientation, inherited, name_for_methods=Res
pectImageOrientation, converter=convertImageOrientation | |
| 288 isolation | |
| 289 justify-content initial=initialContentAlignment, converter=convertContentAlignme
ntData | |
| 290 justify-items runtime_flag=CSSGridLayout, initial=initialSelfAlignment, converte
r=convertSelfOrDefaultAlignmentData | |
| 291 justify-self runtime_flag=CSSGridLayout, initial=initialSelfAlignment, converter
=convertSelfOrDefaultAlignmentData | |
| 292 left typedom_types=[Length], keywords=[auto], supports_percentage, interpolable,
initial=initialOffset, converter=convertLengthOrAuto | |
| 293 letter-spacing interpolable, inherited, initial=initialLetterWordSpacing, conver
ter=convertSpacing | |
| 294 lighting-color interpolable, svg, converter=convertColor | |
| 295 line-height interpolable, inherited, getter=specifiedLineHeight, converter=conve
rtLineHeight | |
| 296 list-style-image interpolable, inherited, custom_value, typedom_types=[Image] | |
| 297 list-style-position inherited, independent, keyword_only, keywords=[outside|insi
de], initial_keyword=outside | |
| 298 list-style-type inherited, keyword_only, keywords=[disc|circle|square|decimal|de
cimal-leading-zero|arabic-indic|bengali|cambodian|khmer|devanagari|gujarati|gurm
ukhi|kannada|lao|malayalam|mongolian|myanmar|oriya|persian|urdu|telugu|tibetan|t
hai|lower-roman|upper-roman|lower-greek|lower-alpha|lower-latin|upper-alpha|uppe
r-latin|cjk-earthly-branch|cjk-heavenly-stem|ethiopic-halehame|ethiopic-halehame
-am|ethiopic-halehame-ti-er|ethiopic-halehame-ti-et|hangul|hangul-consonant|kore
an-hangul-formal|korean-hanja-formal|korean-hanja-informal|hebrew|armenian|lower
-armenian|upper-armenian|georgian|cjk-ideographic|simp-chinese-formal|simp-chine
se-informal|trad-chinese-formal|trad-chinese-informal|hiragana|katakana|hiragana
-iroha|katakana-iroha|none], initial_keyword=disc | |
| 299 margin-bottom interpolable, initial=initialMargin, converter=convertQuirkyLength | |
| 300 margin-left interpolable, initial=initialMargin, converter=convertQuirkyLength | |
| 301 margin-right interpolable, initial=initialMargin, converter=convertQuirkyLength | |
| 302 margin-top interpolable, initial=initialMargin, converter=convertQuirkyLength | |
| 303 marker-end inherited, svg, name_for_methods=MarkerEndResource, converter=convert
FragmentIdentifier | |
| 304 marker-mid inherited, svg, name_for_methods=MarkerMidResource, converter=convert
FragmentIdentifier | |
| 305 marker-start inherited, svg, name_for_methods=MarkerStartResource, converter=con
vertFragmentIdentifier | |
| 306 mask svg, name_for_methods=MaskerResource, converter=convertFragmentIdentifier | |
| 307 mask-source-type runtime_flag=CSSMaskSourceType, custom_all | |
| 308 mask-type svg | |
| 309 max-height interpolable, initial=initialMaxSize, converter=convertLengthMaxSizin
g | |
| 310 max-width interpolable, initial=initialMaxSize, converter=convertLengthMaxSizing | |
| 311 min-height interpolable, initial=initialMinSize, converter=convertLengthSizing | |
| 312 min-width interpolable, initial=initialMinSize, converter=convertLengthSizing | |
| 313 mix-blend-mode type_name=blink::WebBlendMode, name_for_methods=BlendMode | |
| 314 motion-offset alias_for=offset-distance | |
| 315 motion-path alias_for=offset-path | |
| 316 motion-rotation alias_for=offset-rotation | |
| 317 object-fit type_name=ObjectFit | |
| 318 object-position interpolable, converter=convertPosition | |
| 319 offset-anchor runtime_flag=CSSOffsetPositionAnchor, interpolable, converter=conv
ertPositionOrAuto | |
| 320 offset-distance interpolable, converter=convertLength | |
| 321 offset-path converter=convertPathOrNone | |
| 322 offset-position runtime_flag=CSSOffsetPositionAnchor, interpolable, converter=co
nvertPositionOrAuto, api_class | |
| 323 offset-rotate runtime_flag=CSSOffsetRotate, interpolable, converter=convertOffse
tRotate | |
| 324 offset-rotation runtime_flag=CSSOffsetRotation, interpolable, converter=convertO
ffsetRotate | |
| 325 opacity interpolable, type_name=float | |
| 326 order type_name=int | |
| 327 orphans interpolable, inherited, type_name=short | |
| 328 outline-color interpolable, custom_all | |
| 329 outline-offset interpolable, converter=convertComputedLength<int>, api_class | |
| 330 outline-style custom_all | |
| 331 outline-width interpolable, converter=convertLineWidth<unsigned short> | |
| 332 overflow-anchor runtime_flag=ScrollAnchoring, type_name=EOverflowAnchor | |
| 333 overflow-wrap inherited | |
| 334 overflow-x type_name=EOverflow | |
| 335 overflow-y type_name=EOverflow | |
| 336 padding-bottom interpolable, initial=initialPadding, converter=convertLength | |
| 337 padding-left interpolable, initial=initialPadding, converter=convertLength | |
| 338 padding-right interpolable, initial=initialPadding, converter=convertLength | |
| 339 padding-top interpolable, initial=initialPadding, converter=convertLength | |
| 340 paint-order inherited, svg, converter=convertPaintOrder, api_class | |
| 341 perspective interpolable, converter=convertPerspective | |
| 342 perspective-origin interpolable, converter=convertPosition | |
| 343 pointer-events inherited, independent, keyword_only, keywords=[none|auto|stroke|
fill|painted|visible|visibleStroke|visibleFill|visiblePainted|bounding-box|all],
initial_keyword=auto | |
| 344 position custom_inherit | |
| 345 quotes inherited, converter=convertQuotes | |
| 346 resize custom_value | |
| 347 right typedom_types=[Length], keywords=[auto], supports_percentage, interpolable
, initial=initialOffset, converter=convertLengthOrAuto | |
| 348 r interpolable, svg, converter=convertLength | |
| 349 rx interpolable, svg, converter=convertLengthOrAuto | |
| 350 ry interpolable, svg, converter=convertLengthOrAuto | |
| 351 scroll-behavior runtime_flag=CSSOMSmoothScroll, type_name=ScrollBehavior | |
| 352 scroll-snap-type runtime_flag=CSSScrollSnapPoints, type_name=ScrollSnapType | |
| 353 scroll-snap-points-x runtime_flag=CSSScrollSnapPoints, converter=convertSnapPoin
ts | |
| 354 scroll-snap-points-y runtime_flag=CSSScrollSnapPoints, converter=convertSnapPoin
ts | |
| 355 scroll-snap-destination runtime_flag=CSSScrollSnapPoints, converter=convertPosit
ion | |
| 356 scroll-snap-coordinate runtime_flag=CSSScrollSnapPoints, converter=convertSnapCo
ordinates, api_class | |
| 357 shape-image-threshold interpolable, type_name=float | |
| 358 shape-margin interpolable, converter=convertLength | |
| 359 shape-outside interpolable, converter=convertShapeValue, typedom_types=[Image] | |
| 360 shape-rendering inherited, svg | |
| 361 size custom_all, api_class | |
| 362 snap-height runtime_flag=CSSSnapSize, inherited, custom_all | |
| 363 speak inherited | |
| 364 stop-color interpolable, svg, converter=convertColor | |
| 365 stop-opacity interpolable, svg, converter=convertNumberOrPercentage | |
| 366 stroke interpolable, inherited, svg, setter=setStrokePaint, custom_all | |
| 367 stroke-dasharray interpolable, inherited, svg, name_for_methods=StrokeDashArray,
converter=convertStrokeDasharray | |
| 368 stroke-dashoffset interpolable, inherited, svg, name_for_methods=StrokeDashOffse
t, converter=convertLength | |
| 369 stroke-linecap svg, inherited, type_name=LineCap, name_for_methods=CapStyle | |
| 370 stroke-linejoin svg, inherited, type_name=LineJoin, name_for_methods=JoinStyle | |
| 371 stroke-miterlimit interpolable, inherited, svg, type_name=float, name_for_method
s=StrokeMiterLimit | |
| 372 stroke-opacity interpolable, inherited, svg, converter=convertNumberOrPercentage | |
| 373 stroke-width interpolable, inherited, svg, converter=convertUnzoomedLength | |
| 374 table-layout | |
| 375 tab-size inherited, converter=convertLengthOrTabSpaces, type_name=TabSize | |
| 376 text-align inherited, custom_value, keyword_only, keywords=[left|right|center|ju
stify|-webkit-left|-webkit-right|-webkit-center|start|end], initial_keyword=star
t | |
| 377 text-align-last inherited, type_name=TextAlignLast | |
| 378 text-anchor inherited, svg | |
| 379 text-combine-upright inherited, type_name=TextCombine, name_for_methods=TextComb
ine | |
| 380 // FIXME: We shouldn't switch between shorthand/not shorthand based on a runtime
flag | |
| 381 text-decoration use_handlers_for=CSSPropertyTextDecorationLine, longhands=text-d
ecoration-line;text-decoration-style;text-decoration-color | |
| 382 text-decoration-color runtime_flag=CSS3TextDecorations, interpolable, custom_all
, api_class | |
| 383 text-decoration-line runtime_flag=CSS3TextDecorations, name_for_methods=TextDeco
ration, type_name=TextDecoration, converter=convertFlags<TextDecoration> | |
| 384 text-decoration-skip runtime_flag=CSS3TextDecorations, inherited, type_name=Text
DecorationSkip, converter=convertFlags<TextDecorationSkip>, api_class | |
| 385 text-decoration-style runtime_flag=CSS3TextDecorations, type_name=TextDecoration
Style | |
| 386 text-indent interpolable, inherited, custom_all | |
| 387 text-justify runtime_flag=CSS3Text, inherited, type_name=TextJustify | |
| 388 text-overflow type_name=TextOverflow | |
| 389 text-shadow interpolable, inherited, converter=convertShadowList | |
| 390 text-size-adjust inherited, converter=convertTextSizeAdjust, type_name=TextSizeA
djust | |
| 391 text-transform inherited, independent, keyword_only, keywords=[capitalize|upperc
ase|lowercase|none], initial_keyword=none | |
| 392 text-underline-position runtime_flag=CSS3TextDecorations, inherited, type_name=T
extUnderlinePosition, api_class | |
| 393 top typedom_types=[Length], keywords=[auto], supports_percentage, interpolable,
initial=initialOffset, converter=convertLengthOrAuto | |
| 394 touch-action converter=convertFlags<TouchAction>, type_name=TouchAction | |
| 395 transform typedom_types=[Transform], keywords=[none], interpolable, converter=co
nvertTransformOperations | |
| 396 transform-origin interpolable, converter=convertTransformOrigin, api_class | |
| 397 transform-style name_for_methods=TransformStyle3D | |
| 398 translate runtime_flag=CSSIndependentTransformProperties, converter=convertTrans
late, interpolable, api_class | |
| 399 rotate runtime_flag=CSSIndependentTransformProperties, converter=convertRotate,
interpolable, api_class | |
| 400 scale runtime_flag=CSSIndependentTransformProperties, converter=convertScale, in
terpolable | |
| 401 unicode-bidi type_name=UnicodeBidi, keyword_only, keywords=[normal|embed|bidi-ov
erride|isolate|plaintext|isolate-override], initial_keyword=normal, field_storag
e_type=platform/text/UnicodeBidi | |
| 402 vector-effect svg | |
| 403 vertical-align interpolable, custom_inherit, custom_value | |
| 404 visibility interpolable, inherited, independent, keyword_only, keywords=[visible
|hidden|collapse], initial_keyword=visible | |
| 405 x interpolable, svg, converter=convertLength | |
| 406 y interpolable, svg, converter=convertLength | |
| 407 -webkit-appearance type_name=ControlPart | |
| 408 -webkit-app-region custom_all | |
| 409 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip | |
| 410 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin | |
| 411 -webkit-border-horizontal-spacing interpolable, inherited, name_for_methods=Hori
zontalBorderSpacing, converter=convertComputedLength<short> | |
| 412 -webkit-border-image initial=initialNinePieceImage, custom_value | |
| 413 -webkit-border-vertical-spacing interpolable, inherited, name_for_methods=Vertic
alBorderSpacing, converter=convertComputedLength<short> | |
| 414 -webkit-box-align type_name=EBoxAlignment | |
| 415 -webkit-box-decoration-break | |
| 416 -webkit-box-direction inherited, independent, keyword_only, keywords=[normal|rev
erse], initial_keyword=normal | |
| 417 -webkit-box-flex type_name=float | |
| 418 -webkit-box-flex-group type_name=unsigned int | |
| 419 -webkit-box-lines | |
| 420 -webkit-box-ordinal-group type_name=unsigned int | |
| 421 -webkit-box-orient | |
| 422 -webkit-box-pack | |
| 423 -webkit-box-reflect converter=convertBoxReflect | |
| 424 column-count interpolable, type_name=unsigned short, custom_all | |
| 425 column-gap interpolable, converter=convertComputedLength<float>, custom_all, api
_class | |
| 426 column-rule-color interpolable, custom_all | |
| 427 column-rule-style type_name=EBorderStyle, initial=initialBorderStyle | |
| 428 column-rule-width interpolable, converter=convertLineWidth<unsigned short> | |
| 429 column-span type_name=ColumnSpan | |
| 430 column-width interpolable, converter=convertComputedLength<float>, custom_all | |
| 431 -webkit-highlight inherited, converter=convertString<CSSValueNone> | |
| 432 -webkit-hyphenate-character inherited, name_for_methods=HyphenationString, conve
rter=convertString<CSSValueAuto> | |
| 433 -webkit-line-break inherited, type_name=LineBreak | |
| 434 -webkit-line-clamp type_name=LineClampValue | |
| 435 -webkit-margin-after-collapse type_name=EMarginCollapse | |
| 436 -webkit-margin-before-collapse type_name=EMarginCollapse | |
| 437 -webkit-margin-bottom-collapse type_name=EMarginCollapse, name_for_methods=Margi
nAfterCollapse | |
| 438 -webkit-margin-top-collapse type_name=EMarginCollapse, name_for_methods=MarginBe
foreCollapse | |
| 439 -webkit-mask-box-image-outset interpolable, custom_all | |
| 440 -webkit-mask-box-image-repeat custom_all | |
| 441 -webkit-mask-box-image-slice interpolable, custom_all | |
| 442 -webkit-mask-box-image-source interpolable, custom_value | |
| 443 -webkit-mask-box-image-width interpolable, custom_all | |
| 444 -webkit-mask-clip custom_all | |
| 445 -webkit-mask-composite custom_all | |
| 446 -webkit-mask-image interpolable, custom_all | |
| 447 -webkit-mask-origin custom_all | |
| 448 -webkit-mask-position-x interpolable, custom_all | |
| 449 -webkit-mask-position-y interpolable, custom_all | |
| 450 -webkit-mask-repeat-x custom_all | |
| 451 -webkit-mask-repeat-y custom_all | |
| 452 -webkit-mask-size interpolable, custom_all | |
| 453 -webkit-perspective-origin-x interpolable, converter=convertLength | |
| 454 -webkit-perspective-origin-y interpolable, converter=convertLength | |
| 455 -webkit-print-color-adjust inherited, independent, keyword_only, keywords=[econo
my|exact], initial_keyword=economy | |
| 456 -webkit-rtl-ordering inherited, independent, type_name=EOrder, setter=setRtlOrde
ring, initial=initialRtlOrdering, keyword_only, keywords=[logical|visual], initi
al_keyword=logical | |
| 457 -webkit-ruby-position inherited, type_name=RubyPosition | |
| 458 -webkit-tap-highlight-color inherited, converter=convertColor | |
| 459 -webkit-text-combine inherited, type_name=TextCombine, name_for_methods=TextComb
ine | |
| 460 -webkit-text-emphasis-color inherited, custom_all | |
| 461 -webkit-text-emphasis-position inherited, type_name=TextEmphasisPosition | |
| 462 -webkit-text-emphasis-style inherited, custom_all | |
| 463 -webkit-text-fill-color inherited, custom_all | |
| 464 -webkit-text-security inherited | |
| 465 -webkit-text-stroke-color interpolable, inherited, custom_all | |
| 466 -webkit-text-stroke-width inherited, converter=convertTextStrokeWidth | |
| 467 -webkit-transform-origin-x interpolable, converter=convertLength | |
| 468 -webkit-transform-origin-y interpolable, converter=convertLength | |
| 469 -webkit-transform-origin-z interpolable, converter=convertComputedLength<float>,
api_class | |
| 470 -webkit-user-drag | |
| 471 -webkit-user-modify inherited | |
| 472 user-select inherited | |
| 473 white-space inherited, independent, keyword_only, keywords=[normal|pre|pre-wrap|
pre-line|nowrap|-webkit-nowrap], initial_keyword=normal | |
| 474 widows interpolable, inherited, type_name=short | |
| 475 width interpolable, initial=initialSize, converter=convertLengthSizing, typedom_
types=[Length], keywords=[auto], supports_percentage | |
| 476 will-change custom_all, api_class | |
| 477 word-break inherited | |
| 478 word-spacing interpolable, inherited, initial=initialLetterWordSpacing, converte
r=convertSpacing | |
| 479 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' prope
rty. So using the same handlers. | |
| 480 word-wrap inherited, name_for_methods=OverflowWrap | |
| 481 z-index interpolable, type_name=int, custom_all, api_class | |
| 482 | |
| 483 // CSS logical props | |
| 484 inline-size direction_aware | |
| 485 block-size direction_aware | |
| 486 min-inline-size direction_aware | |
| 487 min-block-size direction_aware | |
| 488 max-inline-size direction_aware | |
| 489 max-block-size direction_aware | |
| 490 | |
| 491 // Non-standard direction aware properties | |
| 492 | |
| 493 -webkit-border-end-color direction_aware | |
| 494 -webkit-border-end-style direction_aware | |
| 495 -webkit-border-end-width direction_aware | |
| 496 -webkit-border-start-color direction_aware | |
| 497 -webkit-border-start-style direction_aware | |
| 498 -webkit-border-start-width direction_aware | |
| 499 -webkit-border-before-color direction_aware | |
| 500 -webkit-border-before-style direction_aware | |
| 501 -webkit-border-before-width direction_aware | |
| 502 -webkit-border-after-color direction_aware | |
| 503 -webkit-border-after-style direction_aware | |
| 504 -webkit-border-after-width direction_aware | |
| 505 -webkit-margin-end direction_aware | |
| 506 -webkit-margin-start direction_aware | |
| 507 -webkit-margin-before direction_aware | |
| 508 -webkit-margin-after direction_aware | |
| 509 -webkit-padding-end direction_aware, api_class=CSSPropertyAPIWebkitPadding | |
| 510 -webkit-padding-start direction_aware, api_class=CSSPropertyAPIWebkitPadding | |
| 511 -webkit-padding-before direction_aware, api_class=CSSPropertyAPIWebkitPadding | |
| 512 -webkit-padding-after direction_aware, api_class=CSSPropertyAPIWebkitPadding | |
| 513 -webkit-logical-width direction_aware | |
| 514 -webkit-logical-height direction_aware | |
| 515 -webkit-min-logical-width direction_aware | |
| 516 -webkit-min-logical-height direction_aware | |
| 517 -webkit-max-logical-width direction_aware | |
| 518 -webkit-max-logical-height direction_aware | |
| 519 | |
| 520 // Properties that we ignore in the StyleBuilder. | |
| 521 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBuilde
r | |
| 522 | |
| 523 all builder_skip | |
| 524 page builder_skip, api_class | |
| 525 -webkit-font-size-delta builder_skip | |
| 526 -webkit-text-decorations-in-effect inherited, builder_skip | |
| 527 | |
| 528 // Descriptors | |
| 529 | |
| 530 font-display descriptor_only, runtime_flag=CSSFontDisplay | |
| 531 max-zoom descriptor_only | |
| 532 min-zoom descriptor_only | |
| 533 orientation descriptor_only | |
| 534 src descriptor_only | |
| 535 unicode-range descriptor_only | |
| 536 user-zoom descriptor_only | |
| 537 | |
| 538 // Shorthands | |
| 539 | |
| 540 animation longhands=animation-name;animation-duration;animation-timing-function;
animation-delay;animation-iteration-count;animation-direction;animation-fill-mod
e;animation-play-state | |
| 541 background longhands=background-image;background-position-x;background-position-
y;background-size;background-repeat-x;background-repeat-y;background-attachment;
background-origin;background-clip;background-color | |
| 542 background-position longhands=background-position-x;background-position-y | |
| 543 background-repeat longhands=background-repeat-x;background-repeat-y | |
| 544 border longhands=border-top-color;border-top-style;border-top-width;border-right
-color;border-right-style;border-right-width;border-bottom-color;border-bottom-s
tyle;border-bottom-width;border-left-color;border-left-style;border-left-width;b
order-image-source;border-image-slice;border-image-width;border-image-outset;bor
der-image-repeat | |
| 545 border-bottom longhands=border-bottom-width;border-bottom-style;border-bottom-co
lor | |
| 546 border-color longhands=border-top-color;border-right-color;border-bottom-color;b
order-left-color | |
| 547 border-image longhands=border-image-source;border-image-slice;border-image-width
;border-image-outset;border-image-repeat | |
| 548 border-left longhands=border-left-width;border-left-style;border-left-color | |
| 549 border-radius longhands=border-top-left-radius;border-top-right-radius;border-bo
ttom-right-radius;border-bottom-left-radius | |
| 550 border-right longhands=border-right-width;border-right-style;border-right-color | |
| 551 border-spacing longhands=-webkit-border-horizontal-spacing;-webkit-border-vertic
al-spacing | |
| 552 border-style longhands=border-top-style;border-right-style;border-bottom-style;b
order-left-style | |
| 553 border-top longhands=border-top-width;border-top-style;border-top-color | |
| 554 border-width longhands=border-top-width;border-right-width;border-bottom-width;b
order-left-width | |
| 555 flex longhands=flex-grow;flex-shrink;flex-basis | |
| 556 flex-flow longhands=flex-direction;flex-wrap | |
| 557 font longhands=font-style;font-variant-ligatures;font-variant-caps;font-variant-
numeric;font-weight;font-stretch;font-size;line-height;font-family | |
| 558 font-variant longhands=font-variant-ligatures;font-variant-caps;font-variant-num
eric | |
| 559 grid runtime_flag=CSSGridLayout, longhands=grid-template-rows;grid-template-colu
mns;grid-template-areas;grid-auto-flow;grid-auto-rows;grid-auto-columns;grid-col
umn-gap;grid-row-gap | |
| 560 grid-area runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-column-start
;grid-row-end;grid-column-end | |
| 561 grid-column runtime_flag=CSSGridLayout, longhands=grid-column-start;grid-column-
end | |
| 562 grid-gap runtime_flag=CSSGridLayout, longhands=grid-row-gap;grid-column-gap | |
| 563 grid-row runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-row-end | |
| 564 grid-template runtime_flag=CSSGridLayout, longhands=grid-template-rows;grid-temp
late-columns;grid-template-areas | |
| 565 list-style longhands=list-style-type;list-style-position;list-style-image | |
| 566 margin longhands=margin-top;margin-right;margin-bottom;margin-left | |
| 567 marker longhands=marker-start;marker-mid;marker-end | |
| 568 motion longhands=offset-path;offset-distance;offset-rotation | |
| 569 offset longhands=offset-path;offset-distance;offset-rotation | |
| 570 outline longhands=outline-color;outline-style;outline-width | |
| 571 overflow longhands=overflow-x;overflow-y | |
| 572 padding longhands=padding-top;padding-right;padding-bottom;padding-left | |
| 573 page-break-after longhands=break-after | |
| 574 page-break-before longhands=break-before | |
| 575 page-break-inside longhands=break-inside | |
| 576 transition longhands=transition-property;transition-duration;transition-timing-f
unction;transition-delay | |
| 577 -webkit-border-after longhands=-webkit-border-after-width;-webkit-border-after-s
tyle;-webkit-border-after-color | |
| 578 -webkit-border-before longhands=-webkit-border-before-width;-webkit-border-befor
e-style;-webkit-border-before-color | |
| 579 -webkit-border-end longhands=-webkit-border-end-width;-webkit-border-end-style;-
webkit-border-end-color | |
| 580 -webkit-border-start longhands=-webkit-border-start-width;-webkit-border-start-s
tyle;-webkit-border-start-color | |
| 581 -webkit-column-break-after longhands=break-after | |
| 582 -webkit-column-break-before longhands=break-before | |
| 583 -webkit-column-break-inside longhands=break-inside | |
| 584 column-rule longhands=column-rule-width;column-rule-style;column-rule-color | |
| 585 columns longhands=column-width;column-count | |
| 586 -webkit-margin-collapse longhands=-webkit-margin-before-collapse;-webkit-margin-
after-collapse | |
| 587 -webkit-mask longhands=-webkit-mask-image;-webkit-mask-position-x;-webkit-mask-p
osition-y;-webkit-mask-size;-webkit-mask-repeat-x;-webkit-mask-repeat-y;-webkit-
mask-origin;-webkit-mask-clip | |
| 588 -webkit-mask-box-image longhands=-webkit-mask-box-image-source;-webkit-mask-box-
image-slice;-webkit-mask-box-image-width;-webkit-mask-box-image-outset;-webkit-m
ask-box-image-repeat | |
| 589 -webkit-mask-position longhands=-webkit-mask-position-x;-webkit-mask-position-y | |
| 590 -webkit-mask-repeat longhands=-webkit-mask-repeat-x;-webkit-mask-repeat-y | |
| 591 -webkit-text-emphasis longhands=-webkit-text-emphasis-style;-webkit-text-emphasi
s-color | |
| 592 -webkit-text-stroke longhands=-webkit-text-stroke-width;-webkit-text-stroke-colo
r | |
| 593 | |
| 594 // Aliases; these map to the same CSSPropertyID | |
| 595 | |
| 596 -epub-caption-side alias_for=caption-side | |
| 597 -epub-text-combine alias_for=-webkit-text-combine | |
| 598 -epub-text-emphasis alias_for=-webkit-text-emphasis | |
| 599 -epub-text-emphasis-color alias_for=-webkit-text-emphasis-color | |
| 600 -epub-text-emphasis-style alias_for=-webkit-text-emphasis-style | |
| 601 -epub-text-orientation alias_for=-webkit-text-orientation | |
| 602 -epub-text-transform alias_for=text-transform | |
| 603 -epub-word-break alias_for=word-break | |
| 604 -epub-writing-mode alias_for=-webkit-writing-mode | |
| 605 -webkit-align-content alias_for=align-content | |
| 606 -webkit-align-items alias_for=align-items | |
| 607 -webkit-align-self alias_for=align-self | |
| 608 -webkit-animation alias_for=animation | |
| 609 -webkit-animation-delay alias_for=animation-delay | |
| 610 -webkit-animation-direction alias_for=animation-direction | |
| 611 -webkit-animation-duration alias_for=animation-duration | |
| 612 -webkit-animation-fill-mode alias_for=animation-fill-mode | |
| 613 -webkit-animation-iteration-count alias_for=animation-iteration-count | |
| 614 -webkit-animation-name alias_for=animation-name | |
| 615 -webkit-animation-play-state alias_for=animation-play-state | |
| 616 -webkit-animation-timing-function alias_for=animation-timing-function | |
| 617 -webkit-backface-visibility alias_for=backface-visibility | |
| 618 // "-webkit-background-size: 10px" behaves as "background-size: 10px 10px" | |
| 619 -webkit-background-size alias_for=background-size | |
| 620 -webkit-border-bottom-left-radius alias_for=border-bottom-left-radius | |
| 621 -webkit-border-bottom-right-radius alias_for=border-bottom-right-radius | |
| 622 // "-webkit-border-radius: 1px 2px" behaves as "border-radius: 1px / 2px" | |
| 623 -webkit-border-radius alias_for=border-radius | |
| 624 -webkit-border-top-left-radius alias_for=border-top-left-radius | |
| 625 -webkit-border-top-right-radius alias_for=border-top-right-radius | |
| 626 -webkit-box-shadow alias_for=box-shadow | |
| 627 -webkit-box-sizing alias_for=box-sizing | |
| 628 -webkit-clip-path alias_for=clip-path | |
| 629 -webkit-column-count alias_for=column-count | |
| 630 -webkit-column-gap alias_for=column-gap | |
| 631 -webkit-column-rule alias_for=column-rule | |
| 632 -webkit-column-rule-color alias_for=column-rule-color | |
| 633 -webkit-column-rule-style alias_for=column-rule-style | |
| 634 -webkit-column-rule-width alias_for=column-rule-width | |
| 635 -webkit-column-span alias_for=column-span | |
| 636 -webkit-column-width alias_for=column-width | |
| 637 -webkit-columns alias_for=columns | |
| 638 -webkit-filter alias_for=filter | |
| 639 -webkit-flex alias_for=flex | |
| 640 -webkit-flex-basis alias_for=flex-basis | |
| 641 -webkit-flex-direction alias_for=flex-direction | |
| 642 -webkit-flex-flow alias_for=flex-flow | |
| 643 -webkit-flex-grow alias_for=flex-grow | |
| 644 -webkit-flex-shrink alias_for=flex-shrink | |
| 645 -webkit-flex-wrap alias_for=flex-wrap | |
| 646 -webkit-font-feature-settings alias_for=font-feature-settings | |
| 647 -webkit-justify-content alias_for=justify-content | |
| 648 -webkit-opacity alias_for=opacity | |
| 649 -webkit-order alias_for=order | |
| 650 -webkit-perspective alias_for=perspective | |
| 651 -webkit-perspective-origin alias_for=perspective-origin | |
| 652 -webkit-shape-image-threshold alias_for=shape-image-threshold | |
| 653 -webkit-shape-margin alias_for=shape-margin | |
| 654 -webkit-shape-outside alias_for=shape-outside | |
| 655 -webkit-text-size-adjust alias_for=text-size-adjust | |
| 656 -webkit-transform alias_for=transform | |
| 657 -webkit-transform-origin alias_for=transform-origin | |
| 658 -webkit-transform-style alias_for=transform-style | |
| 659 -webkit-transition alias_for=transition | |
| 660 -webkit-transition-delay alias_for=transition-delay | |
| 661 -webkit-transition-duration alias_for=transition-duration | |
| 662 -webkit-transition-property alias_for=transition-property | |
| 663 -webkit-transition-timing-function alias_for=transition-timing-function | |
| 664 -webkit-user-select alias_for=user-select | |
| OLD | NEW |