 Chromium Code Reviews
 Chromium Code Reviews Issue 410953002:
  Merge CSSProperties.in and CSSShorthands.in  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@infiles
    
  
    Issue 410953002:
  Merge CSSProperties.in and CSSShorthands.in  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@infiles| OLD | NEW | 
|---|---|
| 1 // FIXME: When we have all the properties using the new StyleBuilder, we | 1 // This file specifies all the CSS properties we support and the necessary | 
| 2 // should use this for make_css_property_names.py | 2 // information for our code generation. The various supported arguments | 
| 3 // Note that type_name is currently only used for non-custom value application | 3 // are described below with example usage | 
| 4 // and when explicitly referred to in generated applicators. | 4 | 
| 5 // Note: Mandatory blank line to skip parameter parsing phase | 5 | 
| 6 // - longhands=property;other-property | |
| 7 // The property is a shorthand for several other properties. | |
| 8 | |
| 9 | |
| 10 // The remaining properties are used for the StyleBuilder and allow us to | |
| 
alancutter (OOO until 2018)
2014/07/28 01:09:09
s/properties/arguments/ otherwise it gets confusin
 
Timothy Loh
2014/07/28 02:54:19
As per in person discussion, sb_ removed from ever
 | |
| 11 // succinctly describe how to apply properties. When default handlers are not | |
| 12 // sufficient, we should prefer to use sb_converter, and failing that defining | |
| 
apavlov
2014/07/25 12:13:23
Sorry if I'm wrong, but it looks like "defining" s
 
Timothy Loh
2014/07/28 02:54:19
Done.
 | |
| 13 // custom property handlers in StyleBuilderCustom.cpp. We only should use | |
| 14 // StyleBuilderFunctions.cpp.tmpl to define handlers when there are multiple | |
| 15 // properties requiring the same handling, but sb_converter doesn't suffice. | |
| 16 | |
| 17 // - font | |
| 18 // The default property handlers call into the FontBuilder instead of setting | |
| 19 // values directly onto the RenderStyle | |
| 20 // - svg | |
| 21 // The default property handlers access the SVGRenderStyle | |
| 22 | |
| 23 // - name_for_methods=BorderWidth | |
| 
apavlov
2014/07/25 12:13:23
It would be a lot easier to understand the implica
 
Timothy Loh
2014/07/28 02:54:19
I wanted the examples below to use actual properti
 | |
| 24 // Tweaks how we choose defaults for getter, setter, initial and type_name. | |
| 25 // For example, setting this to FooBar will make us choose a setter of setFooBar | |
| 26 // - initial | |
| 27 // The initial value accessor on the RenderStyle, defaults to e.g. initialBoxSha dow | |
| 28 // - getter | |
| 29 // The RenderStyle getter, defaults to e.g. borderBottomLeft | |
| 30 // - setter | |
| 31 // The RenderStyle setter, defaults to e.g. setBorderBottomLeft | |
| 32 // - type_name | |
| 33 // The computed type for the property. Only required for the default value | |
| 34 // application, defaults to e.g. EDisplay | |
| 35 | |
| 36 // - sb_converter=convertRadius | |
| 37 // Call the given function on StyleBuilderConverter to get a value to set | |
| 
alancutter (OOO until 2018)
2014/07/28 01:09:09
"Specify a function on StyleBuilderConverter to be
 
Timothy Loh
2014/07/28 02:54:19
Rewrote this comment, have a look.
 | |
