Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « LayoutTests/webexposed/nonstable-css-properties-expected.txt ('k') | Source/core/animation/css/CSSAnimatableValueFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698