Add inherited flag to CSSProperties.in
This patch adds the flag 'inherited' to CSSProperties.in, replacing the existing switch statement in CSSProperty.cpp. The primary use for isInheritedProperty appears to be as part of the MatchedPropertiesCache optimisation. I've added the inherited flag to overflow-wrap and paint-order, which are inherited in the code and specs[1][2] but were not returning true in the switch. As far as I can tell, this has no difference aside from making us still use the MatchedPropertiesCache if these are explicitly set to inherit. I also added a fixme indicating that the property resize shouldn't inherit by default. [1] http://dev.w3.org/csswg/css-text/#overflow-wrap-property [2] https://svgwg.org/svg2-draft/painting.html#PaintOrder BUG=396992 Review URL: https://codereview.chromium.org/450103005 git-svn-id: svn://svn.chromium.org/blink/trunk@180051 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment