| 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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 } | 473 } |
| 474 | 474 |
| 475 if (shape) | 475 if (shape) |
| 476 {{ set_value(property) }}(ShapeValue::createShapeValue(shape.release
(), layoutBox)); | 476 {{ set_value(property) }}(ShapeValue::createShapeValue(shape.release
(), layoutBox)); |
| 477 else if (layoutBox != BoxMissing) | 477 else if (layoutBox != BoxMissing) |
| 478 {{ set_value(property) }}(ShapeValue::createLayoutBoxValue(layoutBox
)); | 478 {{ set_value(property) }}(ShapeValue::createLayoutBoxValue(layoutBox
)); |
| 479 } | 479 } |
| 480 } | 480 } |
| 481 {%- endmacro %} | 481 {%- endmacro %} |
| 482 | 482 |
| 483 {{ apply_value_shape("CSSPropertyShapeInside") }} | |
| 484 {{ apply_value_shape("CSSPropertyShapeOutside") }} | 483 {{ apply_value_shape("CSSPropertyShapeOutside") }} |
| 485 | 484 |
| 486 } // namespace WebCore | 485 } // namespace WebCore |
| OLD | NEW |