| 38 | |
| 39 // - sb_custom_initial | |
| 40 // - sb_custom_inherit | |
| 41 // - sb_custom_value | |
| 42 // - sb_custom_all | |
| 43 // Handlers of the given types will be declared but not defined. Setting | |
| 44 // sb_custom_all is equivalent to setting the other three flags | |
| 45 | |
| 46 // - sb_skip | |
| 47 // Ignore this property in the StyleBuilder | |
| 48 | |
| 49 | |
| 50 // Properties with StyleBuilder handling | |
| 51 | |
| 52 // Super High Priority properties impact the non-standard direction aware proper ties | |
| 53 direction sb_custom_value | |
| 54 -webkit-writing-mode sb_custom_value | |
| 55 | |
| 56 // High Priority. Other properties can depend upon these (e.g. font-size / ems) | |
| 57 color sb_custom_all | |
| 58 // FIXME: This is a mess due to crbug.com/353932. Shorthands shouldn't have | |
| 59 // any StyleBuilder handling! | |
| 60 font sb_custom_all, longhands=font-family;font-size;font-style;font-variant;font -weight;line-height | |
| 61 font-family sb_custom_all | |
| 62 font-kerning font, type_name=FontDescription::Kerning, name_for_methods=Kerning | |
| 63 font-size sb_custom_all | |
| 64 font-style font, type_name=FontStyle, name_for_methods=Style | |
| 65 font-variant font, type_name=FontVariant, name_for_methods=Variant | |
| 66 font-variant-ligatures sb_custom_all | |
| 67 font-weight sb_custom_all | |
| 68 -webkit-font-feature-settings sb_custom_all | |
| 69 -webkit-font-smoothing font, type_name=FontSmoothingMode | |
| 70 -webkit-locale sb_custom_value | |
| 71 -webkit-text-orientation sb_custom_value | |
| 72 text-rendering font, type_name=TextRenderingMode | |
| 73 zoom sb_custom_all | |
| 74 | |
| 75 // These set the same RenderStyle values as other non-prefixed properties, | |
| 76 // we should use those if they are specified. | |
| 77 -webkit-border-image initial=initialNinePieceImage, sb_custom_value | |
| 78 -webkit-transform-origin-x sb_converter=convertLength | |
| 79 -webkit-transform-origin-y sb_converter=convertLength | |
| 80 -webkit-transform-origin-z sb_converter=convertComputedLength<float> | |
| 6 | 81 | 
| 7 align-content | 82 align-content | 
| 8 align-items custom_all | 83 align-items sb_custom_all | 
| 9 align-self custom_all | 84 alignment-baseline svg | 
| 10 background-attachment custom_all | 85 align-self sb_custom_all | 
| 11 background-blend-mode custom_all | 86 backface-visibility | 
| 12 background-clip custom_all | 87 background-attachment sb_custom_all | 
| 13 background-color custom_all | 88 background-blend-mode sb_custom_all | 
| 14 background-image custom_all | 89 background-clip sb_custom_all | 
| 15 background-origin custom_all | 90 background-color sb_custom_all | 
| 16 background-position-x custom_all | 91 background-image sb_custom_all | 
| 17 background-position-y custom_all | 92 background-origin sb_custom_all | 
| 18 background-repeat-x custom_all | 93 background-position-x sb_custom_all | 
| 19 background-repeat-y custom_all | 94 background-position-y sb_custom_all | 
| 20 background-size custom_all | 95 background-repeat-x sb_custom_all | 
| 21 border-bottom-color custom_all | 96 background-repeat-y sb_custom_all | 
| 22 border-bottom-left-radius initial=initialBorderRadius, converter=convertRadius | 97 background-size sb_custom_all | 
| 23 border-bottom-right-radius initial=initialBorderRadius, converter=convertRadius | 98 baseline-shift svg, sb_custom_inherit, sb_custom_value | 
| 99 border-bottom-color sb_custom_all | |
| 100 border-bottom-left-radius initial=initialBorderRadius, sb_converter=convertRadiu s | |
| 101 border-bottom-right-radius initial=initialBorderRadius, sb_converter=convertRadi us | |
| 24 border-bottom-style type_name=EBorderStyle, initial=initialBorderStyle | 102 border-bottom-style type_name=EBorderStyle, initial=initialBorderStyle | 
| 25 border-bottom-width initial=initialBorderWidth, converter=convertLineWidth<unsig ned> | 103 border-bottom-width initial=initialBorderWidth, sb_converter=convertLineWidth<un signed> | 
| 26 border-collapse | 104 border-collapse | 
| 27 border-image-outset custom_all | 105 border-image-outset sb_custom_all | 
| 28 border-image-repeat custom_all | 106 border-image-repeat sb_custom_all | 
| 29 border-image-slice custom_all | 107 border-image-slice sb_custom_all | 
| 30 border-image-source custom_value | 108 border-image-source sb_custom_value | 
| 31 border-image-width custom_all | 109 border-image-width sb_custom_all | 
| 32 border-left-color custom_all | 110 border-left-color sb_custom_all | 
| 33 border-left-style type_name=EBorderStyle, initial=initialBorderStyle | 111 border-left-style type_name=EBorderStyle, initial=initialBorderStyle | 
| 34 border-left-width initial=initialBorderWidth, converter=convertLineWidth<unsigne d> | 112 border-left-width initial=initialBorderWidth, sb_converter=convertLineWidth<unsi gned> | 
| 35 border-right-color custom_all | 113 border-right-color sb_custom_all | 
| 36 border-right-style type_name=EBorderStyle, initial=initialBorderStyle | 114 border-right-style type_name=EBorderStyle, initial=initialBorderStyle | 
| 37 border-right-width initial=initialBorderWidth, converter=convertLineWidth<unsign ed> | 115 border-right-width initial=initialBorderWidth, sb_converter=convertLineWidth<uns igned> | 
| 38 border-top-color custom_all | 116 border-top-color sb_custom_all | 
| 39 border-top-left-radius initial=initialBorderRadius, converter=convertRadius | 117 border-top-left-radius initial=initialBorderRadius, sb_converter=convertRadius | 
| 40 border-top-right-radius initial=initialBorderRadius, converter=convertRadius | 118 border-top-right-radius initial=initialBorderRadius, sb_converter=convertRadius | 
| 41 border-top-style type_name=EBorderStyle, initial=initialBorderStyle | 119 border-top-style type_name=EBorderStyle, initial=initialBorderStyle | 
| 42 border-top-width initial=initialBorderWidth, converter=convertLineWidth<unsigned > | 120 border-top-width initial=initialBorderWidth, sb_converter=convertLineWidth<unsig ned> | 
| 43 bottom initial=initialOffset, converter=convertLengthOrAuto | 121 bottom initial=initialOffset, sb_converter=convertLengthOrAuto | 
| 44 box-shadow converter=convertShadow | 122 box-shadow sb_converter=convertShadow | 
| 45 box-sizing | 123 box-sizing | 
| 124 buffered-rendering svg | |
| 46 caption-side | 125 caption-side | 
| 47 clear | 126 clear | 
| 48 clip custom_all | 127 clip sb_custom_all | 
| 49 color custom_all | 128 clip-path svg, name_for_methods=ClipperResource, sb_converter=convertFragmentIde ntifier | 
| 50 content custom_all | 129 clip-rule svg, type_name=WindRule | 
| 51 counter-increment custom_all | 130 color-interpolation svg | 
| 52 counter-reset custom_all | 131 color-interpolation-filters svg, type_name=EColorInterpolation | 
| 53 cursor custom_all | 132 color-rendering svg | 
| 54 direction custom_value | 133 column-fill type_name=ColumnFill | 
| 134 content sb_custom_all | |
| 135 counter-increment sb_custom_all | |
| 136 counter-reset sb_custom_all | |
| 137 cursor sb_custom_all | |
| 55 display | 138 display | 
| 139 dominant-baseline svg | |
| 56 empty-cells type_name=EEmptyCell | 140 empty-cells type_name=EEmptyCell | 
| 57 flex-basis converter=convertLengthOrAuto | 141 fill svg, setter=setFillPaint, sb_custom_all | 
| 142 fill-opacity svg, sb_converter=convertNumberOrPercentage | |
| 143 fill-rule svg, type_name=WindRule | |
| 144 filter svg, name_for_methods=FilterResource, sb_converter=convertFragmentIdentif ier | |
| 145 flex-basis sb_converter=convertLengthOrAuto | |
| 58 flex-direction | 146 flex-direction | 
| 59 flex-grow type_name=float | 147 flex-grow type_name=float | 
| 60 flex-shrink type_name=float | 148 flex-shrink type_name=float | 
| 61 flex-wrap | 149 flex-wrap | 
| 62 float type_name=EFloat, name_for_methods=Floating | 150 float type_name=EFloat, name_for_methods=Floating | 
| 63 font custom_all | 151 flood-color svg, sb_converter=convertSVGColor | 
| 64 font-family custom_all | 152 flood-opacity svg, sb_converter=convertNumberOrPercentage | 
| 65 font-kerning font, type_name=FontDescription::Kerning, name_for_methods=Kerning | 153 glyph-orientation-horizontal svg, sb_converter=convertGlyphOrientation | 
| 66 font-size custom_all | 154 glyph-orientation-vertical svg, sb_custom_value | 
| 67 font-style font, type_name=FontStyle, name_for_methods=Style | 155 grid-auto-columns sb_converter=convertGridTrackSize | 
| 68 font-variant font, type_name=FontVariant, name_for_methods=Variant | 156 grid-auto-flow sb_custom_value | 
| 69 font-variant-ligatures custom_all | 157 grid-auto-rows sb_converter=convertGridTrackSize | 
| 70 font-weight custom_all | 158 grid-column-end sb_converter=convertGridPosition | 
| 71 grid-auto-flow custom_value | 159 grid-column-start sb_converter=convertGridPosition | 
| 72 grid-auto-columns converter=convertGridTrackSize | 160 grid-row-end sb_converter=convertGridPosition | 
| 73 grid-auto-rows converter=convertGridTrackSize | 161 grid-row-start sb_converter=convertGridPosition | 
| 74 grid-column-start converter=convertGridPosition | 162 grid-template-areas sb_custom_all | 
| 75 grid-column-end converter=convertGridPosition | 163 grid-template-columns sb_custom_all | 
| 76 grid-row-start converter=convertGridPosition | 164 grid-template-rows sb_custom_all | 
| 77 grid-row-end converter=convertGridPosition | 165 height initial=initialSize, sb_converter=convertLengthSizing | 
| 78 grid-template-columns custom_all | |
| 79 grid-template-rows custom_all | |
| 80 grid-template-areas custom_all | |
| 81 height initial=initialSize, converter=convertLengthSizing | |
| 82 justify-content | |
| 83 image-rendering | 166 image-rendering | 
| 84 isolation | 167 isolation | 
| 85 justify-items custom_all | 168 justify-content | 
| 86 justify-self custom_all | 169 justify-items sb_custom_all | 
| 87 left initial=initialOffset, converter=convertLengthOrAuto | 170 justify-self sb_custom_all | 
| 88 letter-spacing initial=initialLetterWordSpacing, converter=convertSpacing | 171 left initial=initialOffset, sb_converter=convertLengthOrAuto | 
| 89 line-height getter=specifiedLineHeight, custom_value | 172 letter-spacing initial=initialLetterWordSpacing, sb_converter=convertSpacing | 
| 90 list-style-image custom_value | 173 lighting-color svg, sb_converter=convertSVGColor | 
| 174 line-height getter=specifiedLineHeight, sb_custom_value | |
| 175 list-style-image sb_custom_value | |
| 91 list-style-position | 176 list-style-position | 
| 92 list-style-type | 177 list-style-type | 
| 93 margin-bottom initial=initialMargin, converter=convertLengthOrAuto | 178 margin-bottom initial=initialMargin, sb_converter=convertLengthOrAuto | 
| 94 margin-left initial=initialMargin, converter=convertLengthOrAuto | 179 margin-left initial=initialMargin, sb_converter=convertLengthOrAuto | 
| 95 margin-right initial=initialMargin, converter=convertLengthOrAuto | 180 margin-right initial=initialMargin, sb_converter=convertLengthOrAuto | 
| 96 margin-top initial=initialMargin, converter=convertLengthOrAuto | 181 margin-top initial=initialMargin, sb_converter=convertLengthOrAuto | 
| 97 mask-source-type custom_all | 182 marker-end svg, name_for_methods=MarkerEndResource, sb_converter=convertFragment Identifier | 
| 98 max-height initial=initialMaxSize, converter=convertLengthMaxSizing | 183 marker-mid svg, name_for_methods=MarkerMidResource, sb_converter=convertFragment Identifier | 
| 99 max-width initial=initialMaxSize, converter=convertLengthMaxSizing | 184 marker-start svg, name_for_methods=MarkerStartResource, sb_converter=convertFrag mentIdentifier | 
| 100 min-height initial=initialMinSize, converter=convertLengthSizing | 185 mask svg, name_for_methods=MaskerResource, sb_converter=convertFragmentIdentifie r | 
| 101 min-width initial=initialMinSize, converter=convertLengthSizing | 186 mask-source-type sb_custom_all | 
| 187 mask-type svg | |
| 188 max-height initial=initialMaxSize, sb_converter=convertLengthMaxSizing | |
| 189 max-width initial=initialMaxSize, sb_converter=convertLengthMaxSizing | |
| 190 min-height initial=initialMinSize, sb_converter=convertLengthSizing | |
| 191 min-width initial=initialMinSize, sb_converter=convertLengthSizing | |
| 102 mix-blend-mode type_name=blink::WebBlendMode, name_for_methods=BlendMode | 192 mix-blend-mode type_name=blink::WebBlendMode, name_for_methods=BlendMode | 
| 103 object-fit type_name=ObjectFit | 193 object-fit type_name=ObjectFit | 
| 104 object-position converter=convertLengthPoint | 194 object-position sb_converter=convertLengthPoint | 
| 105 opacity type_name=float | 195 opacity type_name=float | 
| 106 order type_name=int | 196 order type_name=int | 
| 107 orphans type_name=short, custom_all | 197 orphans type_name=short, sb_custom_all | 
| 108 outline-color custom_all | 198 outline-color sb_custom_all | 
| 109 outline-offset converter=convertComputedLength<int> | 199 outline-offset sb_converter=convertComputedLength<int> | 
| 110 outline-style custom_all | 200 outline-style sb_custom_all | 
| 111 outline-width converter=convertLineWidth<unsigned short> | 201 outline-width sb_converter=convertLineWidth<unsigned short> | 
| 112 overflow-wrap | 202 overflow-wrap | 
| 113 overflow-x type_name=EOverflow | 203 overflow-x type_name=EOverflow | 
| 114 overflow-y type_name=EOverflow | 204 overflow-y type_name=EOverflow | 
| 115 padding-bottom initial=initialPadding, converter=convertLength | 205 padding-bottom initial=initialPadding, sb_converter=convertLength | 
| 116 padding-left initial=initialPadding, converter=convertLength | 206 padding-left initial=initialPadding, sb_converter=convertLength | 
| 117 padding-right initial=initialPadding, converter=convertLength | 207 padding-right initial=initialPadding, sb_converter=convertLength | 
| 118 padding-top initial=initialPadding, converter=convertLength | 208 padding-top initial=initialPadding, sb_converter=convertLength | 
| 119 page-break-after type_name=EPageBreak, initial=initialPageBreak | 209 page-break-after type_name=EPageBreak, initial=initialPageBreak | 
| 120 page-break-before type_name=EPageBreak, initial=initialPageBreak | 210 page-break-before type_name=EPageBreak, initial=initialPageBreak | 
| 121 page-break-inside type_name=EPageBreak, initial=initialPageBreak | 211 page-break-inside type_name=EPageBreak, initial=initialPageBreak | 
| 122 perspective custom_value | 212 paint-order svg, sb_converter=convertPaintOrder | 
| 213 perspective sb_custom_value | |
| 214 perspective-origin sb_custom_all | |
| 123 pointer-events | 215 pointer-events | 
| 124 position | 216 position | 
| 125 quotes converter=convertQuotes | 217 quotes sb_converter=convertQuotes | 
| 126 resize custom_value | 218 resize sb_custom_value | 
| 127 right initial=initialOffset, converter=convertLengthOrAuto | 219 right initial=initialOffset, sb_converter=convertLengthOrAuto | 
| 128 scroll-behavior type_name=ScrollBehavior | 220 scroll-behavior type_name=ScrollBehavior | 
| 129 shape-image-threshold type_name=float | 221 shape-image-threshold type_name=float | 
| 130 shape-margin converter=convertLength | 222 shape-margin sb_converter=convertLength | 
| 131 shape-outside custom_value | 223 shape-outside sb_custom_value | 
| 132 size custom_all | 224 shape-rendering svg | 
| 225 size sb_custom_all | |
| 133 speak | 226 speak | 
| 227 stop-color svg, sb_converter=convertSVGColor | |
| 228 stop-opacity svg, sb_converter=convertNumberOrPercentage | |
| 229 stroke svg, setter=setStrokePaint, sb_custom_all | |
| 230 stroke-dasharray svg, name_for_methods=StrokeDashArray, sb_converter=convertStro keDasharray | |
| 231 stroke-dashoffset svg, name_for_methods=StrokeDashOffset, sb_converter=convertSV GLength | |
| 232 stroke-linecap svg, type_name=LineCap, name_for_methods=CapStyle | |
| 233 stroke-linejoin svg, type_name=LineJoin, name_for_methods=JoinStyle | |
| 234 stroke-miterlimit svg, type_name=float, name_for_methods=StrokeMiterLimit | |
| 235 stroke-opacity svg, sb_converter=convertNumberOrPercentage | |
| 236 stroke-width svg, sb_converter=convertSVGLength | |
| 134 table-layout | 237 table-layout | 
| 135 tab-size type_name=unsigned | 238 tab-size type_name=unsigned | 
| 136 text-align custom_value | 239 text-align sb_custom_value | 
| 137 text-align-last type_name=TextAlignLast | 240 text-align-last type_name=TextAlignLast | 
| 138 text-decoration-line name_for_methods=TextDecoration, custom_value | 241 text-anchor svg | 
| 139 text-decoration-color custom_all | 242 text-decoration-color sb_custom_all | 
| 243 text-decoration-line name_for_methods=TextDecoration, sb_custom_value | |
| 140 text-decoration-style type_name=TextDecorationStyle | 244 text-decoration-style type_name=TextDecorationStyle | 
| 141 text-indent custom_all | 245 text-indent sb_custom_all | 
| 142 text-justify type_name=TextJustify | 246 text-justify type_name=TextJustify | 
| 143 text-overflow type_name=TextOverflow | 247 text-overflow type_name=TextOverflow | 
| 144 text-rendering font, type_name=TextRenderingMode | 248 text-shadow sb_converter=convertShadow | 
| 145 text-shadow converter=convertShadow | |
| 146 text-transform | 249 text-transform | 
| 147 top initial=initialOffset, converter=convertLengthOrAuto | 250 text-underline-position sb_custom_value | 
| 148 touch-action custom_value | 251 top initial=initialOffset, sb_converter=convertLengthOrAuto | 
| 252 touch-action sb_custom_value | |
| 149 touch-action-delay type_name=TouchActionDelay | 253 touch-action-delay type_name=TouchActionDelay | 
| 254 transform sb_custom_value | |
| 255 transform-origin sb_custom_all | |
| 256 transform-style name_for_methods=TransformStyle3D | |
| 150 unicode-bidi | 257 unicode-bidi | 
| 151 vertical-align custom_inherit, custom_value | 258 vector-effect svg | 
| 259 vertical-align sb_custom_inherit, sb_custom_value | |
| 152 visibility | 260 visibility | 
| 153 white-space | 261 -webkit-animation-delay sb_custom_all | 
| 154 widows type_name=short, custom_all | 262 -webkit-animation-direction sb_custom_all | 
| 155 width initial=initialSize, converter=convertLengthSizing | 263 -webkit-animation-duration sb_custom_all | 
| 156 will-change custom_all | 264 -webkit-animation-fill-mode sb_custom_all | 
| 157 word-break | 265 -webkit-animation-iteration-count sb_custom_all | 
| 158 word-spacing initial=initialLetterWordSpacing, converter=convertSpacing | 266 -webkit-animation-name sb_custom_all | 
| 159 zoom custom_all | 267 -webkit-animation-play-state sb_custom_all | 
| 160 z-index type_name=int, custom_all | 268 -webkit-animation-timing-function sb_custom_all | 
| 161 | |
| 162 -webkit-animation-delay custom_all | |
| 163 -webkit-animation-direction custom_all | |
| 164 -webkit-animation-duration custom_all | |
| 165 -webkit-animation-fillMode custom_all | |
| 166 -webkit-animation-iteration-count custom_all | |
| 167 -webkit-animation-name custom_all | |
| 168 -webkit-animation-play-state custom_all | |
| 169 -webkit-animation-timing-function custom_all | |
| 170 -webkit-app-region custom_all | |
| 171 -webkit-appearance type_name=ControlPart | 269 -webkit-appearance type_name=ControlPart | 
| 172 -webkit-aspect-ratio custom_all | 270 -webkit-app-region sb_custom_all | 
| 173 backface-visibility | 271 -webkit-aspect-ratio sb_custom_all | 
| 174 -webkit-background-composite custom_all | 272 -webkit-background-composite sb_custom_all | 
| 175 -webkit-border-fit | 273 -webkit-border-fit | 
| 176 -webkit-border-horizontal-spacing name_for_methods=HorizontalBorderSpacing, conv erter=convertComputedLength<short> | 274 -webkit-border-horizontal-spacing name_for_methods=HorizontalBorderSpacing, sb_c onverter=convertComputedLength<short> | 
| 177 -webkit-border-image initial=initialNinePieceImage, custom_value | 275 -webkit-border-vertical-spacing name_for_methods=VerticalBorderSpacing, sb_conve rter=convertComputedLength<short> | 
| 178 -webkit-border-vertical-spacing name_for_methods=VerticalBorderSpacing, converte r=convertComputedLength<short> | |
| 179 -webkit-box-align type_name=EBoxAlignment | 276 -webkit-box-align type_name=EBoxAlignment | 
| 180 -webkit-box-decoration-break | 277 -webkit-box-decoration-break | 
| 181 -webkit-box-direction | 278 -webkit-box-direction | 
| 279 -webkit-box-flex type_name=float | |
| 182 -webkit-box-flex-group type_name=unsigned int | 280 -webkit-box-flex-group type_name=unsigned int | 
| 183 -webkit-box-flex type_name=float | |
| 184 -webkit-box-lines | 281 -webkit-box-lines | 
| 185 -webkit-box-ordinal-group type_name=unsigned int | 282 -webkit-box-ordinal-group type_name=unsigned int | 
| 186 -webkit-box-orient | 283 -webkit-box-orient | 
| 187 -webkit-box-pack | 284 -webkit-box-pack | 
| 188 -webkit-box-reflect converter=convertBoxReflect | 285 -webkit-box-reflect sb_converter=convertBoxReflect | 
| 189 -webkit-clip-path custom_value | 286 -webkit-clip-path sb_custom_value | 
| 190 -webkit-column-break-after type_name=EPageBreak, initial=initialPageBreak | 287 -webkit-column-break-after type_name=EPageBreak, initial=initialPageBreak | 
| 191 -webkit-column-break-before type_name=EPageBreak, initial=initialPageBreak | 288 -webkit-column-break-before type_name=EPageBreak, initial=initialPageBreak | 
| 192 -webkit-column-break-inside type_name=EPageBreak, initial=initialPageBreak | 289 -webkit-column-break-inside type_name=EPageBreak, initial=initialPageBreak | 
| 193 -webkit-column-count type_name=unsigned short, custom_all | 290 -webkit-column-count type_name=unsigned short, sb_custom_all | 
| 194 column-fill type_name=ColumnFill | 291 -webkit-column-gap type_name=float, sb_custom_all | 
| 195 -webkit-column-gap type_name=float, custom_all | 292 -webkit-column-rule-color sb_custom_all | 
| 196 -webkit-column-rule-color custom_all | |
| 197 -webkit-column-rule-style type_name=EBorderStyle, initial=initialBorderStyle | 293 -webkit-column-rule-style type_name=EBorderStyle, initial=initialBorderStyle | 
| 198 -webkit-column-rule-width converter=convertLineWidth<unsigned short> | 294 -webkit-column-rule-width sb_converter=convertLineWidth<unsigned short> | 
| 199 -webkit-column-span type_name=ColumnSpan | 295 -webkit-column-span type_name=ColumnSpan | 
| 200 -webkit-column-width type_name=float, custom_all | 296 -webkit-column-width type_name=float, sb_custom_all | 
| 201 -webkit-filter custom_value | 297 -webkit-filter sb_custom_value | 
| 202 -webkit-font-feature-settings custom_all | 298 -webkit-highlight sb_converter=convertString<CSSValueNone> | 
| 203 -webkit-font-smoothing font, type_name=FontSmoothingMode | 299 -webkit-hyphenate-character name_for_methods=HyphenationString, sb_converter=con vertString<CSSValueAuto> | 
| 204 -webkit-highlight converter=convertString<CSSValueNone> | 300 -webkit-line-box-contain sb_converter=convertLineBoxContain | 
| 205 -webkit-hyphenate-character name_for_methods=HyphenationString, converter=conver tString<CSSValueAuto> | |
| 206 -webkit-line-box-contain converter=convertLineBoxContain | |
| 207 -webkit-line-break type_name=LineBreak | 301 -webkit-line-break type_name=LineBreak | 
| 208 -webkit-line-clamp type_name=LineClampValue | 302 -webkit-line-clamp type_name=LineClampValue | 
| 209 -webkit-locale custom_value | |
| 210 -webkit-margin-after-collapse type_name=EMarginCollapse | 303 -webkit-margin-after-collapse type_name=EMarginCollapse | 
| 211 -webkit-margin-before-collapse type_name=EMarginCollapse | 304 -webkit-margin-before-collapse type_name=EMarginCollapse | 
| 212 -webkit-margin-bottom-collapse type_name=EMarginCollapse, name_for_methods=Margi nAfterCollapse | 305 -webkit-margin-bottom-collapse type_name=EMarginCollapse, name_for_methods=Margi nAfterCollapse | 
| 213 -webkit-margin-top-collapse type_name=EMarginCollapse, name_for_methods=MarginBe foreCollapse | 306 -webkit-margin-top-collapse type_name=EMarginCollapse, name_for_methods=MarginBe foreCollapse | 
| 214 -internal-marquee-direction name_for_methods=MarqueeDirection | 307 -webkit-mask-box-image-outset sb_custom_all | 
| 215 -internal-marquee-increment custom_value, name_for_methods=MarqueeIncrement | 308 -webkit-mask-box-image-repeat sb_custom_all | 
| 216 -internal-marquee-repetition type_name=int, name_for_methods=MarqueeLoopCount, c ustom_value | 309 -webkit-mask-box-image-slice sb_custom_all | 
| 217 -internal-marquee-speed custom_value, name_for_methods=MarqueeSpeed | 310 -webkit-mask-box-image-source sb_custom_value | 
| 218 -internal-marquee-style name_for_methods=MarqueeBehavior | 311 -webkit-mask-box-image-width sb_custom_all | 
| 219 -webkit-mask-box-image-outset custom_all | 312 -webkit-mask-clip sb_custom_all | 
| 220 -webkit-mask-box-image-repeat custom_all | 313 -webkit-mask-composite sb_custom_all | 
| 221 -webkit-mask-box-image-slice custom_all | 314 -webkit-mask-image sb_custom_all | 
| 222 -webkit-mask-box-image-source custom_value | 315 -webkit-mask-origin sb_custom_all | 
| 223 -webkit-mask-box-image-width custom_all | 316 -webkit-mask-position-x sb_custom_all | 
| 224 -webkit-mask-clip custom_all | 317 -webkit-mask-position-y sb_custom_all | 
| 225 -webkit-mask-composite custom_all | 318 -webkit-mask-repeat-x sb_custom_all | 
| 226 -webkit-mask-image custom_all | 319 -webkit-mask-repeat-y sb_custom_all | 
| 227 -webkit-mask-origin custom_all | 320 -webkit-mask-size sb_custom_all | 
| 228 -webkit-mask-position-x custom_all | 321 -webkit-perspective-origin-x sb_converter=convertLength | 
| 229 -webkit-mask-position-y custom_all | 322 -webkit-perspective-origin-y sb_converter=convertLength | 
| 230 -webkit-mask-repeat-x custom_all | |
| 231 -webkit-mask-repeat-y custom_all | |
| 232 -webkit-mask-size custom_all | |
| 233 perspective-origin custom_all | |
| 234 -webkit-perspective-origin-x converter=convertLength | |
| 235 -webkit-perspective-origin-y converter=convertLength | |
| 236 -webkit-print-color-adjust type_name=PrintColorAdjust | 323 -webkit-print-color-adjust type_name=PrintColorAdjust | 
| 237 -webkit-rtl-ordering type_name=Order, setter=setRTLOrdering, initial=initialRTLO rdering | 324 -webkit-rtl-ordering type_name=Order, setter=setRTLOrdering, initial=initialRTLO rdering | 
| 238 -webkit-ruby-position type_name=RubyPosition | 325 -webkit-ruby-position type_name=RubyPosition | 
| 239 -webkit-tap-highlight-color custom_value | 326 -webkit-tap-highlight-color sb_custom_value | 
| 240 -webkit-text-combine type_name=TextCombine | 327 -webkit-text-combine type_name=TextCombine | 
| 241 -webkit-text-emphasis-color custom_all | 328 -webkit-text-emphasis-color sb_custom_all | 
| 242 -webkit-text-emphasis-position type_name=TextEmphasisPosition | 329 -webkit-text-emphasis-position type_name=TextEmphasisPosition | 
| 243 -webkit-text-emphasis-style custom_all | 330 -webkit-text-emphasis-style sb_custom_all | 
| 244 -webkit-text-fill-color custom_all | 331 -webkit-text-fill-color sb_custom_all | 
| 245 -webkit-text-orientation custom_value | |
| 246 -webkit-text-security | 332 -webkit-text-security | 
| 247 -webkit-text-stroke-color custom_all | 333 -webkit-text-stroke-color sb_custom_all | 
| 248 -webkit-text-stroke-width converter=convertTextStrokeWidth | 334 -webkit-text-stroke-width sb_converter=convertTextStrokeWidth | 
| 249 text-underline-position custom_value | 335 -webkit-transition-delay sb_custom_all | 
| 250 transform custom_value | 336 -webkit-transition-duration sb_custom_all | 
| 251 transform-origin custom_all | 337 -webkit-transition-property sb_custom_all | 
| 252 -webkit-transform-origin-x converter=convertLength | 338 -webkit-transition-timing-function sb_custom_all | 
| 253 -webkit-transform-origin-y converter=convertLength | |
| 254 -webkit-transform-origin-z converter=convertComputedLength<float> | |
| 255 transform-style name_for_methods=TransformStyle3D | |
| 256 -webkit-transition-delay custom_all | |
| 257 -webkit-transition-duration custom_all | |
| 258 -webkit-transition-property custom_all | |
| 259 -webkit-transition-timing-function custom_all | |
| 260 -webkit-user-drag | 339 -webkit-user-drag | 
| 261 -webkit-user-modify | 340 -webkit-user-modify | 
| 262 -webkit-user-select | 341 -webkit-user-select | 
| 263 -webkit-writing-mode custom_value | 342 white-space | 
| 264 | 343 widows type_name=short, sb_custom_all | 
| 265 alignment-baseline svg | 344 width initial=initialSize, sb_converter=convertLengthSizing | 
| 266 baseline-shift svg, custom_inherit, custom_value | 345 will-change sb_custom_all | 
| 267 buffered-rendering svg | 346 word-break | 
| 268 clip-path svg, name_for_methods=ClipperResource, converter=convertFragmentIdenti fier | 347 word-spacing initial=initialLetterWordSpacing, sb_converter=convertSpacing | 
| 269 clip-rule svg, type_name=WindRule | |
| 270 color-interpolation svg | |
| 271 color-interpolation-filters svg, type_name=EColorInterpolation | |
| 272 color-rendering svg | |
| 273 dominant-baseline svg | |
| 274 fill svg, setter=setFillPaint, custom_all | |
| 275 fill-opacity svg, converter=convertNumberOrPercentage | |
| 276 fill-rule svg, type_name=WindRule | |
| 277 filter svg, name_for_methods=FilterResource, converter=convertFragmentIdentifier | |
| 278 flood-color svg, converter=convertSVGColor | |
| 279 flood-opacity svg, converter=convertNumberOrPercentage | |
| 280 glyph-orientation-horizontal svg, converter=convertGlyphOrientation | |
| 281 glyph-orientation-vertical svg, custom_value | |
| 282 lighting-color svg, converter=convertSVGColor | |
| 283 marker-start svg, name_for_methods=MarkerStartResource, converter=convertFragmen tIdentifier | |
| 284 marker-mid svg, name_for_methods=MarkerMidResource, converter=convertFragmentIde ntifier | |
| 285 marker-end svg, name_for_methods=MarkerEndResource, converter=convertFragmentIde ntifier | |
| 286 mask svg, name_for_methods=MaskerResource, converter=convertFragmentIdentifier | |
| 287 mask-type svg | |
| 288 paint-order svg, converter=convertPaintOrder | |
| 289 shape-rendering svg | |
| 290 stop-color svg, converter=convertSVGColor | |
| 291 stop-opacity svg, converter=convertNumberOrPercentage | |
| 292 stroke svg, setter=setStrokePaint, custom_all | |
| 293 stroke-dasharray svg, name_for_methods=StrokeDashArray, converter=convertStrokeD asharray | |
| 294 stroke-dashoffset svg, name_for_methods=StrokeDashOffset, converter=convertSVGLe ngth | |
| 295 stroke-linecap svg, type_name=LineCap, name_for_methods=CapStyle | |
| 296 stroke-linejoin svg, type_name=LineJoin, name_for_methods=JoinStyle | |
| 297 stroke-miterlimit svg, type_name=float, name_for_methods=StrokeMiterLimit | |
| 298 stroke-opacity svg, converter=convertNumberOrPercentage | |
| 299 stroke-width svg, converter=convertSVGLength | |
| 300 text-anchor svg | |
| 301 vector-effect svg | |
| 302 writing-mode svg, type_name=SVGWritingMode | 348 writing-mode svg, type_name=SVGWritingMode | 
| 303 | 349 z-index type_name=int, sb_custom_all | 
| 304 // FIXME: We should look over these and see if some should actually be | 350 | 
| 305 // marked as unreachable. | 351 // Internal properties | 
| 306 animation-delay skip | 352 | 
| 307 animation-direction skip | 353 -internal-marquee-direction name_for_methods=MarqueeDirection | 
| 308 animation-duration skip | 354 -internal-marquee-increment sb_custom_value, name_for_methods=MarqueeIncrement | 
| 309 animation-fill-mode skip | 355 -internal-marquee-repetition type_name=int, name_for_methods=MarqueeLoopCount, s b_custom_value | 
| 310 animation-iteration-count skip | 356 -internal-marquee-speed sb_custom_value, name_for_methods=MarqueeSpeed | 
| 311 animation-name skip | 357 -internal-marquee-style name_for_methods=MarqueeBehavior | 
| 312 animation-play-state skip | 358 | 
| 313 animation-timing-function skip | 359 // Properties that we ignore in the StyleBuilder. Note that unprefixed animation | 
| 314 transition-delay skip | 360 // and transition properties are here due to the way they have been unprefixed | 
| 315 transition-duration skip | 361 // FIXME: We should see if any of these should actually be unreachable | 
| 316 transition-property skip | 362 all sb_skip | 
| 317 transition-timing-function skip | 363 animation-delay sb_skip | 
| 318 font-stretch skip | 364 animation-direction sb_skip | 
| 319 page skip | 365 animation-duration sb_skip | 
| 320 src skip | 366 animation-fill-mode sb_skip | 
| 321 unicode-range skip | 367 animation-iteration-count sb_skip | 
| 322 -webkit-font-size-delta skip | 368 animation-name sb_skip | 
| 323 -webkit-text-decorations-in-effect skip | 369 animation-play-state sb_skip | 
| 324 max-zoom skip | 370 animation-timing-function sb_skip | 
| 325 min-zoom skip | 371 enable-background sb_skip | 
| 326 user-zoom skip | 372 font-stretch sb_skip | 
| 327 orientation skip | 373 max-zoom sb_skip | 
| 328 enable-background skip | 374 min-zoom sb_skip | 
| 329 invalid skip | 375 orientation sb_skip | 
| 330 all skip | 376 page sb_skip | 
| 377 src sb_skip | |
| 378 transition-delay sb_skip | |
| 379 transition-duration sb_skip | |
| 380 transition-property sb_skip | |
| 381 transition-timing-function sb_skip | |
| 382 unicode-range sb_skip | |
| 383 user-zoom sb_skip | |
| 384 -webkit-font-size-delta sb_skip | |
| 385 -webkit-text-decorations-in-effect sb_skip | |
| 386 | |
| 387 // Shorthands | |
| 388 | |
| 389 animation longhands=animation-name;animation-duration;animation-timing-function; animation-delay;animation-iteration-count;animation-direction;animation-fill-mod e;animation-play-state | |
| 390 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 | |
| 391 background-position longhands=background-position-x;background-position-y | |
| 392 background-repeat longhands=background-repeat-x;background-repeat-y | |
| 393 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 | |
| 394 border-bottom longhands=border-bottom-width;border-bottom-style;border-bottom-co lor | |
| 395 border-color longhands=border-top-color;border-right-color;border-bottom-color;b order-left-color | |
| 396 border-image longhands=border-image-source;border-image-slice;border-image-width ;border-image-outset;border-image-repeat | |
| 397 border-left longhands=border-left-width;border-left-style;border-left-color | |
| 398 border-radius longhands=border-top-left-radius;border-top-right-radius;border-bo ttom-right-radius;border-bottom-left-radius | |
| 399 border-right longhands=border-right-width;border-right-style;border-right-color | |
| 400 border-spacing longhands=-webkit-border-horizontal-spacing;-webkit-border-vertic al-spacing | |
| 401 border-style longhands=border-top-style;border-right-style;border-bottom-style;b order-left-style | |
| 402 border-top longhands=border-top-width;border-top-style;border-top-color | |
| 403 border-width longhands=border-top-width;border-right-width;border-bottom-width;b order-left-width | |
| 404 flex longhands=flex-grow;flex-shrink;flex-basis | |
| 405 flex-flow longhands=flex-direction;flex-wrap | |
| 406 grid longhands=grid-template;grid-auto-flow;grid-auto-columns;grid-auto-rows | |
| 407 grid-area longhands=grid-row-start;grid-column-start;grid-row-end;grid-column-en d | |
| 408 grid-column longhands=grid-column-start;grid-column-end | |
| 409 grid-row longhands=grid-row-start;grid-row-end | |
| 410 grid-template longhands=grid-template-columns;grid-template-rows;grid-template-a reas | |
| 411 list-style longhands=list-style-type;list-style-position;list-style-image | |
| 412 margin longhands=margin-top;margin-right;margin-bottom;margin-left | |
| 413 marker longhands=marker-start;marker-mid;marker-end | |
| 414 outline longhands=outline-color;outline-style;outline-width | |
| 415 overflow longhands=overflow-x;overflow-y | |
| 416 padding longhands=padding-top;padding-right;padding-bottom;padding-left | |
| 417 text-decoration longhands=text-decoration-line;text-decoration-style;text-decora tion-color | |
| 418 transition longhands=transition-property;transition-duration;transition-timing-f unction;transition-delay | |
| 419 -webkit-animation longhands=-webkit-animation-name;-webkit-animation-duration;-w ebkit-animation-timing-function;-webkit-animation-delay;-webkit-animation-iterat ion-count;-webkit-animation-direction;-webkit-animation-fill-mode;-webkit-animat ion-play-state | |
| 420 -webkit-border-after longhands=-webkit-border-after-width;-webkit-border-after-s tyle;-webkit-border-after-color | |
| 421 -webkit-border-before longhands=-webkit-border-before-width;-webkit-border-befor e-style;-webkit-border-before-color | |
| 422 -webkit-border-end longhands=-webkit-border-end-width;-webkit-border-end-style;- webkit-border-end-color | |
| 423 // "-webkit-border-radius: 1px 2px" behaves as "border-radius: 1px / 2px" | |
| 424 -webkit-border-radius longhands=border-top-left-radius;border-top-right-radius;b order-bottom-right-radius;border-bottom-left-radius | |
| 425 -webkit-border-start longhands=-webkit-border-start-width;-webkit-border-start-s tyle;-webkit-border-start-color | |
| 426 -webkit-column-rule longhands=-webkit-column-rule-width;-webkit-column-rule-styl e;-webkit-column-rule-color | |
| 427 -webkit-columns longhands=-webkit-column-width;-webkit-column-count | |
| 428 -webkit-margin-collapse longhands=-webkit-margin-before-collapse;-webkit-margin- after-collapse | |
| 429 -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 | |
| 430 -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 | |
| 431 -webkit-mask-position longhands=-webkit-mask-position-x;-webkit-mask-position-y | |
| 432 -webkit-mask-repeat longhands=-webkit-mask-repeat-x;-webkit-mask-repeat-y | |
| 433 -webkit-text-emphasis longhands=-webkit-text-emphasis-style;-webkit-text-emphasi s-color | |
| 434 -webkit-text-stroke longhands=-webkit-text-stroke-width;-webkit-text-stroke-colo r | |
| 435 -webkit-transform-origin longhands=-webkit-transform-origin-x;-webkit-transform- origin-y;-webkit-transform-origin-z | |
| 436 -webkit-transition longhands=-webkit-transition-property;-webkit-transition-dura tion;-webkit-transition-timing-function;-webkit-transition-delay | |
| OLD | NEW |