OLD | NEW |
---|---|
1 // This file specifies all the CSS properties we support and the necessary | 1 // This file specifies all the CSS properties we support and the necessary |
2 // information for our code generation. The various supported arguments | 2 // information for our code generation. The various supported arguments |
3 // are described below with example usage | 3 // are described below with example usage |
4 | 4 |
5 | 5 |
6 // - alias_for=other-property | 6 // - alias_for=other-property |
7 // Properties specifying alias_for should be virtually identical to the | 7 // Properties specifying alias_for should be virtually identical to the |
8 // properties they alias. Minor parsing differences are allowed as long as | 8 // properties they alias. Minor parsing differences are allowed as long as |
9 // the CSSValues created are of the same format of the aliased property. | 9 // the CSSValues created are of the same format of the aliased property. |
10 | 10 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
88 font-size interpolable, inherited, font, name_for_methods=Size, converter=conver tFontSize | 88 font-size interpolable, inherited, font, name_for_methods=Size, converter=conver tFontSize |
89 font-size-adjust runtime_flag=CSSFontSizeAdjust, interpolable, inherited, font, name_for_methods=SizeAdjust, converter=convertFontSizeAdjust | 89 font-size-adjust runtime_flag=CSSFontSizeAdjust, interpolable, inherited, font, name_for_methods=SizeAdjust, converter=convertFontSizeAdjust |
90 font-stretch inherited, font, type_name=FontStretch, name_for_methods=Stretch | 90 font-stretch inherited, font, type_name=FontStretch, name_for_methods=Stretch |
91 font-style inherited, font, type_name=FontStyle, name_for_methods=Style | 91 font-style inherited, font, type_name=FontStyle, name_for_methods=Style |
92 font-variant inherited, font, type_name=FontVariant, name_for_methods=Variant | 92 font-variant inherited, font, type_name=FontVariant, name_for_methods=Variant |
93 font-variant-ligatures inherited, font, name_for_methods=VariantLigatures, conve rter=convertFontVariantLigatures | 93 font-variant-ligatures inherited, font, name_for_methods=VariantLigatures, conve rter=convertFontVariantLigatures |
94 font-weight interpolable, inherited, font, type_name=FontWeight, name_for_method s=Weight, converter=convertFontWeight | 94 font-weight interpolable, inherited, font, type_name=FontWeight, name_for_method s=Weight, converter=convertFontWeight |
95 font-feature-settings inherited, font, name_for_methods=FeatureSettings, convert er=convertFontFeatureSettings | 95 font-feature-settings inherited, font, name_for_methods=FeatureSettings, convert er=convertFontFeatureSettings |
96 -webkit-font-smoothing inherited, font, type_name=FontSmoothingMode | 96 -webkit-font-smoothing inherited, font, type_name=FontSmoothingMode |
97 -webkit-locale inherited, font, custom_value | 97 -webkit-locale inherited, font, custom_value |
98 text-orientation inherited, custom_value | 98 text-orientation inherited, custom_value, type_name=TextOrientation |
99 -webkit-text-orientation inherited, custom_value | 99 -webkit-text-orientation inherited, custom_value, type_name=TextOrientation |
100 writing-mode inherited, custom_value | 100 writing-mode inherited, custom_value, type_name=WritingMode |
101 -webkit-writing-mode inherited, custom_value | 101 -webkit-writing-mode inherited, custom_value, type_name=WritingMode |
102 text-rendering inherited, font, type_name=TextRenderingMode | 102 text-rendering inherited, font, type_name=TextRenderingMode |
103 zoom custom_all | 103 zoom custom_all |
104 | 104 |
105 align-content initial=initialContentAlignment, converter=convertContentAlignment Data | 105 align-content initial=initialContentAlignment, converter=convertContentAlignment Data |
106 align-items initial=initialSelfAlignment, converter=convertSelfOrDefaultAlignmen tData | 106 align-items initial=initialSelfAlignment, converter=convertSelfOrDefaultAlignmen tData |
107 alignment-baseline svg | 107 alignment-baseline svg |
108 align-self initial=initialSelfAlignment, converter=convertSelfOrDefaultAlignment Data | 108 align-self initial=initialSelfAlignment, converter=convertSelfOrDefaultAlignment Data |
109 animation-delay custom_all | 109 animation-delay custom_all |
110 animation-direction custom_all | 110 animation-direction custom_all |
111 animation-duration custom_all | 111 animation-duration custom_all |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
183 filter svg, name_for_methods=FilterResource, converter=convertFragmentIdentifier | 183 filter svg, name_for_methods=FilterResource, converter=convertFragmentIdentifier |
184 flex-basis interpolable, converter=convertLengthOrAuto | 184 flex-basis interpolable, converter=convertLengthOrAuto |
185 flex-direction | 185 flex-direction |
186 flex-grow interpolable, type_name=float | 186 flex-grow interpolable, type_name=float |
187 flex-shrink interpolable, type_name=float | 187 flex-shrink interpolable, type_name=float |
188 flex-wrap | 188 flex-wrap |
189 float type_name=EFloat, name_for_methods=Floating | 189 float type_name=EFloat, name_for_methods=Floating |
190 flood-color interpolable, svg, converter=convertColor | 190 flood-color interpolable, svg, converter=convertColor |
191 flood-opacity interpolable, svg, converter=convertNumberOrPercentage | 191 flood-opacity interpolable, svg, converter=convertNumberOrPercentage |
192 grid-auto-columns runtime_flag=CSSGridLayout, converter=convertGridTrackSize | 192 grid-auto-columns runtime_flag=CSSGridLayout, converter=convertGridTrackSize |
193 grid-auto-flow runtime_flag=CSSGridLayout, converter=convertGridAutoFlow | 193 grid-auto-flow runtime_flag=CSSGridLayout, converter=convertGridAutoFlow, type_n ame=GridAutoFlow |
194 grid-auto-rows runtime_flag=CSSGridLayout, converter=convertGridTrackSize | 194 grid-auto-rows runtime_flag=CSSGridLayout, converter=convertGridTrackSize |
195 grid-column-end runtime_flag=CSSGridLayout, converter=convertGridPosition | 195 grid-column-end runtime_flag=CSSGridLayout, converter=convertGridPosition |
196 grid-column-gap runtime_flag=CSSGridLayout, converter=convertLength | 196 grid-column-gap runtime_flag=CSSGridLayout, converter=convertLength |
197 grid-column-start runtime_flag=CSSGridLayout, converter=convertGridPosition | 197 grid-column-start runtime_flag=CSSGridLayout, converter=convertGridPosition |
198 grid-row-end runtime_flag=CSSGridLayout, converter=convertGridPosition | 198 grid-row-end runtime_flag=CSSGridLayout, converter=convertGridPosition |
199 grid-row-gap runtime_flag=CSSGridLayout, converter=convertLength | 199 grid-row-gap runtime_flag=CSSGridLayout, converter=convertLength |
200 grid-row-start runtime_flag=CSSGridLayout, converter=convertGridPosition | 200 grid-row-start runtime_flag=CSSGridLayout, converter=convertGridPosition |
201 grid-template-areas runtime_flag=CSSGridLayout, custom_all | 201 grid-template-areas runtime_flag=CSSGridLayout, custom_all |
202 grid-template-columns runtime_flag=CSSGridLayout, custom_all | 202 grid-template-columns runtime_flag=CSSGridLayout, custom_all |
203 grid-template-rows runtime_flag=CSSGridLayout, custom_all | 203 grid-template-rows runtime_flag=CSSGridLayout, custom_all |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
277 stop-opacity interpolable, svg, converter=convertNumberOrPercentage | 277 stop-opacity interpolable, svg, converter=convertNumberOrPercentage |
278 stroke interpolable, inherited, svg, setter=setStrokePaint, custom_all | 278 stroke interpolable, inherited, svg, setter=setStrokePaint, custom_all |
279 stroke-dasharray interpolable, inherited, svg, name_for_methods=StrokeDashArray, converter=convertStrokeDasharray | 279 stroke-dasharray interpolable, inherited, svg, name_for_methods=StrokeDashArray, converter=convertStrokeDasharray |
280 stroke-dashoffset interpolable, inherited, svg, name_for_methods=StrokeDashOffse t, converter=convertLength | 280 stroke-dashoffset interpolable, inherited, svg, name_for_methods=StrokeDashOffse t, converter=convertLength |
281 stroke-linecap svg, inherited, type_name=LineCap, name_for_methods=CapStyle | 281 stroke-linecap svg, inherited, type_name=LineCap, name_for_methods=CapStyle |
282 stroke-linejoin svg, inherited, type_name=LineJoin, name_for_methods=JoinStyle | 282 stroke-linejoin svg, inherited, type_name=LineJoin, name_for_methods=JoinStyle |
283 stroke-miterlimit interpolable, inherited, svg, type_name=float, name_for_method s=StrokeMiterLimit | 283 stroke-miterlimit interpolable, inherited, svg, type_name=float, name_for_method s=StrokeMiterLimit |
284 stroke-opacity interpolable, inherited, svg, converter=convertNumberOrPercentage | 284 stroke-opacity interpolable, inherited, svg, converter=convertNumberOrPercentage |
285 stroke-width interpolable, inherited, svg, converter=convertUnzoomedLength | 285 stroke-width interpolable, inherited, svg, converter=convertUnzoomedLength |
286 table-layout | 286 table-layout |
287 tab-size inherited, converter=convertLengthOrTabSpaces | 287 tab-size inherited, converter=convertLengthOrTabSpaces, type_name=TabSize |
288 text-align inherited, custom_value | 288 text-align inherited, custom_value |
289 text-align-last inherited, type_name=TextAlignLast | 289 text-align-last inherited, type_name=TextAlignLast |
290 text-anchor inherited, svg | 290 text-anchor inherited, svg |
291 text-combine-upright inherited, type_name=TextCombine, name_for_methods=TextComb ine | 291 text-combine-upright inherited, type_name=TextCombine, name_for_methods=TextComb ine |
292 // FIXME: We shouldn't switch between shorthand/not shorthand based on a runtime flag | 292 // FIXME: We shouldn't switch between shorthand/not shorthand based on a runtime flag |
293 text-decoration use_handlers_for=CSSPropertyTextDecorationLine, longhands=text-d ecoration-line;text-decoration-style;text-decoration-color | 293 text-decoration use_handlers_for=CSSPropertyTextDecorationLine, longhands=text-d ecoration-line;text-decoration-style;text-decoration-color, type_name=TextDecora tion |
danakj
2016/02/26 23:36:39
For most of the changes in this file, it was lying
| |
294 text-decoration-color runtime_flag=CSS3TextDecorations, interpolable, custom_all | 294 text-decoration-color runtime_flag=CSS3TextDecorations, interpolable, custom_all |
295 text-decoration-line runtime_flag=CSS3TextDecorations, name_for_methods=TextDeco ration, converter=convertFlags<TextDecoration> | 295 text-decoration-line runtime_flag=CSS3TextDecorations, name_for_methods=TextDeco ration, getter=getTextDecoration, converter=convertFlags<TextDecoration> |
pdr.
2016/02/26 23:51:16
Why a getter instead of a type_name?
danakj
2016/02/26 23:52:21
See comment above. Its because of use_handlers_for
danakj
2016/02/26 23:58:04
Well, I lied? I went to get you the specific error
| |
296 text-decoration-style runtime_flag=CSS3TextDecorations, type_name=TextDecoration Style | 296 text-decoration-style runtime_flag=CSS3TextDecorations, type_name=TextDecoration Style |
297 text-indent interpolable, inherited, custom_all | 297 text-indent interpolable, inherited, custom_all |
298 text-justify runtime_flag=CSS3Text, inherited, type_name=TextJustify | 298 text-justify runtime_flag=CSS3Text, inherited, type_name=TextJustify |
299 text-overflow type_name=TextOverflow | 299 text-overflow type_name=TextOverflow |
300 text-shadow interpolable, inherited, converter=convertShadow | 300 text-shadow interpolable, inherited, converter=convertShadow |
301 text-transform inherited | 301 text-transform inherited |
302 text-underline-position runtime_flag=CSS3TextDecorations, inherited, type_name=T extUnderlinePosition | 302 text-underline-position runtime_flag=CSS3TextDecorations, inherited, type_name=T extUnderlinePosition |
303 top interpolable, initial=initialOffset, converter=convertLengthOrAuto | 303 top interpolable, initial=initialOffset, converter=convertLengthOrAuto |
304 touch-action converter=convertFlags<TouchAction> | 304 touch-action converter=convertFlags<TouchAction>, type_name=TouchAction |
305 transform interpolable, custom_value | 305 transform interpolable, custom_value |
306 transform-origin interpolable, converter=convertTransformOrigin | 306 transform-origin interpolable, converter=convertTransformOrigin |
307 transform-style name_for_methods=TransformStyle3D | 307 transform-style name_for_methods=TransformStyle3D |
308 translate runtime_flag=CSSIndependentTransformProperties, converter=convertTrans late, interpolable | 308 translate runtime_flag=CSSIndependentTransformProperties, converter=convertTrans late, interpolable |
309 rotate runtime_flag=CSSIndependentTransformProperties, converter=convertRotate, interpolable | 309 rotate runtime_flag=CSSIndependentTransformProperties, converter=convertRotate, interpolable |
310 scale runtime_flag=CSSIndependentTransformProperties, converter=convertScale, in terpolable | 310 scale runtime_flag=CSSIndependentTransformProperties, converter=convertScale, in terpolable |
311 transition-delay custom_all | 311 transition-delay custom_all |
312 transition-duration custom_all | 312 transition-duration custom_all |
313 transition-property custom_all | 313 transition-property custom_all |
314 transition-timing-function custom_all | 314 transition-timing-function custom_all |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
555 -webkit-shape-margin alias_for=shape-margin | 555 -webkit-shape-margin alias_for=shape-margin |
556 -webkit-shape-outside alias_for=shape-outside | 556 -webkit-shape-outside alias_for=shape-outside |
557 -webkit-transform alias_for=transform | 557 -webkit-transform alias_for=transform |
558 -webkit-transform-origin alias_for=transform-origin | 558 -webkit-transform-origin alias_for=transform-origin |
559 -webkit-transform-style alias_for=transform-style | 559 -webkit-transform-style alias_for=transform-style |
560 -webkit-transition alias_for=transition | 560 -webkit-transition alias_for=transition |
561 -webkit-transition-delay alias_for=transition-delay | 561 -webkit-transition-delay alias_for=transition-delay |
562 -webkit-transition-duration alias_for=transition-duration | 562 -webkit-transition-duration alias_for=transition-duration |
563 -webkit-transition-property alias_for=transition-property | 563 -webkit-transition-property alias_for=transition-property |
564 -webkit-transition-timing-function alias_for=transition-timing-function | 564 -webkit-transition-timing-function alias_for=transition-timing-function |
OLD | NEW |