Chromium Code Reviews| Index: Source/core/css/StylePropertyShorthand.cpp |
| diff --git a/Source/core/css/StylePropertyShorthand.cpp b/Source/core/css/StylePropertyShorthand.cpp |
| index 8d0de73e067d1f061be88c4db7e47e9ab22ea216..7b9dda46f7819995533246ee55861a02f811cb03 100644 |
| --- a/Source/core/css/StylePropertyShorthand.cpp |
| +++ b/Source/core/css/StylePropertyShorthand.cpp |
| @@ -465,6 +465,17 @@ const StylePropertyShorthand& webkitMaskRepeatShorthand() |
| return webkitMaskRepeatLonghands; |
| } |
| +const StylePropertyShorthand& textDecorationShorthand() |
| +{ |
| + static const CSSPropertyID textDecorationProperties[] = { |
| + CSSPropertyTextDecorationLine, |
| + CSSPropertyTextDecorationStyle, |
| + CSSPropertyTextDecorationColor |
| + }; |
| + DEFINE_STATIC_LOCAL(StylePropertyShorthand, textDecorationLonghands, (CSSPropertyTextDecoration, textDecorationProperties, WTF_ARRAY_LENGTH(textDecorationProperties))); |
| + return textDecorationLonghands; |
|
darktears
2013/06/19 18:12:01
You also need to patch the bottom part of the file
|
| +} |
| + |
| const StylePropertyShorthand& webkitTextEmphasisShorthand() |
| { |
| static const CSSPropertyID textEmphasisProperties[] = { |