| OLD | NEW |
| 1 {% from "macros.tmpl" import lower_first -%} | 1 {% from "macros.tmpl" import lower_first -%} |
| 2 | 2 |
| 3 {# | 3 {# |
| 4 This file is for property handlers which use the templating engine to | 4 This file is for property handlers which use the templating engine to |
| 5 reduce (handwritten) code duplication. | 5 reduce (handwritten) code duplication. |
| 6 | 6 |
| 7 The `properties' dict can be used to access a property's parameters in | 7 The `properties' dict can be used to access a property's parameters in |
| 8 jinja2 templates (i.e. setter, getter, initial, type_name) | 8 jinja2 templates (i.e. setter, getter, initial, type_name) |
| 9 -#} | 9 -#} |
| 10 | 10 |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 } else if (value->isImageValue()) { | 510 } else if (value->isImageValue()) { |
| 511 {{ set_value(property) }}(ShapeValue::createImageValue(state.styleImage(
{{property_id}}, value))); | 511 {{ set_value(property) }}(ShapeValue::createImageValue(state.styleImage(
{{property_id}}, value))); |
| 512 } | 512 } |
| 513 } | 513 } |
| 514 {%- endmacro %} | 514 {%- endmacro %} |
| 515 | 515 |
| 516 {{ apply_value_shape("CSSPropertyWebkitShapeInside") }} | 516 {{ apply_value_shape("CSSPropertyWebkitShapeInside") }} |
| 517 {{ apply_value_shape("CSSPropertyWebkitShapeOutside") }} | 517 {{ apply_value_shape("CSSPropertyWebkitShapeOutside") }} |
| 518 | 518 |
| 519 } // namespace WebCore | 519 } // namespace WebCore |
| OLD | NEW |