| OLD | NEW |
| (Empty) | |
| 1 { |
| 2 // This file specifies all the CSS properties we support and the necessary |
| 3 // information for our code generation. The various supported arguments |
| 4 // are described below with example usage |
| 5 |
| 6 parameters: { |
| 7 // - alias_for=other-property |
| 8 // Properties specifying alias_for should be virtually identical to the |
| 9 // properties they alias. Minor parsing differences are allowed as long as |
| 10 // the CSSValues created are of the same format of the aliased property. |
| 11 alias_for: { |
| 12 }, |
| 13 |
| 14 // - descriptor_only |
| 15 // These are actually descriptors and not CSS properties. Properties with |
| 16 // the same name as a descriptor do not get this flag. |
| 17 descriptor_only: { |
| 18 }, |
| 19 |
| 20 // - runtime_flag=CSSGridLayout |
| 21 // The flag on RuntimeEnabledFeatures conditionally enables the property. |
| 22 // This doesn't currently work with alias_for. |
| 23 runtime_flag: { |
| 24 }, |
| 25 |
| 26 // - longhands=property;other-property |
| 27 // The property is a shorthand for several other properties. |
| 28 longhands: { |
| 29 default: '', |
| 30 }, |
| 31 |
| 32 // Flags which go into CSSPropertyMetadata: |
| 33 // - interpolable |
| 34 // The interpolable flag indicates whether a property can be animated smoothly
. |
| 35 // If this flag is set, the property should also be added to the switch |
| 36 // statements in AnimatedStyleBuilder, CSSPropertyEquality and |
| 37 // CSSAnimatableValueFactory. |
| 38 // - inherited |
| 39 // The property will inherit by default if no value is specified, typically |
| 40 // mentioned in specifications as "Inherited: yes" |
| 41 interpolable: { |
| 42 default: false, |
| 43 valid_type: "bool", |
| 44 }, |
| 45 inherited: { |
| 46 default: false, |
| 47 valid_type: "bool", |
| 48 }, |
| 49 |
| 50 // - independent |
| 51 // This property affects only one field on ComputedStyle, and can be set |
| 52 // directly during inheritance instead of forcing a recalc. |
| 53 // StyleResolver and StyleAdjuster are not invoked when these properties |
| 54 // are changed on a parent. Recalcs only happen if at least one |
| 55 // non-independent inherited property is changed in the parent. |
| 56 independent: { |
| 57 default: false, |
| 58 valid_type: "bool", |
| 59 }, |
| 60 |
| 61 // The remaining arguments are used for the StyleBuilder and allow us to |
| 62 // succinctly describe how to apply properties. When default handlers are not |
| 63 // sufficient, we should prefer to use converter, and failing that define |
| 64 // custom property handlers in StyleBuilderCustom.cpp. We only should use |
| 65 // StyleBuilderFunctions.cpp.tmpl to define handlers when there are multiple |
| 66 // properties requiring the same handling, but converter doesn't suffice. |
| 67 |
| 68 // - font |
| 69 // The default property handlers call into the FontBuilder instead of setting |
| 70 // values directly onto the ComputedStyle |
| 71 // - svg |
| 72 // The default property handlers access the SVGComputedStyle |
| 73 font: { |
| 74 default: false, |
| 75 valid_type: "bool", |
| 76 }, |
| 77 svg: { |
| 78 default: false, |
| 79 valid_type: "bool", |
| 80 }, |
| 81 |
| 82 // - name_for_methods=BlendMode |
| 83 // Tweaks how we choose defaults for getter, setter, initial and type_name. |
| 84 // For example, setting this to BlendMode will make us use a setter of setBlen
dMode |
| 85 // - initial |
| 86 // The initial value accessor on the ComputedStyle, defaults to e.g. initialBo
xShadow |
| 87 // - getter |
| 88 // The ComputedStyle getter, defaults to e.g. borderBottomLeft |
| 89 // - setter |
| 90 // The ComputedStyle setter, defaults to e.g. setBorderBottomLeft |
| 91 // - type_name |
| 92 // The computed type for the property. Only required for the default value |
| 93 // application, defaults to e.g. EDisplay |
| 94 name_for_methods: { |
| 95 }, |
| 96 getter: { |
| 97 }, |
| 98 setter: { |
| 99 }, |
| 100 initial: { |
| 101 }, |
| 102 type_name: { |
| 103 }, |
| 104 |
| 105 // - converter=convertRadius |
| 106 // The StyleBuilder will call the specified function on StyleBuilderConverter |
| 107 // to convert a CSSValue to an appropriate platform value |
| 108 converter: { |
| 109 }, |
| 110 |
| 111 // - custom_initial |
| 112 // - custom_inherit |
| 113 // - custom_value |
| 114 // - custom_all |
| 115 // Handlers of the given types will be declared but not defined. Setting |
| 116 // custom_all is equivalent to setting the other three flags |
| 117 custom_all: { |
| 118 default: false, |
| 119 valid_type: "bool", |
| 120 }, |
| 121 custom_initial: { |
| 122 default: false, |
| 123 valid_type: "bool", |
| 124 }, |
| 125 custom_inherit: { |
| 126 default: false, |
| 127 valid_type: "bool", |
| 128 }, |
| 129 custom_value: { |
| 130 default: false, |
| 131 valid_type: "bool", |
| 132 }, |
| 133 |
| 134 // - use_handlers_for=CSSPropertyTransform |
| 135 // Use handlers for the specified property instead of defining new ones |
| 136 use_handlers_for: { |
| 137 }, |
| 138 |
| 139 // - builder_skip |
| 140 // Ignore this property in the StyleBuilder |
| 141 builder_skip: { |
| 142 default: false, |
| 143 valid_type: "bool", |
| 144 }, |
| 145 |
| 146 // - direction_aware |
| 147 // This property resolves to a different property based on the current directi
on |
| 148 // and writing mode. |
| 149 direction_aware: { |
| 150 default: false, |
| 151 valid_type: "bool", |
| 152 }, |
| 153 |
| 154 // - priority=High |
| 155 // The priority level for computing the property. Valid values are |
| 156 // "Animation" (highest), "High" and "Low". Properties with the same |
| 157 // priority level are grouped and computed in alphabetical order. The |
| 158 // default value is "Low". |
| 159 priority: { |
| 160 default: 'Low', |
| 161 valid_values: ['Animation', 'High', 'Low'], |
| 162 }, |
| 163 |
| 164 // - api_class[=classname] |
| 165 // Specifies the existance (and optionally name) of a CSSPropertyAPI |
| 166 // implementation for the property to be used by make_css_property_descriptor.
py. |
| 167 // See core/css/properties/CSSPropertyAPI.h for API details. |
| 168 // * Add this flag if the API has been implemented for this property. |
| 169 // * If the classname for this is different to the name of the property, speci
fy a |
| 170 // value for this flag. e.g. api_class=CSSPropertyAPIWebkitPadding |
| 171 // TODO(aazzam): When most properties have been implemented, modify this so th
at |
| 172 // properties with default classnames do not get this flag, and introduce a |
| 173 // 'not_implemented' flag instead. |
| 174 api_class: { |
| 175 }, |
| 176 |
| 177 // Generated ComputedStyle annotations. |
| 178 // - field_storage_type=path/to/Type |
| 179 // For properties that have generated field storage in ComputedStyle, |
| 180 // this optional argument will override the field's generated type with |
| 181 // an external one specified at the given path. The type must be defined |
| 182 // in a header file at that path, and have the same name as the file. |
| 183 // Currently, only enum types are supported, and the enum's only values |
| 184 // must be CamelCase values of the keywords of the property. |
| 185 field_storage_type: { |
| 186 }, |
| 187 |
| 188 // Flags which go into CSSOMTypes: |
| 189 // - typedom_types=["Type", "OtherType"] |
| 190 // The property can take types specified in typedom_types for CSS Typed OM. |
| 191 // Keyword does not need to be specified as every property can take keywords. |
| 192 // - keywords=["keyword1", "keyword2"] |
| 193 // This specifies all valid keyword values for the property. |
| 194 // TODO(sashab): Once all properties are represented here, delete |
| 195 // CSSValueKeywords.in and use this list instead. |
| 196 // - repeated |
| 197 // The property supports a list of values. |
| 198 // - supports_percentage |
| 199 // The property supports percentage types. |
| 200 // Typed OM annotations. |
| 201 typedom_types: { |
| 202 default: [], |
| 203 }, |
| 204 keywords: { |
| 205 default: [], |
| 206 }, |
| 207 repeated: { |
| 208 default: false, |
| 209 }, |
| 210 supports_percentage: { |
| 211 default: false, |
| 212 }, |
| 213 |
| 214 // - keyword_only |
| 215 // These properties only store keyword values. This is used when |
| 216 // generating the ComputedStyle storage for the property. The initial |
| 217 // value for this property on a ComputedStyle is specified with the |
| 218 // initial_keyword flag below. |
| 219 // TODO(sashab): Rename this to field_type=keyword once we support |
| 220 // multiple types of generatable fields in ComputedStyle |
| 221 // TODO(sashab, meade): Remove this once TypedOM types are specified for |
| 222 // every property, since this value can be inferred from that. |
| 223 keyword_only: { |
| 224 default: false, |
| 225 valid_type: "bool", |
| 226 }, |
| 227 // - initial_keyword |
| 228 // This specifies the initial keyword value for the keyword_only |
| 229 // property. |
| 230 initial_keyword: { |
| 231 }, |
| 232 |
| 233 }, |
| 234 |
| 235 |
| 236 data: [ |
| 237 // Properties with StyleBuilder handling |
| 238 |
| 239 // Animation Priority properties |
| 240 { |
| 241 name: "animation-delay", |
| 242 custom_all: true, |
| 243 priority: "Animation", |
| 244 }, |
| 245 { |
| 246 name: "animation-direction", |
| 247 custom_all: true, |
| 248 keywords: ["normal", "reverse", "alternate", "alternate-reverse"], |
| 249 priority: "Animation", |
| 250 repeated: true, |
| 251 }, |
| 252 { |
| 253 name: "animation-duration", |
| 254 custom_all: true, |
| 255 priority: "Animation", |
| 256 }, |
| 257 { |
| 258 name: "animation-fill-mode", |
| 259 custom_all: true, |
| 260 priority: "Animation", |
| 261 }, |
| 262 { |
| 263 name: "animation-iteration-count", |
| 264 custom_all: true, |
| 265 keywords: ["infinite"], |
| 266 priority: "Animation", |
| 267 repeated: true, |
| 268 }, |
| 269 { |
| 270 name: "animation-name", |
| 271 custom_all: true, |
| 272 priority: "Animation", |
| 273 }, |
| 274 { |
| 275 name: "animation-play-state", |
| 276 custom_all: true, |
| 277 priority: "Animation", |
| 278 }, |
| 279 { |
| 280 name: "animation-timing-function", |
| 281 custom_all: true, |
| 282 priority: "Animation", |
| 283 }, |
| 284 { |
| 285 name: "transition-delay", |
| 286 custom_all: true, |
| 287 priority: "Animation", |
| 288 }, |
| 289 { |
| 290 name: "transition-duration", |
| 291 custom_all: true, |
| 292 priority: "Animation", |
| 293 }, |
| 294 { |
| 295 name: "transition-property", |
| 296 custom_all: true, |
| 297 priority: "Animation", |
| 298 }, |
| 299 { |
| 300 name: "transition-timing-function", |
| 301 custom_all: true, |
| 302 priority: "Animation", |
| 303 }, |
| 304 |
| 305 // High Priority and all other font properties. |
| 306 // Other properties can depend upon high priority properties (e.g. font-size /
ems) |
| 307 { |
| 308 name: "color", |
| 309 custom_all: true, |
| 310 inherited: true, |
| 311 interpolable: true, |
| 312 priority: "High", |
| 313 }, |
| 314 { |
| 315 name: "direction", |
| 316 custom_value: true, |
| 317 field_storage_type: "platform/text/TextDirection", |
| 318 inherited: true, |
| 319 initial_keyword: "ltr", |
| 320 keyword_only: true, |
| 321 keywords: ["ltr", "rtl"], |
| 322 priority: "High", |
| 323 }, |
| 324 { |
| 325 name: "font-family", |
| 326 converter: "convertFontFamily", |
| 327 font: true, |
| 328 inherited: true, |
| 329 name_for_methods: "FamilyDescription", |
| 330 priority: "High", |
| 331 type_name: "FontDescription::FamilyDescription", |
| 332 }, |
| 333 { |
| 334 name: "font-kerning", |
| 335 font: true, |
| 336 inherited: true, |
| 337 name_for_methods: "Kerning", |
| 338 priority: "High", |
| 339 type_name: "FontDescription::Kerning", |
| 340 }, |
| 341 { |
| 342 name: "font-size", |
| 343 converter: "convertFontSize", |
| 344 font: true, |
| 345 getter: "getSize", |
| 346 inherited: true, |
| 347 interpolable: true, |
| 348 name_for_methods: "Size", |
| 349 priority: "High", |
| 350 }, |
| 351 { |
| 352 name: "font-size-adjust", |
| 353 api_class: true, |
| 354 converter: "convertFontSizeAdjust", |
| 355 font: true, |
| 356 inherited: true, |
| 357 interpolable: true, |
| 358 name_for_methods: "SizeAdjust", |
| 359 priority: "High", |
| 360 runtime_flag: "CSSFontSizeAdjust", |
| 361 }, |
| 362 { |
| 363 name: "font-stretch", |
| 364 font: true, |
| 365 inherited: true, |
| 366 name_for_methods: "Stretch", |
| 367 priority: "High", |
| 368 type_name: "FontStretch", |
| 369 }, |
| 370 { |
| 371 name: "font-style", |
| 372 font: true, |
| 373 inherited: true, |
| 374 name_for_methods: "Style", |
| 375 priority: "High", |
| 376 type_name: "FontStyle", |
| 377 }, |
| 378 { |
| 379 name: "font-variant-ligatures", |
| 380 converter: "convertFontVariantLigatures", |
| 381 font: true, |
| 382 inherited: true, |
| 383 name_for_methods: "VariantLigatures", |
| 384 priority: "High", |
| 385 type_name: "VariantLigatures", |
| 386 }, |
| 387 { |
| 388 name: "font-variant-caps", |
| 389 converter: "convertFontVariantCaps", |
| 390 font: true, |
| 391 inherited: true, |
| 392 name_for_methods: "VariantCaps", |
| 393 priority: "High", |
| 394 }, |
| 395 { |
| 396 name: "font-variant-numeric", |
| 397 converter: "convertFontVariantNumeric", |
| 398 font: true, |
| 399 inherited: true, |
| 400 name_for_methods: "VariantNumeric", |
| 401 priority: "High", |
| 402 }, |
| 403 { |
| 404 name: "font-weight", |
| 405 converter: "convertFontWeight", |
| 406 font: true, |
| 407 inherited: true, |
| 408 interpolable: true, |
| 409 name_for_methods: "Weight", |
| 410 priority: "High", |
| 411 type_name: "FontWeight", |
| 412 }, |
| 413 { |
| 414 name: "font-feature-settings", |
| 415 converter: "convertFontFeatureSettings", |
| 416 font: true, |
| 417 inherited: true, |
| 418 name_for_methods: "FeatureSettings", |
| 419 priority: "High", |
| 420 }, |
| 421 { |
| 422 name: "font-variation-settings", |
| 423 api_class: true, |
| 424 converter: "convertFontVariationSettings", |
| 425 font: true, |
| 426 inherited: true, |
| 427 name_for_methods: "VariationSettings", |
| 428 priority: "High", |
| 429 runtime_flag: "CSSVariableFonts", |
| 430 }, |
| 431 { |
| 432 name: "-webkit-font-smoothing", |
| 433 font: true, |
| 434 inherited: true, |
| 435 priority: "High", |
| 436 type_name: "FontSmoothingMode", |
| 437 }, |
| 438 { |
| 439 name: "-webkit-locale", |
| 440 custom_value: true, |
| 441 font: true, |
| 442 inherited: true, |
| 443 priority: "High", |
| 444 }, |
| 445 { |
| 446 name: "text-orientation", |
| 447 custom_value: true, |
| 448 inherited: true, |
| 449 priority: "High", |
| 450 type_name: "TextOrientation", |
| 451 }, |
| 452 { |
| 453 name: "-webkit-text-orientation", |
| 454 custom_value: true, |
| 455 inherited: true, |
| 456 priority: "High", |
| 457 type_name: "TextOrientation", |
| 458 }, |
| 459 { |
| 460 name: "writing-mode", |
| 461 custom_value: true, |
| 462 field_storage_type: "platform/text/WritingMode", |
| 463 inherited: true, |
| 464 initial_keyword: "horizontal-tb", |
| 465 keyword_only: true, |
| 466 keywords: ["horizontal-tb", "vertical-rl", "vertical-lr"], |
| 467 priority: "High", |
| 468 type_name: "WritingMode", |
| 469 }, |
| 470 { |
| 471 name: "-webkit-writing-mode", |
| 472 custom_value: true, |
| 473 inherited: true, |
| 474 priority: "High", |
| 475 type_name: "WritingMode", |
| 476 }, |
| 477 { |
| 478 name: "text-rendering", |
| 479 font: true, |
| 480 inherited: true, |
| 481 priority: "High", |
| 482 type_name: "TextRenderingMode", |
| 483 }, |
| 484 { |
| 485 name: "zoom", |
| 486 api_class: true, |
| 487 custom_all: true, |
| 488 priority: "High", |
| 489 }, |
| 490 |
| 491 { |
| 492 name: "align-content", |
| 493 converter: "convertContentAlignmentData", |
| 494 initial: "initialContentAlignment", |
| 495 }, |
| 496 { |
| 497 name: "align-items", |
| 498 converter: "convertSelfOrDefaultAlignmentData", |
| 499 initial: "initialDefaultAlignment", |
| 500 }, |
| 501 { |
| 502 name: "alignment-baseline", |
| 503 svg: true, |
| 504 }, |
| 505 { |
| 506 name: "align-self", |
| 507 converter: "convertSelfOrDefaultAlignmentData", |
| 508 initial: "initialSelfAlignment", |
| 509 }, |
| 510 { |
| 511 name: "backdrop-filter", |
| 512 converter: "convertFilterOperations", |
| 513 interpolable: true, |
| 514 runtime_flag: "CSSBackdropFilter", |
| 515 }, |
| 516 "backface-visibility", |
| 517 { |
| 518 name: "background-attachment", |
| 519 custom_all: true, |
| 520 }, |
| 521 { |
| 522 name: "background-blend-mode", |
| 523 custom_all: true, |
| 524 }, |
| 525 { |
| 526 name: "background-clip", |
| 527 custom_all: true, |
| 528 }, |
| 529 { |
| 530 name: "background-color", |
| 531 custom_all: true, |
| 532 interpolable: true, |
| 533 }, |
| 534 { |
| 535 name: "background-image", |
| 536 custom_all: true, |
| 537 interpolable: true, |
| 538 keywords: ["auto"], |
| 539 typedom_types: ["Image"], |
| 540 }, |
| 541 { |
| 542 name: "background-origin", |
| 543 custom_all: true, |
| 544 }, |
| 545 { |
| 546 name: "background-position-x", |
| 547 custom_all: true, |
| 548 interpolable: true, |
| 549 }, |
| 550 { |
| 551 name: "background-position-y", |
| 552 custom_all: true, |
| 553 interpolable: true, |
| 554 }, |
| 555 { |
| 556 name: "background-repeat-x", |
| 557 custom_all: true, |
| 558 }, |
| 559 { |
| 560 name: "background-repeat-y", |
| 561 custom_all: true, |
| 562 }, |
| 563 { |
| 564 name: "background-size", |
| 565 custom_all: true, |
| 566 interpolable: true, |
| 567 }, |
| 568 { |
| 569 name: "baseline-shift", |
| 570 custom_inherit: true, |
| 571 custom_value: true, |
| 572 interpolable: true, |
| 573 svg: true, |
| 574 }, |
| 575 { |
| 576 name: "border-bottom-color", |
| 577 custom_all: true, |
| 578 interpolable: true, |
| 579 }, |
| 580 { |
| 581 name: "border-bottom-left-radius", |
| 582 converter: "convertRadius", |
| 583 initial: "initialBorderRadius", |
| 584 interpolable: true, |
| 585 }, |
| 586 { |
| 587 name: "border-bottom-right-radius", |
| 588 converter: "convertRadius", |
| 589 initial: "initialBorderRadius", |
| 590 interpolable: true, |
| 591 }, |
| 592 { |
| 593 name: "border-bottom-style", |
| 594 initial: "initialBorderStyle", |
| 595 type_name: "EBorderStyle", |
| 596 }, |
| 597 { |
| 598 name: "border-bottom-width", |
| 599 converter: "convertLineWidth<unsigned>", |
| 600 initial: "initialBorderWidth", |
| 601 interpolable: true, |
| 602 }, |
| 603 { |
| 604 name: "border-collapse", |
| 605 independent: true, |
| 606 inherited: true, |
| 607 initial_keyword: "separate", |
| 608 keyword_only: true, |
| 609 keywords: ["separate", "collapse"], |
| 610 }, |
| 611 { |
| 612 name: "border-image-outset", |
| 613 custom_all: true, |
| 614 interpolable: true, |
| 615 }, |
| 616 { |
| 617 name: "border-image-repeat", |
| 618 custom_all: true, |
| 619 }, |
| 620 { |
| 621 name: "border-image-slice", |
| 622 custom_all: true, |
| 623 interpolable: true, |
| 624 }, |
| 625 { |
| 626 name: "border-image-source", |
| 627 custom_value: true, |
| 628 interpolable: true, |
| 629 keywords: ["none"], |
| 630 typedom_types: ["Image"], |
| 631 }, |
| 632 { |
| 633 name: "border-image-width", |
| 634 custom_all: true, |
| 635 interpolable: true, |
| 636 }, |
| 637 { |
| 638 name: "border-left-color", |
| 639 custom_all: true, |
| 640 interpolable: true, |
| 641 }, |
| 642 { |
| 643 name: "border-left-style", |
| 644 initial: "initialBorderStyle", |
| 645 type_name: "EBorderStyle", |
| 646 }, |
| 647 { |
| 648 name: "border-left-width", |
| 649 converter: "convertLineWidth<unsigned>", |
| 650 initial: "initialBorderWidth", |
| 651 interpolable: true, |
| 652 }, |
| 653 { |
| 654 name: "border-right-color", |
| 655 custom_all: true, |
| 656 interpolable: true, |
| 657 }, |
| 658 { |
| 659 name: "border-right-style", |
| 660 initial: "initialBorderStyle", |
| 661 type_name: "EBorderStyle", |
| 662 }, |
| 663 { |
| 664 name: "border-right-width", |
| 665 converter: "convertLineWidth<unsigned>", |
| 666 initial: "initialBorderWidth", |
| 667 interpolable: true, |
| 668 }, |
| 669 { |
| 670 name: "border-top-color", |
| 671 custom_all: true, |
| 672 interpolable: true, |
| 673 }, |
| 674 { |
| 675 name: "border-top-left-radius", |
| 676 converter: "convertRadius", |
| 677 initial: "initialBorderRadius", |
| 678 interpolable: true, |
| 679 }, |
| 680 { |
| 681 name: "border-top-right-radius", |
| 682 converter: "convertRadius", |
| 683 initial: "initialBorderRadius", |
| 684 interpolable: true, |
| 685 }, |
| 686 { |
| 687 name: "border-top-style", |
| 688 initial: "initialBorderStyle", |
| 689 type_name: "EBorderStyle", |
| 690 }, |
| 691 { |
| 692 name: "border-top-width", |
| 693 converter: "convertLineWidth<unsigned>", |
| 694 initial: "initialBorderWidth", |
| 695 interpolable: true, |
| 696 keywords: ["thin", "medium", "thick"], |
| 697 supports_percentage: true, |
| 698 typedom_types: ["Length"], |
| 699 }, |
| 700 { |
| 701 name: "bottom", |
| 702 converter: "convertLengthOrAuto", |
| 703 initial: "initialOffset", |
| 704 interpolable: true, |
| 705 keywords: ["auto"], |
| 706 supports_percentage: true, |
| 707 typedom_types: ["Length"], |
| 708 }, |
| 709 { |
| 710 name: "box-shadow", |
| 711 converter: "convertShadowList", |
| 712 interpolable: true, |
| 713 }, |
| 714 "box-sizing", |
| 715 { |
| 716 name: "break-after", |
| 717 type_name: "EBreak", |
| 718 }, |
| 719 { |
| 720 name: "break-before", |
| 721 type_name: "EBreak", |
| 722 }, |
| 723 { |
| 724 name: "break-inside", |
| 725 type_name: "EBreak", |
| 726 }, |
| 727 { |
| 728 name: "buffered-rendering", |
| 729 svg: true, |
| 730 }, |
| 731 { |
| 732 name: "caption-side", |
| 733 independent: true, |
| 734 inherited: true, |
| 735 initial_keyword: "top", |
| 736 keyword_only: true, |
| 737 keywords: ["top", "bottom", "left", "right"], |
| 738 }, |
| 739 { |
| 740 name: "caret-color", |
| 741 api_class: true, |
| 742 custom_all: true, |
| 743 inherited: true, |
| 744 interpolable: true, |
| 745 }, |
| 746 "clear", |
| 747 { |
| 748 name: "clip", |
| 749 api_class: true, |
| 750 converter: "convertClip", |
| 751 custom_all: true, |
| 752 interpolable: true, |
| 753 }, |
| 754 { |
| 755 name: "clip-path", |
| 756 converter: "convertClipPath", |
| 757 interpolable: true, |
| 758 }, |
| 759 { |
| 760 name: "clip-rule", |
| 761 inherited: true, |
| 762 svg: true, |
| 763 type_name: "WindRule", |
| 764 }, |
| 765 { |
| 766 name: "color-interpolation", |
| 767 inherited: true, |
| 768 svg: true, |
| 769 }, |
| 770 { |
| 771 name: "color-interpolation-filters", |
| 772 inherited: true, |
| 773 svg: true, |
| 774 type_name: "EColorInterpolation", |
| 775 }, |
| 776 { |
| 777 name: "color-rendering", |
| 778 inherited: true, |
| 779 svg: true, |
| 780 }, |
| 781 { |
| 782 name: "column-fill", |
| 783 type_name: "ColumnFill", |
| 784 }, |
| 785 { |
| 786 name: "contain", |
| 787 converter: "convertFlags<Containment>", |
| 788 runtime_flag: "CSSContainment", |
| 789 }, |
| 790 { |
| 791 name: "content", |
| 792 custom_all: true, |
| 793 repeated: true, |
| 794 typedom_types: ["Image"], |
| 795 }, |
| 796 { |
| 797 name: "counter-increment", |
| 798 custom_all: true, |
| 799 }, |
| 800 { |
| 801 name: "counter-reset", |
| 802 custom_all: true, |
| 803 }, |
| 804 { |
| 805 name: "cursor", |
| 806 custom_all: true, |
| 807 inherited: true, |
| 808 }, |
| 809 { |
| 810 name: "cx", |
| 811 converter: "convertLength", |
| 812 interpolable: true, |
| 813 svg: true, |
| 814 }, |
| 815 { |
| 816 name: "cy", |
| 817 converter: "convertLength", |
| 818 interpolable: true, |
| 819 svg: true, |
| 820 }, |
| 821 { |
| 822 name: "d", |
| 823 converter: "convertPathOrNone", |
| 824 interpolable: true, |
| 825 svg: true, |
| 826 }, |
| 827 "display", |
| 828 { |
| 829 name: "dominant-baseline", |
| 830 inherited: true, |
| 831 svg: true, |
| 832 }, |
| 833 { |
| 834 name: "empty-cells", |
| 835 independent: true, |
| 836 inherited: true, |
| 837 initial_keyword: "show", |
| 838 keyword_only: true, |
| 839 keywords: ["show", "hide"], |
| 840 type_name: "EEmptyCells", |
| 841 }, |
| 842 { |
| 843 name: "fill", |
| 844 custom_all: true, |
| 845 inherited: true, |
| 846 interpolable: true, |
| 847 setter: "setFillPaint", |
| 848 svg: true, |
| 849 }, |
| 850 { |
| 851 name: "fill-opacity", |
| 852 converter: "convertNumberOrPercentage", |
| 853 inherited: true, |
| 854 interpolable: true, |
| 855 svg: true, |
| 856 }, |
| 857 { |
| 858 name: "fill-rule", |
| 859 inherited: true, |
| 860 svg: true, |
| 861 type_name: "WindRule", |
| 862 }, |
| 863 { |
| 864 name: "filter", |
| 865 converter: "convertFilterOperations", |
| 866 interpolable: true, |
| 867 }, |
| 868 { |
| 869 name: "flex-basis", |
| 870 api_class: true, |
| 871 converter: "convertLengthOrAuto", |
| 872 interpolable: true, |
| 873 }, |
| 874 "flex-direction", |
| 875 { |
| 876 name: "flex-grow", |
| 877 interpolable: true, |
| 878 type_name: "float", |
| 879 }, |
| 880 { |
| 881 name: "flex-shrink", |
| 882 interpolable: true, |
| 883 type_name: "float", |
| 884 }, |
| 885 "flex-wrap", |
| 886 { |
| 887 name: "float", |
| 888 initial_keyword: "none", |
| 889 keyword_only: true, |
| 890 keywords: ["none", "left", "right"], |
| 891 name_for_methods: "Floating", |
| 892 type_name: "EFloat", |
| 893 }, |
| 894 { |
| 895 name: "flood-color", |
| 896 converter: "convertColor", |
| 897 interpolable: true, |
| 898 svg: true, |
| 899 }, |
| 900 { |
| 901 name: "flood-opacity", |
| 902 converter: "convertNumberOrPercentage", |
| 903 interpolable: true, |
| 904 svg: true, |
| 905 }, |
| 906 { |
| 907 name: "grid-auto-columns", |
| 908 converter: "convertGridTrackSizeList", |
| 909 runtime_flag: "CSSGridLayout", |
| 910 }, |
| 911 { |
| 912 name: "grid-auto-flow", |
| 913 converter: "convertGridAutoFlow", |
| 914 runtime_flag: "CSSGridLayout", |
| 915 type_name: "GridAutoFlow", |
| 916 }, |
| 917 { |
| 918 name: "grid-auto-rows", |
| 919 converter: "convertGridTrackSizeList", |
| 920 runtime_flag: "CSSGridLayout", |
| 921 }, |
| 922 { |
| 923 name: "grid-column-end", |
| 924 converter: "convertGridPosition", |
| 925 runtime_flag: "CSSGridLayout", |
| 926 }, |
| 927 { |
| 928 name: "grid-column-gap", |
| 929 converter: "convertLength", |
| 930 runtime_flag: "CSSGridLayout", |
| 931 }, |
| 932 { |
| 933 name: "grid-column-start", |
| 934 converter: "convertGridPosition", |
| 935 runtime_flag: "CSSGridLayout", |
| 936 }, |
| 937 { |
| 938 name: "grid-row-end", |
| 939 converter: "convertGridPosition", |
| 940 runtime_flag: "CSSGridLayout", |
| 941 }, |
| 942 { |
| 943 name: "grid-row-gap", |
| 944 converter: "convertLength", |
| 945 runtime_flag: "CSSGridLayout", |
| 946 }, |
| 947 { |
| 948 name: "grid-row-start", |
| 949 converter: "convertGridPosition", |
| 950 runtime_flag: "CSSGridLayout", |
| 951 }, |
| 952 { |
| 953 name: "grid-template-areas", |
| 954 custom_all: true, |
| 955 runtime_flag: "CSSGridLayout", |
| 956 }, |
| 957 { |
| 958 name: "grid-template-columns", |
| 959 custom_all: true, |
| 960 runtime_flag: "CSSGridLayout", |
| 961 }, |
| 962 { |
| 963 name: "grid-template-rows", |
| 964 custom_all: true, |
| 965 runtime_flag: "CSSGridLayout", |
| 966 }, |
| 967 { |
| 968 name: "height", |
| 969 converter: "convertLengthSizing", |
| 970 initial: "initialSize", |
| 971 interpolable: true, |
| 972 keywords: ["auto"], |
| 973 supports_percentage: true, |
| 974 typedom_types: ["Length"], |
| 975 }, |
| 976 { |
| 977 name: "hyphens", |
| 978 inherited: true, |
| 979 runtime_flag: "CSSHyphens", |
| 980 type_name: "Hyphens", |
| 981 }, |
| 982 { |
| 983 name: "image-rendering", |
| 984 inherited: true, |
| 985 }, |
| 986 { |
| 987 name: "image-orientation", |
| 988 converter: "convertImageOrientation", |
| 989 inherited: true, |
| 990 name_for_methods: "RespectImageOrientation", |
| 991 runtime_flag: "ImageOrientation", |
| 992 }, |
| 993 "isolation", |
| 994 { |
| 995 name: "justify-content", |
| 996 converter: "convertContentAlignmentData", |
| 997 initial: "initialContentAlignment", |
| 998 }, |
| 999 { |
| 1000 name: "justify-items", |
| 1001 converter: "convertSelfOrDefaultAlignmentData", |
| 1002 initial: "initialSelfAlignment", |
| 1003 runtime_flag: "CSSGridLayout", |
| 1004 }, |
| 1005 { |
| 1006 name: "justify-self", |
| 1007 converter: "convertSelfOrDefaultAlignmentData", |
| 1008 initial: "initialSelfAlignment", |
| 1009 runtime_flag: "CSSGridLayout", |
| 1010 }, |
| 1011 { |
| 1012 name: "left", |
| 1013 converter: "convertLengthOrAuto", |
| 1014 initial: "initialOffset", |
| 1015 interpolable: true, |
| 1016 keywords: ["auto"], |
| 1017 supports_percentage: true, |
| 1018 typedom_types: ["Length"], |
| 1019 }, |
| 1020 { |
| 1021 name: "letter-spacing", |
| 1022 converter: "convertSpacing", |
| 1023 inherited: true, |
| 1024 initial: "initialLetterWordSpacing", |
| 1025 interpolable: true, |
| 1026 }, |
| 1027 { |
| 1028 name: "lighting-color", |
| 1029 converter: "convertColor", |
| 1030 interpolable: true, |
| 1031 svg: true, |
| 1032 }, |
| 1033 { |
| 1034 name: "line-height", |
| 1035 converter: "convertLineHeight", |
| 1036 getter: "specifiedLineHeight", |
| 1037 inherited: true, |
| 1038 interpolable: true, |
| 1039 }, |
| 1040 { |
| 1041 name: "list-style-image", |
| 1042 custom_value: true, |
| 1043 inherited: true, |
| 1044 interpolable: true, |
| 1045 typedom_types: ["Image"], |
| 1046 }, |
| 1047 { |
| 1048 name: "list-style-position", |
| 1049 independent: true, |
| 1050 inherited: true, |
| 1051 initial_keyword: "outside", |
| 1052 keyword_only: true, |
| 1053 keywords: ["outside", "inside"], |
| 1054 }, |
| 1055 { |
| 1056 name: "list-style-type", |
| 1057 inherited: true, |
| 1058 initial_keyword: "disc", |
| 1059 keyword_only: true, |
| 1060 keywords: [ |
| 1061 "disc", "circle", "square", "decimal", "decimal-leading-zero", "arabic-ind
ic", "bengali", "cambodian", "khmer", "devanagari", "gujarati", "gurmukhi", "kan
nada", "lao", "malayalam", "mongolian", "myanmar", "oriya", "persian", "urdu", "
telugu", "tibetan", "thai", "lower-roman", "upper-roman", "lower-greek", "lower-
alpha", "lower-latin", "upper-alpha", "upper-latin", "cjk-earthly-branch", "cjk-
heavenly-stem", "ethiopic-halehame", "ethiopic-halehame-am", "ethiopic-halehame-
ti-er", "ethiopic-halehame-ti-et", "hangul", "hangul-consonant", "korean-hangul-
formal", "korean-hanja-formal", "korean-hanja-informal", "hebrew", "armenian", "
lower-armenian", "upper-armenian", "georgian", "cjk-ideographic", "simp-chinese-
formal", "simp-chinese-informal", "trad-chinese-formal", "trad-chinese-informal"
, "hiragana", "katakana", "hiragana-iroha", "katakana-iroha", "none" |
| 1062 ], |
| 1063 }, |
| 1064 { |
| 1065 name: "margin-bottom", |
| 1066 converter: "convertQuirkyLength", |
| 1067 initial: "initialMargin", |
| 1068 interpolable: true, |
| 1069 }, |
| 1070 { |
| 1071 name: "margin-left", |
| 1072 converter: "convertQuirkyLength", |
| 1073 initial: "initialMargin", |
| 1074 interpolable: true, |
| 1075 }, |
| 1076 { |
| 1077 name: "margin-right", |
| 1078 converter: "convertQuirkyLength", |
| 1079 initial: "initialMargin", |
| 1080 interpolable: true, |
| 1081 }, |
| 1082 { |
| 1083 name: "margin-top", |
| 1084 converter: "convertQuirkyLength", |
| 1085 initial: "initialMargin", |
| 1086 interpolable: true, |
| 1087 }, |
| 1088 { |
| 1089 name: "marker-end", |
| 1090 converter: "convertFragmentIdentifier", |
| 1091 inherited: true, |
| 1092 name_for_methods: "MarkerEndResource", |
| 1093 svg: true, |
| 1094 }, |
| 1095 { |
| 1096 name: "marker-mid", |
| 1097 converter: "convertFragmentIdentifier", |
| 1098 inherited: true, |
| 1099 name_for_methods: "MarkerMidResource", |
| 1100 svg: true, |
| 1101 }, |
| 1102 { |
| 1103 name: "marker-start", |
| 1104 converter: "convertFragmentIdentifier", |
| 1105 inherited: true, |
| 1106 name_for_methods: "MarkerStartResource", |
| 1107 svg: true, |
| 1108 }, |
| 1109 { |
| 1110 name: "mask", |
| 1111 converter: "convertFragmentIdentifier", |
| 1112 name_for_methods: "MaskerResource", |
| 1113 svg: true, |
| 1114 }, |
| 1115 { |
| 1116 name: "mask-source-type", |
| 1117 custom_all: true, |
| 1118 runtime_flag: "CSSMaskSourceType", |
| 1119 }, |
| 1120 { |
| 1121 name: "mask-type", |
| 1122 svg: true, |
| 1123 }, |
| 1124 { |
| 1125 name: "max-height", |
| 1126 converter: "convertLengthMaxSizing", |
| 1127 initial: "initialMaxSize", |
| 1128 interpolable: true, |
| 1129 }, |
| 1130 { |
| 1131 name: "max-width", |
| 1132 converter: "convertLengthMaxSizing", |
| 1133 initial: "initialMaxSize", |
| 1134 interpolable: true, |
| 1135 }, |
| 1136 { |
| 1137 name: "min-height", |
| 1138 converter: "convertLengthSizing", |
| 1139 initial: "initialMinSize", |
| 1140 interpolable: true, |
| 1141 }, |
| 1142 { |
| 1143 name: "min-width", |
| 1144 converter: "convertLengthSizing", |
| 1145 initial: "initialMinSize", |
| 1146 interpolable: true, |
| 1147 }, |
| 1148 { |
| 1149 name: "mix-blend-mode", |
| 1150 name_for_methods: "BlendMode", |
| 1151 type_name: "blink::WebBlendMode", |
| 1152 }, |
| 1153 { |
| 1154 name: "motion-offset", |
| 1155 alias_for: "offset-distance", |
| 1156 }, |
| 1157 { |
| 1158 name: "motion-path", |
| 1159 alias_for: "offset-path", |
| 1160 }, |
| 1161 { |
| 1162 name: "motion-rotation", |
| 1163 alias_for: "offset-rotation", |
| 1164 }, |
| 1165 { |
| 1166 name: "object-fit", |
| 1167 type_name: "ObjectFit", |
| 1168 }, |
| 1169 { |
| 1170 name: "object-position", |
| 1171 converter: "convertPosition", |
| 1172 interpolable: true, |
| 1173 }, |
| 1174 { |
| 1175 name: "offset-anchor", |
| 1176 converter: "convertPositionOrAuto", |
| 1177 interpolable: true, |
| 1178 runtime_flag: "CSSOffsetPositionAnchor", |
| 1179 }, |
| 1180 { |
| 1181 name: "offset-distance", |
| 1182 converter: "convertLength", |
| 1183 interpolable: true, |
| 1184 }, |
| 1185 { |
| 1186 name: "offset-path", |
| 1187 converter: "convertPathOrNone", |
| 1188 }, |
| 1189 { |
| 1190 name: "offset-position", |
| 1191 api_class: true, |
| 1192 converter: "convertPositionOrAuto", |
| 1193 interpolable: true, |
| 1194 runtime_flag: "CSSOffsetPositionAnchor", |
| 1195 }, |
| 1196 { |
| 1197 name: "offset-rotate", |
| 1198 converter: "convertOffsetRotate", |
| 1199 interpolable: true, |
| 1200 runtime_flag: "CSSOffsetRotate", |
| 1201 }, |
| 1202 { |
| 1203 name: "offset-rotation", |
| 1204 converter: "convertOffsetRotate", |
| 1205 interpolable: true, |
| 1206 runtime_flag: "CSSOffsetRotation", |
| 1207 }, |
| 1208 { |
| 1209 name: "opacity", |
| 1210 interpolable: true, |
| 1211 type_name: "float", |
| 1212 }, |
| 1213 { |
| 1214 name: "order", |
| 1215 type_name: "int", |
| 1216 }, |
| 1217 { |
| 1218 name: "orphans", |
| 1219 inherited: true, |
| 1220 interpolable: true, |
| 1221 type_name: "short", |
| 1222 }, |
| 1223 { |
| 1224 name: "outline-color", |
| 1225 custom_all: true, |
| 1226 interpolable: true, |
| 1227 }, |
| 1228 { |
| 1229 name: "outline-offset", |
| 1230 api_class: true, |
| 1231 converter: "convertComputedLength<int>", |
| 1232 interpolable: true, |
| 1233 }, |
| 1234 { |
| 1235 name: "outline-style", |
| 1236 custom_all: true, |
| 1237 }, |
| 1238 { |
| 1239 name: "outline-width", |
| 1240 converter: "convertLineWidth<unsigned short>", |
| 1241 interpolable: true, |
| 1242 }, |
| 1243 { |
| 1244 name: "overflow-anchor", |
| 1245 runtime_flag: "ScrollAnchoring", |
| 1246 type_name: "EOverflowAnchor", |
| 1247 }, |
| 1248 { |
| 1249 name: "overflow-wrap", |
| 1250 inherited: true, |
| 1251 }, |
| 1252 { |
| 1253 name: "overflow-x", |
| 1254 type_name: "EOverflow", |
| 1255 }, |
| 1256 { |
| 1257 name: "overflow-y", |
| 1258 type_name: "EOverflow", |
| 1259 }, |
| 1260 { |
| 1261 name: "padding-bottom", |
| 1262 converter: "convertLength", |
| 1263 initial: "initialPadding", |
| 1264 interpolable: true, |
| 1265 }, |
| 1266 { |
| 1267 name: "padding-left", |
| 1268 converter: "convertLength", |
| 1269 initial: "initialPadding", |
| 1270 interpolable: true, |
| 1271 }, |
| 1272 { |
| 1273 name: "padding-right", |
| 1274 converter: "convertLength", |
| 1275 initial: "initialPadding", |
| 1276 interpolable: true, |
| 1277 }, |
| 1278 { |
| 1279 name: "padding-top", |
| 1280 converter: "convertLength", |
| 1281 initial: "initialPadding", |
| 1282 interpolable: true, |
| 1283 }, |
| 1284 { |
| 1285 name: "paint-order", |
| 1286 api_class: true, |
| 1287 converter: "convertPaintOrder", |
| 1288 inherited: true, |
| 1289 svg: true, |
| 1290 }, |
| 1291 { |
| 1292 name: "perspective", |
| 1293 converter: "convertPerspective", |
| 1294 interpolable: true, |
| 1295 }, |
| 1296 { |
| 1297 name: "perspective-origin", |
| 1298 converter: "convertPosition", |
| 1299 interpolable: true, |
| 1300 }, |
| 1301 { |
| 1302 name: "pointer-events", |
| 1303 independent: true, |
| 1304 inherited: true, |
| 1305 initial_keyword: "auto", |
| 1306 keyword_only: true, |
| 1307 keywords: [ |
| 1308 "none", "auto", "stroke", "fill", "painted", "visible", "visibleStroke", "
visibleFill", "visiblePainted", "bounding-box", "all" |
| 1309 ], |
| 1310 }, |
| 1311 { |
| 1312 name: "position", |
| 1313 custom_inherit: true, |
| 1314 }, |
| 1315 { |
| 1316 name: "quotes", |
| 1317 converter: "convertQuotes", |
| 1318 inherited: true, |
| 1319 }, |
| 1320 { |
| 1321 name: "resize", |
| 1322 custom_value: true, |
| 1323 }, |
| 1324 { |
| 1325 name: "right", |
| 1326 converter: "convertLengthOrAuto", |
| 1327 initial: "initialOffset", |
| 1328 interpolable: true, |
| 1329 keywords: ["auto"], |
| 1330 supports_percentage: true, |
| 1331 typedom_types: ["Length"], |
| 1332 }, |
| 1333 { |
| 1334 name: "r", |
| 1335 converter: "convertLength", |
| 1336 interpolable: true, |
| 1337 svg: true, |
| 1338 }, |
| 1339 { |
| 1340 name: "rx", |
| 1341 converter: "convertLengthOrAuto", |
| 1342 interpolable: true, |
| 1343 svg: true, |
| 1344 }, |
| 1345 { |
| 1346 name: "ry", |
| 1347 converter: "convertLengthOrAuto", |
| 1348 interpolable: true, |
| 1349 svg: true, |
| 1350 }, |
| 1351 { |
| 1352 name: "scroll-behavior", |
| 1353 runtime_flag: "CSSOMSmoothScroll", |
| 1354 type_name: "ScrollBehavior", |
| 1355 }, |
| 1356 { |
| 1357 name: "scroll-snap-type", |
| 1358 runtime_flag: "CSSScrollSnapPoints", |
| 1359 type_name: "ScrollSnapType", |
| 1360 }, |
| 1361 { |
| 1362 name: "scroll-snap-points-x", |
| 1363 converter: "convertSnapPoints", |
| 1364 runtime_flag: "CSSScrollSnapPoints", |
| 1365 }, |
| 1366 { |
| 1367 name: "scroll-snap-points-y", |
| 1368 converter: "convertSnapPoints", |
| 1369 runtime_flag: "CSSScrollSnapPoints", |
| 1370 }, |
| 1371 { |
| 1372 name: "scroll-snap-destination", |
| 1373 converter: "convertPosition", |
| 1374 runtime_flag: "CSSScrollSnapPoints", |
| 1375 }, |
| 1376 { |
| 1377 name: "scroll-snap-coordinate", |
| 1378 api_class: true, |
| 1379 converter: "convertSnapCoordinates", |
| 1380 runtime_flag: "CSSScrollSnapPoints", |
| 1381 }, |
| 1382 { |
| 1383 name: "shape-image-threshold", |
| 1384 interpolable: true, |
| 1385 type_name: "float", |
| 1386 }, |
| 1387 { |
| 1388 name: "shape-margin", |
| 1389 converter: "convertLength", |
| 1390 interpolable: true, |
| 1391 }, |
| 1392 { |
| 1393 name: "shape-outside", |
| 1394 converter: "convertShapeValue", |
| 1395 interpolable: true, |
| 1396 typedom_types: ["Image"], |
| 1397 }, |
| 1398 { |
| 1399 name: "shape-rendering", |
| 1400 inherited: true, |
| 1401 svg: true, |
| 1402 }, |
| 1403 { |
| 1404 name: "size", |
| 1405 api_class: true, |
| 1406 custom_all: true, |
| 1407 }, |
| 1408 { |
| 1409 name: "snap-height", |
| 1410 custom_all: true, |
| 1411 inherited: true, |
| 1412 runtime_flag: "CSSSnapSize", |
| 1413 }, |
| 1414 { |
| 1415 name: "speak", |
| 1416 inherited: true, |
| 1417 }, |
| 1418 { |
| 1419 name: "stop-color", |
| 1420 converter: "convertColor", |
| 1421 interpolable: true, |
| 1422 svg: true, |
| 1423 }, |
| 1424 { |
| 1425 name: "stop-opacity", |
| 1426 converter: "convertNumberOrPercentage", |
| 1427 interpolable: true, |
| 1428 svg: true, |
| 1429 }, |
| 1430 { |
| 1431 name: "stroke", |
| 1432 custom_all: true, |
| 1433 inherited: true, |
| 1434 interpolable: true, |
| 1435 setter: "setStrokePaint", |
| 1436 svg: true, |
| 1437 }, |
| 1438 { |
| 1439 name: "stroke-dasharray", |
| 1440 converter: "convertStrokeDasharray", |
| 1441 inherited: true, |
| 1442 interpolable: true, |
| 1443 name_for_methods: "StrokeDashArray", |
| 1444 svg: true, |
| 1445 }, |
| 1446 { |
| 1447 name: "stroke-dashoffset", |
| 1448 converter: "convertLength", |
| 1449 inherited: true, |
| 1450 interpolable: true, |
| 1451 name_for_methods: "StrokeDashOffset", |
| 1452 svg: true, |
| 1453 }, |
| 1454 { |
| 1455 name: "stroke-linecap", |
| 1456 inherited: true, |
| 1457 name_for_methods: "CapStyle", |
| 1458 svg: true, |
| 1459 type_name: "LineCap", |
| 1460 }, |
| 1461 { |
| 1462 name: "stroke-linejoin", |
| 1463 inherited: true, |
| 1464 name_for_methods: "JoinStyle", |
| 1465 svg: true, |
| 1466 type_name: "LineJoin", |
| 1467 }, |
| 1468 { |
| 1469 name: "stroke-miterlimit", |
| 1470 inherited: true, |
| 1471 interpolable: true, |
| 1472 name_for_methods: "StrokeMiterLimit", |
| 1473 svg: true, |
| 1474 type_name: "float", |
| 1475 }, |
| 1476 { |
| 1477 name: "stroke-opacity", |
| 1478 converter: "convertNumberOrPercentage", |
| 1479 inherited: true, |
| 1480 interpolable: true, |
| 1481 svg: true, |
| 1482 }, |
| 1483 { |
| 1484 name: "stroke-width", |
| 1485 converter: "convertUnzoomedLength", |
| 1486 inherited: true, |
| 1487 interpolable: true, |
| 1488 svg: true, |
| 1489 }, |
| 1490 "table-layout", |
| 1491 { |
| 1492 name: "tab-size", |
| 1493 converter: "convertLengthOrTabSpaces", |
| 1494 inherited: true, |
| 1495 type_name: "TabSize", |
| 1496 }, |
| 1497 { |
| 1498 name: "text-align", |
| 1499 custom_value: true, |
| 1500 inherited: true, |
| 1501 initial_keyword: "start", |
| 1502 keyword_only: true, |
| 1503 keywords: [ |
| 1504 "left", "right", "center", "justify", "-webkit-left", "-webkit-right", "-w
ebkit-center", "start", "end" |
| 1505 ], |
| 1506 }, |
| 1507 { |
| 1508 name: "text-align-last", |
| 1509 inherited: true, |
| 1510 type_name: "TextAlignLast", |
| 1511 }, |
| 1512 { |
| 1513 name: "text-anchor", |
| 1514 inherited: true, |
| 1515 svg: true, |
| 1516 }, |
| 1517 { |
| 1518 name: "text-combine-upright", |
| 1519 inherited: true, |
| 1520 name_for_methods: "TextCombine", |
| 1521 type_name: "TextCombine", |
| 1522 }, |
| 1523 // FIXME: We shouldn't switch between shorthand/not shorthand based on a runti
me flag |
| 1524 { |
| 1525 name: "text-decoration", |
| 1526 longhands: "text-decoration-line;text-decoration-style;text-decoration-color
", |
| 1527 use_handlers_for: "CSSPropertyTextDecorationLine", |
| 1528 }, |
| 1529 { |
| 1530 name: "text-decoration-color", |
| 1531 api_class: true, |
| 1532 custom_all: true, |
| 1533 interpolable: true, |
| 1534 runtime_flag: "CSS3TextDecorations", |
| 1535 }, |
| 1536 { |
| 1537 name: "text-decoration-line", |
| 1538 converter: "convertFlags<TextDecoration>", |
| 1539 name_for_methods: "TextDecoration", |
| 1540 runtime_flag: "CSS3TextDecorations", |
| 1541 type_name: "TextDecoration", |
| 1542 }, |
| 1543 { |
| 1544 name: "text-decoration-skip", |
| 1545 api_class: true, |
| 1546 converter: "convertFlags<TextDecorationSkip>", |
| 1547 inherited: true, |
| 1548 runtime_flag: "CSS3TextDecorations", |
| 1549 type_name: "TextDecorationSkip", |
| 1550 }, |
| 1551 { |
| 1552 name: "text-decoration-style", |
| 1553 runtime_flag: "CSS3TextDecorations", |
| 1554 type_name: "TextDecorationStyle", |
| 1555 }, |
| 1556 { |
| 1557 name: "text-indent", |
| 1558 custom_all: true, |
| 1559 inherited: true, |
| 1560 interpolable: true, |
| 1561 }, |
| 1562 { |
| 1563 name: "text-justify", |
| 1564 inherited: true, |
| 1565 runtime_flag: "CSS3Text", |
| 1566 type_name: "TextJustify", |
| 1567 }, |
| 1568 { |
| 1569 name: "text-overflow", |
| 1570 type_name: "TextOverflow", |
| 1571 }, |
| 1572 { |
| 1573 name: "text-shadow", |
| 1574 converter: "convertShadowList", |
| 1575 inherited: true, |
| 1576 interpolable: true, |
| 1577 }, |
| 1578 { |
| 1579 name: "text-size-adjust", |
| 1580 converter: "convertTextSizeAdjust", |
| 1581 inherited: true, |
| 1582 type_name: "TextSizeAdjust", |
| 1583 }, |
| 1584 { |
| 1585 name: "text-transform", |
| 1586 independent: true, |
| 1587 inherited: true, |
| 1588 initial_keyword: "none", |
| 1589 keyword_only: true, |
| 1590 keywords: ["capitalize", "uppercase", "lowercase", "none"], |
| 1591 }, |
| 1592 { |
| 1593 name: "text-underline-position", |
| 1594 api_class: true, |
| 1595 inherited: true, |
| 1596 runtime_flag: "CSS3TextDecorations", |
| 1597 type_name: "TextUnderlinePosition", |
| 1598 }, |
| 1599 { |
| 1600 name: "top", |
| 1601 converter: "convertLengthOrAuto", |
| 1602 initial: "initialOffset", |
| 1603 interpolable: true, |
| 1604 keywords: ["auto"], |
| 1605 supports_percentage: true, |
| 1606 typedom_types: ["Length"], |
| 1607 }, |
| 1608 { |
| 1609 name: "touch-action", |
| 1610 converter: "convertFlags<TouchAction>", |
| 1611 type_name: "TouchAction", |
| 1612 }, |
| 1613 { |
| 1614 name: "transform", |
| 1615 converter: "convertTransformOperations", |
| 1616 interpolable: true, |
| 1617 keywords: ["none"], |
| 1618 typedom_types: ["Transform"], |
| 1619 }, |
| 1620 { |
| 1621 name: "transform-origin", |
| 1622 api_class: true, |
| 1623 converter: "convertTransformOrigin", |
| 1624 interpolable: true, |
| 1625 }, |
| 1626 { |
| 1627 name: "transform-style", |
| 1628 name_for_methods: "TransformStyle3D", |
| 1629 }, |
| 1630 { |
| 1631 name: "translate", |
| 1632 api_class: true, |
| 1633 converter: "convertTranslate", |
| 1634 interpolable: true, |
| 1635 runtime_flag: "CSSIndependentTransformProperties", |
| 1636 }, |
| 1637 { |
| 1638 name: "rotate", |
| 1639 api_class: true, |
| 1640 converter: "convertRotate", |
| 1641 interpolable: true, |
| 1642 runtime_flag: "CSSIndependentTransformProperties", |
| 1643 }, |
| 1644 { |
| 1645 name: "scale", |
| 1646 converter: "convertScale", |
| 1647 interpolable: true, |
| 1648 runtime_flag: "CSSIndependentTransformProperties", |
| 1649 }, |
| 1650 { |
| 1651 name: "unicode-bidi", |
| 1652 field_storage_type: "platform/text/UnicodeBidi", |
| 1653 initial_keyword: "normal", |
| 1654 keyword_only: true, |
| 1655 keywords: [ |
| 1656 "normal", "embed", "bidi-override", "isolate", "plaintext", "isolate-overr
ide" |
| 1657 ], |
| 1658 type_name: "UnicodeBidi", |
| 1659 }, |
| 1660 { |
| 1661 name: "vector-effect", |
| 1662 svg: true, |
| 1663 }, |
| 1664 { |
| 1665 name: "vertical-align", |
| 1666 custom_inherit: true, |
| 1667 custom_value: true, |
| 1668 interpolable: true, |
| 1669 }, |
| 1670 { |
| 1671 name: "visibility", |
| 1672 independent: true, |
| 1673 inherited: true, |
| 1674 initial_keyword: "visible", |
| 1675 interpolable: true, |
| 1676 keyword_only: true, |
| 1677 keywords: ["visible", "hidden", "collapse"], |
| 1678 }, |
| 1679 { |
| 1680 name: "x", |
| 1681 converter: "convertLength", |
| 1682 interpolable: true, |
| 1683 svg: true, |
| 1684 }, |
| 1685 { |
| 1686 name: "y", |
| 1687 converter: "convertLength", |
| 1688 interpolable: true, |
| 1689 svg: true, |
| 1690 }, |
| 1691 { |
| 1692 name: "-webkit-appearance", |
| 1693 type_name: "ControlPart", |
| 1694 }, |
| 1695 { |
| 1696 name: "-webkit-app-region", |
| 1697 custom_all: true, |
| 1698 }, |
| 1699 { |
| 1700 name: "-webkit-background-clip", |
| 1701 use_handlers_for: "CSSPropertyBackgroundClip", |
| 1702 }, |
| 1703 { |
| 1704 name: "-webkit-background-origin", |
| 1705 use_handlers_for: "CSSPropertyBackgroundOrigin", |
| 1706 }, |
| 1707 { |
| 1708 name: "-webkit-border-horizontal-spacing", |
| 1709 converter: "convertComputedLength<short>", |
| 1710 inherited: true, |
| 1711 interpolable: true, |
| 1712 name_for_methods: "HorizontalBorderSpacing", |
| 1713 }, |
| 1714 { |
| 1715 name: "-webkit-border-image", |
| 1716 custom_value: true, |
| 1717 initial: "initialNinePieceImage", |
| 1718 }, |
| 1719 { |
| 1720 name: "-webkit-border-vertical-spacing", |
| 1721 converter: "convertComputedLength<short>", |
| 1722 inherited: true, |
| 1723 interpolable: true, |
| 1724 name_for_methods: "VerticalBorderSpacing", |
| 1725 }, |
| 1726 { |
| 1727 name: "-webkit-box-align", |
| 1728 type_name: "EBoxAlignment", |
| 1729 }, |
| 1730 "-webkit-box-decoration-break", |
| 1731 { |
| 1732 name: "-webkit-box-direction", |
| 1733 independent: true, |
| 1734 inherited: true, |
| 1735 initial_keyword: "normal", |
| 1736 keyword_only: true, |
| 1737 keywords: ["normal", "reverse"], |
| 1738 }, |
| 1739 { |
| 1740 name: "-webkit-box-flex", |
| 1741 type_name: "float", |
| 1742 }, |
| 1743 { |
| 1744 name: "-webkit-box-flex-group", |
| 1745 type_name: "unsigned int", |
| 1746 }, |
| 1747 "-webkit-box-lines", |
| 1748 { |
| 1749 name: "-webkit-box-ordinal-group", |
| 1750 type_name: "unsigned int", |
| 1751 }, |
| 1752 "-webkit-box-orient", |
| 1753 "-webkit-box-pack", |
| 1754 { |
| 1755 name: "-webkit-box-reflect", |
| 1756 converter: "convertBoxReflect", |
| 1757 }, |
| 1758 { |
| 1759 name: "column-count", |
| 1760 custom_all: true, |
| 1761 interpolable: true, |
| 1762 type_name: "unsigned short", |
| 1763 }, |
| 1764 { |
| 1765 name: "column-gap", |
| 1766 api_class: true, |
| 1767 converter: "convertComputedLength<float>", |
| 1768 custom_all: true, |
| 1769 interpolable: true, |
| 1770 }, |
| 1771 { |
| 1772 name: "column-rule-color", |
| 1773 custom_all: true, |
| 1774 interpolable: true, |
| 1775 }, |
| 1776 { |
| 1777 name: "column-rule-style", |
| 1778 initial: "initialBorderStyle", |
| 1779 type_name: "EBorderStyle", |
| 1780 }, |
| 1781 { |
| 1782 name: "column-rule-width", |
| 1783 converter: "convertLineWidth<unsigned short>", |
| 1784 interpolable: true, |
| 1785 }, |
| 1786 { |
| 1787 name: "column-span", |
| 1788 type_name: "ColumnSpan", |
| 1789 }, |
| 1790 { |
| 1791 name: "column-width", |
| 1792 converter: "convertComputedLength<float>", |
| 1793 custom_all: true, |
| 1794 interpolable: true, |
| 1795 }, |
| 1796 { |
| 1797 name: "-webkit-highlight", |
| 1798 converter: "convertString<CSSValueNone>", |
| 1799 inherited: true, |
| 1800 }, |
| 1801 { |
| 1802 name: "-webkit-hyphenate-character", |
| 1803 converter: "convertString<CSSValueAuto>", |
| 1804 inherited: true, |
| 1805 name_for_methods: "HyphenationString", |
| 1806 }, |
| 1807 { |
| 1808 name: "-webkit-line-break", |
| 1809 inherited: true, |
| 1810 type_name: "LineBreak", |
| 1811 }, |
| 1812 { |
| 1813 name: "-webkit-line-clamp", |
| 1814 type_name: "LineClampValue", |
| 1815 }, |
| 1816 { |
| 1817 name: "-webkit-margin-after-collapse", |
| 1818 type_name: "EMarginCollapse", |
| 1819 }, |
| 1820 { |
| 1821 name: "-webkit-margin-before-collapse", |
| 1822 type_name: "EMarginCollapse", |
| 1823 }, |
| 1824 { |
| 1825 name: "-webkit-margin-bottom-collapse", |
| 1826 name_for_methods: "MarginAfterCollapse", |
| 1827 type_name: "EMarginCollapse", |
| 1828 }, |
| 1829 { |
| 1830 name: "-webkit-margin-top-collapse", |
| 1831 name_for_methods: "MarginBeforeCollapse", |
| 1832 type_name: "EMarginCollapse", |
| 1833 }, |
| 1834 { |
| 1835 name: "-webkit-mask-box-image-outset", |
| 1836 custom_all: true, |
| 1837 interpolable: true, |
| 1838 }, |
| 1839 { |
| 1840 name: "-webkit-mask-box-image-repeat", |
| 1841 custom_all: true, |
| 1842 }, |
| 1843 { |
| 1844 name: "-webkit-mask-box-image-slice", |
| 1845 custom_all: true, |
| 1846 interpolable: true, |
| 1847 }, |
| 1848 { |
| 1849 name: "-webkit-mask-box-image-source", |
| 1850 custom_value: true, |
| 1851 interpolable: true, |
| 1852 }, |
| 1853 { |
| 1854 name: "-webkit-mask-box-image-width", |
| 1855 custom_all: true, |
| 1856 interpolable: true, |
| 1857 }, |
| 1858 { |
| 1859 name: "-webkit-mask-clip", |
| 1860 custom_all: true, |
| 1861 }, |
| 1862 { |
| 1863 name: "-webkit-mask-composite", |
| 1864 custom_all: true, |
| 1865 }, |
| 1866 { |
| 1867 name: "-webkit-mask-image", |
| 1868 custom_all: true, |
| 1869 interpolable: true, |
| 1870 }, |
| 1871 { |
| 1872 name: "-webkit-mask-origin", |
| 1873 custom_all: true, |
| 1874 }, |
| 1875 { |
| 1876 name: "-webkit-mask-position-x", |
| 1877 custom_all: true, |
| 1878 interpolable: true, |
| 1879 }, |
| 1880 { |
| 1881 name: "-webkit-mask-position-y", |
| 1882 custom_all: true, |
| 1883 interpolable: true, |
| 1884 }, |
| 1885 { |
| 1886 name: "-webkit-mask-repeat-x", |
| 1887 custom_all: true, |
| 1888 }, |
| 1889 { |
| 1890 name: "-webkit-mask-repeat-y", |
| 1891 custom_all: true, |
| 1892 }, |
| 1893 { |
| 1894 name: "-webkit-mask-size", |
| 1895 custom_all: true, |
| 1896 interpolable: true, |
| 1897 }, |
| 1898 { |
| 1899 name: "-webkit-perspective-origin-x", |
| 1900 converter: "convertLength", |
| 1901 interpolable: true, |
| 1902 }, |
| 1903 { |
| 1904 name: "-webkit-perspective-origin-y", |
| 1905 converter: "convertLength", |
| 1906 interpolable: true, |
| 1907 }, |
| 1908 { |
| 1909 name: "-webkit-print-color-adjust", |
| 1910 independent: true, |
| 1911 inherited: true, |
| 1912 initial_keyword: "economy", |
| 1913 keyword_only: true, |
| 1914 keywords: ["economy", "exact"], |
| 1915 }, |
| 1916 { |
| 1917 name: "-webkit-rtl-ordering", |
| 1918 independent: true, |
| 1919 inherited: true, |
| 1920 initial: "initialRtlOrdering", |
| 1921 initial_keyword: "logical", |
| 1922 keyword_only: true, |
| 1923 keywords: ["logical", "visual"], |
| 1924 setter: "setRtlOrdering", |
| 1925 type_name: "EOrder", |
| 1926 }, |
| 1927 { |
| 1928 name: "-webkit-ruby-position", |
| 1929 inherited: true, |
| 1930 type_name: "RubyPosition", |
| 1931 }, |
| 1932 { |
| 1933 name: "-webkit-tap-highlight-color", |
| 1934 converter: "convertColor", |
| 1935 inherited: true, |
| 1936 }, |
| 1937 { |
| 1938 name: "-webkit-text-combine", |
| 1939 inherited: true, |
| 1940 name_for_methods: "TextCombine", |
| 1941 type_name: "TextCombine", |
| 1942 }, |
| 1943 { |
| 1944 name: "-webkit-text-emphasis-color", |
| 1945 custom_all: true, |
| 1946 inherited: true, |
| 1947 }, |
| 1948 { |
| 1949 name: "-webkit-text-emphasis-position", |
| 1950 inherited: true, |
| 1951 type_name: "TextEmphasisPosition", |
| 1952 }, |
| 1953 { |
| 1954 name: "-webkit-text-emphasis-style", |
| 1955 custom_all: true, |
| 1956 inherited: true, |
| 1957 }, |
| 1958 { |
| 1959 name: "-webkit-text-fill-color", |
| 1960 custom_all: true, |
| 1961 inherited: true, |
| 1962 }, |
| 1963 { |
| 1964 name: "-webkit-text-security", |
| 1965 inherited: true, |
| 1966 }, |
| 1967 { |
| 1968 name: "-webkit-text-stroke-color", |
| 1969 custom_all: true, |
| 1970 inherited: true, |
| 1971 interpolable: true, |
| 1972 }, |
| 1973 { |
| 1974 name: "-webkit-text-stroke-width", |
| 1975 converter: "convertTextStrokeWidth", |
| 1976 inherited: true, |
| 1977 }, |
| 1978 { |
| 1979 name: "-webkit-transform-origin-x", |
| 1980 converter: "convertLength", |
| 1981 interpolable: true, |
| 1982 }, |
| 1983 { |
| 1984 name: "-webkit-transform-origin-y", |
| 1985 converter: "convertLength", |
| 1986 interpolable: true, |
| 1987 }, |
| 1988 { |
| 1989 name: "-webkit-transform-origin-z", |
| 1990 api_class: true, |
| 1991 converter: "convertComputedLength<float>", |
| 1992 interpolable: true, |
| 1993 }, |
| 1994 "-webkit-user-drag", |
| 1995 { |
| 1996 name: "-webkit-user-modify", |
| 1997 inherited: true, |
| 1998 }, |
| 1999 { |
| 2000 name: "user-select", |
| 2001 inherited: true, |
| 2002 }, |
| 2003 { |
| 2004 name: "white-space", |
| 2005 independent: true, |
| 2006 inherited: true, |
| 2007 initial_keyword: "normal", |
| 2008 keyword_only: true, |
| 2009 keywords: ["normal", "pre", "pre-wrap", "pre-line", "nowrap", "-webkit-nowra
p"], |
| 2010 }, |
| 2011 { |
| 2012 name: "widows", |
| 2013 inherited: true, |
| 2014 interpolable: true, |
| 2015 type_name: "short", |
| 2016 }, |
| 2017 { |
| 2018 name: "width", |
| 2019 converter: "convertLengthSizing", |
| 2020 initial: "initialSize", |
| 2021 interpolable: true, |
| 2022 keywords: ["auto"], |
| 2023 supports_percentage: true, |
| 2024 typedom_types: ["Length"], |
| 2025 }, |
| 2026 { |
| 2027 name: "will-change", |
| 2028 api_class: true, |
| 2029 custom_all: true, |
| 2030 }, |
| 2031 { |
| 2032 name: "word-break", |
| 2033 inherited: true, |
| 2034 }, |
| 2035 { |
| 2036 name: "word-spacing", |
| 2037 converter: "convertSpacing", |
| 2038 inherited: true, |
| 2039 initial: "initialLetterWordSpacing", |
| 2040 interpolable: true, |
| 2041 }, |
| 2042 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' pro
perty. So using the same handlers. |
| 2043 { |
| 2044 name: "word-wrap", |
| 2045 inherited: true, |
| 2046 name_for_methods: "OverflowWrap", |
| 2047 }, |
| 2048 { |
| 2049 name: "z-index", |
| 2050 api_class: true, |
| 2051 custom_all: true, |
| 2052 interpolable: true, |
| 2053 type_name: "int", |
| 2054 }, |
| 2055 |
| 2056 // CSS logical props |
| 2057 { |
| 2058 name: "inline-size", |
| 2059 direction_aware: true, |
| 2060 }, |
| 2061 { |
| 2062 name: "block-size", |
| 2063 direction_aware: true, |
| 2064 }, |
| 2065 { |
| 2066 name: "min-inline-size", |
| 2067 direction_aware: true, |
| 2068 }, |
| 2069 { |
| 2070 name: "min-block-size", |
| 2071 direction_aware: true, |
| 2072 }, |
| 2073 { |
| 2074 name: "max-inline-size", |
| 2075 direction_aware: true, |
| 2076 }, |
| 2077 { |
| 2078 name: "max-block-size", |
| 2079 direction_aware: true, |
| 2080 }, |
| 2081 |
| 2082 // Non-standard direction aware properties |
| 2083 |
| 2084 { |
| 2085 name: "-webkit-border-end-color", |
| 2086 direction_aware: true, |
| 2087 }, |
| 2088 { |
| 2089 name: "-webkit-border-end-style", |
| 2090 direction_aware: true, |
| 2091 }, |
| 2092 { |
| 2093 name: "-webkit-border-end-width", |
| 2094 direction_aware: true, |
| 2095 }, |
| 2096 { |
| 2097 name: "-webkit-border-start-color", |
| 2098 direction_aware: true, |
| 2099 }, |
| 2100 { |
| 2101 name: "-webkit-border-start-style", |
| 2102 direction_aware: true, |
| 2103 }, |
| 2104 { |
| 2105 name: "-webkit-border-start-width", |
| 2106 direction_aware: true, |
| 2107 }, |
| 2108 { |
| 2109 name: "-webkit-border-before-color", |
| 2110 direction_aware: true, |
| 2111 }, |
| 2112 { |
| 2113 name: "-webkit-border-before-style", |
| 2114 direction_aware: true, |
| 2115 }, |
| 2116 { |
| 2117 name: "-webkit-border-before-width", |
| 2118 direction_aware: true, |
| 2119 }, |
| 2120 { |
| 2121 name: "-webkit-border-after-color", |
| 2122 direction_aware: true, |
| 2123 }, |
| 2124 { |
| 2125 name: "-webkit-border-after-style", |
| 2126 direction_aware: true, |
| 2127 }, |
| 2128 { |
| 2129 name: "-webkit-border-after-width", |
| 2130 direction_aware: true, |
| 2131 }, |
| 2132 { |
| 2133 name: "-webkit-margin-end", |
| 2134 direction_aware: true, |
| 2135 }, |
| 2136 { |
| 2137 name: "-webkit-margin-start", |
| 2138 direction_aware: true, |
| 2139 }, |
| 2140 { |
| 2141 name: "-webkit-margin-before", |
| 2142 direction_aware: true, |
| 2143 }, |
| 2144 { |
| 2145 name: "-webkit-margin-after", |
| 2146 direction_aware: true, |
| 2147 }, |
| 2148 { |
| 2149 name: "-webkit-padding-end", |
| 2150 api_class: "CSSPropertyAPIWebkitPadding", |
| 2151 direction_aware: true, |
| 2152 }, |
| 2153 { |
| 2154 name: "-webkit-padding-start", |
| 2155 api_class: "CSSPropertyAPIWebkitPadding", |
| 2156 direction_aware: true, |
| 2157 }, |
| 2158 { |
| 2159 name: "-webkit-padding-before", |
| 2160 api_class: "CSSPropertyAPIWebkitPadding", |
| 2161 direction_aware: true, |
| 2162 }, |
| 2163 { |
| 2164 name: "-webkit-padding-after", |
| 2165 api_class: "CSSPropertyAPIWebkitPadding", |
| 2166 direction_aware: true, |
| 2167 }, |
| 2168 { |
| 2169 name: "-webkit-logical-width", |
| 2170 direction_aware: true, |
| 2171 }, |
| 2172 { |
| 2173 name: "-webkit-logical-height", |
| 2174 direction_aware: true, |
| 2175 }, |
| 2176 { |
| 2177 name: "-webkit-min-logical-width", |
| 2178 direction_aware: true, |
| 2179 }, |
| 2180 { |
| 2181 name: "-webkit-min-logical-height", |
| 2182 direction_aware: true, |
| 2183 }, |
| 2184 { |
| 2185 name: "-webkit-max-logical-width", |
| 2186 direction_aware: true, |
| 2187 }, |
| 2188 { |
| 2189 name: "-webkit-max-logical-height", |
| 2190 direction_aware: true, |
| 2191 }, |
| 2192 |
| 2193 // Properties that we ignore in the StyleBuilder. |
| 2194 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBuil
der |
| 2195 |
| 2196 { |
| 2197 name: "all", |
| 2198 builder_skip: true, |
| 2199 }, |
| 2200 { |
| 2201 name: "page", |
| 2202 api_class: true, |
| 2203 builder_skip: true, |
| 2204 }, |
| 2205 { |
| 2206 name: "-webkit-font-size-delta", |
| 2207 builder_skip: true, |
| 2208 }, |
| 2209 { |
| 2210 name: "-webkit-text-decorations-in-effect", |
| 2211 builder_skip: true, |
| 2212 inherited: true, |
| 2213 }, |
| 2214 |
| 2215 // Descriptors |
| 2216 |
| 2217 { |
| 2218 name: "font-display", |
| 2219 descriptor_only: true, |
| 2220 runtime_flag: "CSSFontDisplay", |
| 2221 }, |
| 2222 { |
| 2223 name: "max-zoom", |
| 2224 descriptor_only: true, |
| 2225 }, |
| 2226 { |
| 2227 name: "min-zoom", |
| 2228 descriptor_only: true, |
| 2229 }, |
| 2230 { |
| 2231 name: "orientation", |
| 2232 descriptor_only: true, |
| 2233 }, |
| 2234 { |
| 2235 name: "src", |
| 2236 descriptor_only: true, |
| 2237 }, |
| 2238 { |
| 2239 name: "unicode-range", |
| 2240 descriptor_only: true, |
| 2241 }, |
| 2242 { |
| 2243 name: "user-zoom", |
| 2244 descriptor_only: true, |
| 2245 }, |
| 2246 |
| 2247 // Shorthands |
| 2248 |
| 2249 { |
| 2250 name: "animation", |
| 2251 longhands: "animation-name;animation-duration;animation-timing-function;anim
ation-delay;animation-iteration-count;animation-direction;animation-fill-mode;an
imation-play-state", |
| 2252 }, |
| 2253 { |
| 2254 name: "background", |
| 2255 longhands: "background-image;background-position-x;background-position-y;bac
kground-size;background-repeat-x;background-repeat-y;background-attachment;backg
round-origin;background-clip;background-color", |
| 2256 }, |
| 2257 { |
| 2258 name: "background-position", |
| 2259 longhands: "background-position-x;background-position-y", |
| 2260 }, |
| 2261 { |
| 2262 name: "background-repeat", |
| 2263 longhands: "background-repeat-x;background-repeat-y", |
| 2264 }, |
| 2265 { |
| 2266 name: "border", |
| 2267 longhands: "border-top-color;border-top-style;border-top-width;border-right-
color;border-right-style;border-right-width;border-bottom-color;border-bottom-st
yle;border-bottom-width;border-left-color;border-left-style;border-left-width;bo
rder-image-source;border-image-slice;border-image-width;border-image-outset;bord
er-image-repeat", |
| 2268 }, |
| 2269 { |
| 2270 name: "border-bottom", |
| 2271 longhands: "border-bottom-width;border-bottom-style;border-bottom-color", |
| 2272 }, |
| 2273 { |
| 2274 name: "border-color", |
| 2275 longhands: "border-top-color;border-right-color;border-bottom-color;border-l
eft-color", |
| 2276 }, |
| 2277 { |
| 2278 name: "border-image", |
| 2279 longhands: "border-image-source;border-image-slice;border-image-width;border
-image-outset;border-image-repeat", |
| 2280 }, |
| 2281 { |
| 2282 name: "border-left", |
| 2283 longhands: "border-left-width;border-left-style;border-left-color", |
| 2284 }, |
| 2285 { |
| 2286 name: "border-radius", |
| 2287 longhands: "border-top-left-radius;border-top-right-radius;border-bottom-rig
ht-radius;border-bottom-left-radius", |
| 2288 }, |
| 2289 { |
| 2290 name: "border-right", |
| 2291 longhands: "border-right-width;border-right-style;border-right-color", |
| 2292 }, |
| 2293 { |
| 2294 name: "border-spacing", |
| 2295 longhands: "-webkit-border-horizontal-spacing;-webkit-border-vertical-spacin
g", |
| 2296 }, |
| 2297 { |
| 2298 name: "border-style", |
| 2299 longhands: "border-top-style;border-right-style;border-bottom-style;border-l
eft-style", |
| 2300 }, |
| 2301 { |
| 2302 name: "border-top", |
| 2303 longhands: "border-top-width;border-top-style;border-top-color", |
| 2304 }, |
| 2305 { |
| 2306 name: "border-width", |
| 2307 longhands: "border-top-width;border-right-width;border-bottom-width;border-l
eft-width", |
| 2308 }, |
| 2309 { |
| 2310 name: "flex", |
| 2311 longhands: "flex-grow;flex-shrink;flex-basis", |
| 2312 }, |
| 2313 { |
| 2314 name: "flex-flow", |
| 2315 longhands: "flex-direction;flex-wrap", |
| 2316 }, |
| 2317 { |
| 2318 name: "font", |
| 2319 longhands: "font-style;font-variant-ligatures;font-variant-caps;font-variant
-numeric;font-weight;font-stretch;font-size;line-height;font-family", |
| 2320 }, |
| 2321 { |
| 2322 name: "font-variant", |
| 2323 longhands: "font-variant-ligatures;font-variant-caps;font-variant-numeric", |
| 2324 }, |
| 2325 { |
| 2326 name: "grid", |
| 2327 longhands: "grid-template-rows;grid-template-columns;grid-template-areas;gri
d-auto-flow;grid-auto-rows;grid-auto-columns;grid-column-gap;grid-row-gap", |
| 2328 runtime_flag: "CSSGridLayout", |
| 2329 }, |
| 2330 { |
| 2331 name: "grid-area", |
| 2332 longhands: "grid-row-start;grid-column-start;grid-row-end;grid-column-end", |
| 2333 runtime_flag: "CSSGridLayout", |
| 2334 }, |
| 2335 { |
| 2336 name: "grid-column", |
| 2337 longhands: "grid-column-start;grid-column-end", |
| 2338 runtime_flag: "CSSGridLayout", |
| 2339 }, |
| 2340 { |
| 2341 name: "grid-gap", |
| 2342 longhands: "grid-row-gap;grid-column-gap", |
| 2343 runtime_flag: "CSSGridLayout", |
| 2344 }, |
| 2345 { |
| 2346 name: "grid-row", |
| 2347 longhands: "grid-row-start;grid-row-end", |
| 2348 runtime_flag: "CSSGridLayout", |
| 2349 }, |
| 2350 { |
| 2351 name: "grid-template", |
| 2352 longhands: "grid-template-rows;grid-template-columns;grid-template-areas", |
| 2353 runtime_flag: "CSSGridLayout", |
| 2354 }, |
| 2355 { |
| 2356 name: "list-style", |
| 2357 longhands: "list-style-type;list-style-position;list-style-image", |
| 2358 }, |
| 2359 { |
| 2360 name: "margin", |
| 2361 longhands: "margin-top;margin-right;margin-bottom;margin-left", |
| 2362 }, |
| 2363 { |
| 2364 name: "marker", |
| 2365 longhands: "marker-start;marker-mid;marker-end", |
| 2366 }, |
| 2367 { |
| 2368 name: "motion", |
| 2369 longhands: "offset-path;offset-distance;offset-rotation", |
| 2370 }, |
| 2371 { |
| 2372 name: "offset", |
| 2373 longhands: "offset-path;offset-distance;offset-rotation", |
| 2374 }, |
| 2375 { |
| 2376 name: "outline", |
| 2377 longhands: "outline-color;outline-style;outline-width", |
| 2378 }, |
| 2379 { |
| 2380 name: "overflow", |
| 2381 longhands: "overflow-x;overflow-y", |
| 2382 }, |
| 2383 { |
| 2384 name: "padding", |
| 2385 longhands: "padding-top;padding-right;padding-bottom;padding-left", |
| 2386 }, |
| 2387 { |
| 2388 name: "page-break-after", |
| 2389 longhands: "break-after", |
| 2390 }, |
| 2391 { |
| 2392 name: "page-break-before", |
| 2393 longhands: "break-before", |
| 2394 }, |
| 2395 { |
| 2396 name: "page-break-inside", |
| 2397 longhands: "break-inside", |
| 2398 }, |
| 2399 { |
| 2400 name: "transition", |
| 2401 longhands: "transition-property;transition-duration;transition-timing-functi
on;transition-delay", |
| 2402 }, |
| 2403 { |
| 2404 name: "-webkit-border-after", |
| 2405 longhands: "-webkit-border-after-width;-webkit-border-after-style;-webkit-bo
rder-after-color", |
| 2406 }, |
| 2407 { |
| 2408 name: "-webkit-border-before", |
| 2409 longhands: "-webkit-border-before-width;-webkit-border-before-style;-webkit-
border-before-color", |
| 2410 }, |
| 2411 { |
| 2412 name: "-webkit-border-end", |
| 2413 longhands: "-webkit-border-end-width;-webkit-border-end-style;-webkit-border
-end-color", |
| 2414 }, |
| 2415 { |
| 2416 name: "-webkit-border-start", |
| 2417 longhands: "-webkit-border-start-width;-webkit-border-start-style;-webkit-bo
rder-start-color", |
| 2418 }, |
| 2419 { |
| 2420 name: "-webkit-column-break-after", |
| 2421 longhands: "break-after", |
| 2422 }, |
| 2423 { |
| 2424 name: "-webkit-column-break-before", |
| 2425 longhands: "break-before", |
| 2426 }, |
| 2427 { |
| 2428 name: "-webkit-column-break-inside", |
| 2429 longhands: "break-inside", |
| 2430 }, |
| 2431 { |
| 2432 name: "column-rule", |
| 2433 longhands: "column-rule-width;column-rule-style;column-rule-color", |
| 2434 }, |
| 2435 { |
| 2436 name: "columns", |
| 2437 longhands: "column-width;column-count", |
| 2438 }, |
| 2439 { |
| 2440 name: "-webkit-margin-collapse", |
| 2441 longhands: "-webkit-margin-before-collapse;-webkit-margin-after-collapse", |
| 2442 }, |
| 2443 { |
| 2444 name: "-webkit-mask", |
| 2445 longhands: "-webkit-mask-image;-webkit-mask-position-x;-webkit-mask-position
-y;-webkit-mask-size;-webkit-mask-repeat-x;-webkit-mask-repeat-y;-webkit-mask-or
igin;-webkit-mask-clip", |
| 2446 }, |
| 2447 { |
| 2448 name: "-webkit-mask-box-image", |
| 2449 longhands: "-webkit-mask-box-image-source;-webkit-mask-box-image-slice;-webk
it-mask-box-image-width;-webkit-mask-box-image-outset;-webkit-mask-box-image-rep
eat", |
| 2450 }, |
| 2451 { |
| 2452 name: "-webkit-mask-position", |
| 2453 longhands: "-webkit-mask-position-x;-webkit-mask-position-y", |
| 2454 }, |
| 2455 { |
| 2456 name: "-webkit-mask-repeat", |
| 2457 longhands: "-webkit-mask-repeat-x;-webkit-mask-repeat-y", |
| 2458 }, |
| 2459 { |
| 2460 name: "-webkit-text-emphasis", |
| 2461 longhands: "-webkit-text-emphasis-style;-webkit-text-emphasis-color", |
| 2462 }, |
| 2463 { |
| 2464 name: "-webkit-text-stroke", |
| 2465 longhands: "-webkit-text-stroke-width;-webkit-text-stroke-color", |
| 2466 }, |
| 2467 |
| 2468 // Aliases; these map to the same CSSPropertyID |
| 2469 |
| 2470 { |
| 2471 name: "-epub-caption-side", |
| 2472 alias_for: "caption-side", |
| 2473 }, |
| 2474 { |
| 2475 name: "-epub-text-combine", |
| 2476 alias_for: "-webkit-text-combine", |
| 2477 }, |
| 2478 { |
| 2479 name: "-epub-text-emphasis", |
| 2480 alias_for: "-webkit-text-emphasis", |
| 2481 }, |
| 2482 { |
| 2483 name: "-epub-text-emphasis-color", |
| 2484 alias_for: "-webkit-text-emphasis-color", |
| 2485 }, |
| 2486 { |
| 2487 name: "-epub-text-emphasis-style", |
| 2488 alias_for: "-webkit-text-emphasis-style", |
| 2489 }, |
| 2490 { |
| 2491 name: "-epub-text-orientation", |
| 2492 alias_for: "-webkit-text-orientation", |
| 2493 }, |
| 2494 { |
| 2495 name: "-epub-text-transform", |
| 2496 alias_for: "text-transform", |
| 2497 }, |
| 2498 { |
| 2499 name: "-epub-word-break", |
| 2500 alias_for: "word-break", |
| 2501 }, |
| 2502 { |
| 2503 name: "-epub-writing-mode", |
| 2504 alias_for: "-webkit-writing-mode", |
| 2505 }, |
| 2506 { |
| 2507 name: "-webkit-align-content", |
| 2508 alias_for: "align-content", |
| 2509 }, |
| 2510 { |
| 2511 name: "-webkit-align-items", |
| 2512 alias_for: "align-items", |
| 2513 }, |
| 2514 { |
| 2515 name: "-webkit-align-self", |
| 2516 alias_for: "align-self", |
| 2517 }, |
| 2518 { |
| 2519 name: "-webkit-animation", |
| 2520 alias_for: "animation", |
| 2521 }, |
| 2522 { |
| 2523 name: "-webkit-animation-delay", |
| 2524 alias_for: "animation-delay", |
| 2525 }, |
| 2526 { |
| 2527 name: "-webkit-animation-direction", |
| 2528 alias_for: "animation-direction", |
| 2529 }, |
| 2530 { |
| 2531 name: "-webkit-animation-duration", |
| 2532 alias_for: "animation-duration", |
| 2533 }, |
| 2534 { |
| 2535 name: "-webkit-animation-fill-mode", |
| 2536 alias_for: "animation-fill-mode", |
| 2537 }, |
| 2538 { |
| 2539 name: "-webkit-animation-iteration-count", |
| 2540 alias_for: "animation-iteration-count", |
| 2541 }, |
| 2542 { |
| 2543 name: "-webkit-animation-name", |
| 2544 alias_for: "animation-name", |
| 2545 }, |
| 2546 { |
| 2547 name: "-webkit-animation-play-state", |
| 2548 alias_for: "animation-play-state", |
| 2549 }, |
| 2550 { |
| 2551 name: "-webkit-animation-timing-function", |
| 2552 alias_for: "animation-timing-function", |
| 2553 }, |
| 2554 { |
| 2555 name: "-webkit-backface-visibility", |
| 2556 alias_for: "backface-visibility", |
| 2557 }, |
| 2558 // "-webkit-background-size: 10px" behaves as "background-size: 10px 10px" |
| 2559 { |
| 2560 name: "-webkit-background-size", |
| 2561 alias_for: "background-size", |
| 2562 }, |
| 2563 { |
| 2564 name: "-webkit-border-bottom-left-radius", |
| 2565 alias_for: "border-bottom-left-radius", |
| 2566 }, |
| 2567 { |
| 2568 name: "-webkit-border-bottom-right-radius", |
| 2569 alias_for: "border-bottom-right-radius", |
| 2570 }, |
| 2571 // "-webkit-border-radius: 1px 2px" behaves as "border-radius: 1px / 2px" |
| 2572 { |
| 2573 name: "-webkit-border-radius", |
| 2574 alias_for: "border-radius", |
| 2575 }, |
| 2576 { |
| 2577 name: "-webkit-border-top-left-radius", |
| 2578 alias_for: "border-top-left-radius", |
| 2579 }, |
| 2580 { |
| 2581 name: "-webkit-border-top-right-radius", |
| 2582 alias_for: "border-top-right-radius", |
| 2583 }, |
| 2584 { |
| 2585 name: "-webkit-box-shadow", |
| 2586 alias_for: "box-shadow", |
| 2587 }, |
| 2588 { |
| 2589 name: "-webkit-box-sizing", |
| 2590 alias_for: "box-sizing", |
| 2591 }, |
| 2592 { |
| 2593 name: "-webkit-clip-path", |
| 2594 alias_for: "clip-path", |
| 2595 }, |
| 2596 { |
| 2597 name: "-webkit-column-count", |
| 2598 alias_for: "column-count", |
| 2599 }, |
| 2600 { |
| 2601 name: "-webkit-column-gap", |
| 2602 alias_for: "column-gap", |
| 2603 }, |
| 2604 { |
| 2605 name: "-webkit-column-rule", |
| 2606 alias_for: "column-rule", |
| 2607 }, |
| 2608 { |
| 2609 name: "-webkit-column-rule-color", |
| 2610 alias_for: "column-rule-color", |
| 2611 }, |
| 2612 { |
| 2613 name: "-webkit-column-rule-style", |
| 2614 alias_for: "column-rule-style", |
| 2615 }, |
| 2616 { |
| 2617 name: "-webkit-column-rule-width", |
| 2618 alias_for: "column-rule-width", |
| 2619 }, |
| 2620 { |
| 2621 name: "-webkit-column-span", |
| 2622 alias_for: "column-span", |
| 2623 }, |
| 2624 { |
| 2625 name: "-webkit-column-width", |
| 2626 alias_for: "column-width", |
| 2627 }, |
| 2628 { |
| 2629 name: "-webkit-columns", |
| 2630 alias_for: "columns", |
| 2631 }, |
| 2632 { |
| 2633 name: "-webkit-filter", |
| 2634 alias_for: "filter", |
| 2635 }, |
| 2636 { |
| 2637 name: "-webkit-flex", |
| 2638 alias_for: "flex", |
| 2639 }, |
| 2640 { |
| 2641 name: "-webkit-flex-basis", |
| 2642 alias_for: "flex-basis", |
| 2643 }, |
| 2644 { |
| 2645 name: "-webkit-flex-direction", |
| 2646 alias_for: "flex-direction", |
| 2647 }, |
| 2648 { |
| 2649 name: "-webkit-flex-flow", |
| 2650 alias_for: "flex-flow", |
| 2651 }, |
| 2652 { |
| 2653 name: "-webkit-flex-grow", |
| 2654 alias_for: "flex-grow", |
| 2655 }, |
| 2656 { |
| 2657 name: "-webkit-flex-shrink", |
| 2658 alias_for: "flex-shrink", |
| 2659 }, |
| 2660 { |
| 2661 name: "-webkit-flex-wrap", |
| 2662 alias_for: "flex-wrap", |
| 2663 }, |
| 2664 { |
| 2665 name: "-webkit-font-feature-settings", |
| 2666 alias_for: "font-feature-settings", |
| 2667 }, |
| 2668 { |
| 2669 name: "-webkit-justify-content", |
| 2670 alias_for: "justify-content", |
| 2671 }, |
| 2672 { |
| 2673 name: "-webkit-opacity", |
| 2674 alias_for: "opacity", |
| 2675 }, |
| 2676 { |
| 2677 name: "-webkit-order", |
| 2678 alias_for: "order", |
| 2679 }, |
| 2680 { |
| 2681 name: "-webkit-perspective", |
| 2682 alias_for: "perspective", |
| 2683 }, |
| 2684 { |
| 2685 name: "-webkit-perspective-origin", |
| 2686 alias_for: "perspective-origin", |
| 2687 }, |
| 2688 { |
| 2689 name: "-webkit-shape-image-threshold", |
| 2690 alias_for: "shape-image-threshold", |
| 2691 }, |
| 2692 { |
| 2693 name: "-webkit-shape-margin", |
| 2694 alias_for: "shape-margin", |
| 2695 }, |
| 2696 { |
| 2697 name: "-webkit-shape-outside", |
| 2698 alias_for: "shape-outside", |
| 2699 }, |
| 2700 { |
| 2701 name: "-webkit-text-size-adjust", |
| 2702 alias_for: "text-size-adjust", |
| 2703 }, |
| 2704 { |
| 2705 name: "-webkit-transform", |
| 2706 alias_for: "transform", |
| 2707 }, |
| 2708 { |
| 2709 name: "-webkit-transform-origin", |
| 2710 alias_for: "transform-origin", |
| 2711 }, |
| 2712 { |
| 2713 name: "-webkit-transform-style", |
| 2714 alias_for: "transform-style", |
| 2715 }, |
| 2716 { |
| 2717 name: "-webkit-transition", |
| 2718 alias_for: "transition", |
| 2719 }, |
| 2720 { |
| 2721 name: "-webkit-transition-delay", |
| 2722 alias_for: "transition-delay", |
| 2723 }, |
| 2724 { |
| 2725 name: "-webkit-transition-duration", |
| 2726 alias_for: "transition-duration", |
| 2727 }, |
| 2728 { |
| 2729 name: "-webkit-transition-property", |
| 2730 alias_for: "transition-property", |
| 2731 }, |
| 2732 { |
| 2733 name: "-webkit-transition-timing-function", |
| 2734 alias_for: "transition-timing-function", |
| 2735 }, |
| 2736 { |
| 2737 name: "-webkit-user-select", |
| 2738 alias_for: "user-select", |
| 2739 }, |
| 2740 ] |
| 2741 } |
| OLD | NEW |