Source/WebCore/ChangeLog

 12012-08-22 Bruno de Oliveira Abinader <bruno.abinader@basyskom.com>
 2
 3 [css3-text] Add support for text-decoration-color
 4 https://bugs.webkit.org/show_bug.cgi?id=91638
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 This patch implements the CSS3's 'text-decoration-color' property, with
 9 '-webkit' prefix.
 10
 11 More info about "text-decoration-color" property can be found here:
 12 http://www.w3.org/TR/css3-text/#text-decoration-color
 13
 14 Mozilla implementation (using -moz prefix) is described here:
 15 https://developer.mozilla.org/en/CSS/text-decoration-color
 16
 17 Tests: fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color.html
 18 fast/css3-text-decoration/repaint/repaint-text-decoration-color.html
 19 fast/css3-text-decoration/text-decoration-color.html
 20
 21 * css/CSSComputedStyleDeclaration.cpp:
 22 (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
 23 * css/CSSParser.cpp:
 24 (WebCore::isColorPropertyID):
 25 (WebCore::CSSParser::parseValue):
 26 * css/CSSProperty.cpp:
 27 (WebCore::CSSProperty::isInheritedProperty):
 28 * css/CSSPropertyNames.in:
 29 * css/StyleBuilder.cpp:
 30 (WebCore::StyleBuilder::StyleBuilder):
 31 * css/StyleResolver.cpp:
 32 (WebCore::StyleResolver::collectMatchingRulesForList):
 33 * rendering/RenderObject.cpp:
 34 (WebCore::decorationColor):
 35 * rendering/style/RenderStyle.cpp:
 36 (WebCore::RenderStyle::diff):
 37 (WebCore::RenderStyle::colorIncludingFallback):
 38 * rendering/style/RenderStyle.h:
 39 * rendering/style/StyleRareNonInheritedData.cpp:
 40 (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
 41 (WebCore::StyleRareNonInheritedData::operator==):
 42 * rendering/style/StyleRareNonInheritedData.h:
 43 (StyleRareNonInheritedData):
 44
1452012-08-22 Alexandre Elias <aelias@google.com>
246
347 [chromium] Add software bitmap resources to CCResourceProvider

Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig

@@ENABLE_CSS_COMPOSITING = ;
4848ENABLE_CSS_STICKY_POSITION = ENABLE_CSS_STICKY_POSITION;
4949ENABLE_CSS_VARIABLES = ;
5050ENABLE_CSS3_FLEXBOX = ENABLE_CSS3_FLEXBOX;
51 ENABLE_CSS3_TEXT_DECORATION = ;
 51ENABLE_CSS3_TEXT_DECORATION = ENABLE_CSS3_TEXT_DECORATION;
5252ENABLE_CUSTOM_SCHEME_HANDLER = ;
5353ENABLE_DASHBOARD_SUPPORT = $(ENABLE_DASHBOARD_SUPPORT_$(REAL_PLATFORM_NAME));
5454ENABLE_DASHBOARD_SUPPORT_macosx = ENABLE_DASHBOARD_SUPPORT;

Source/WebCore/Configurations/FeatureDefines.xcconfig

@@ENABLE_CSS_COMPOSITING = ;
4949ENABLE_CSS_STICKY_POSITION = ENABLE_CSS_STICKY_POSITION;
5050ENABLE_CSS_VARIABLES = ;
5151ENABLE_CSS3_FLEXBOX = ENABLE_CSS3_FLEXBOX;
52 ENABLE_CSS3_TEXT_DECORATION = ;
 52ENABLE_CSS3_TEXT_DECORATION = ENABLE_CSS3_TEXT_DECORATION;
5353ENABLE_CUSTOM_SCHEME_HANDLER = ;
5454ENABLE_DASHBOARD_SUPPORT = $(ENABLE_DASHBOARD_SUPPORT_$(REAL_PLATFORM_NAME));
5555ENABLE_DASHBOARD_SUPPORT_macosx = ENABLE_DASHBOARD_SUPPORT;

Source/WebCore/css/CSSComputedStyleDeclaration.cpp

@@static const CSSPropertyID computedProperties[] = {
180180#if ENABLE(CSS3_TEXT_DECORATION)
181181 CSSPropertyWebkitTextDecorationLine,
182182 CSSPropertyWebkitTextDecorationStyle,
 183 CSSPropertyWebkitTextDecorationColor,
183184#endif // CSS3_TEXT_DECORATION
184185 CSSPropertyTextIndent,
185186 CSSPropertyTextRendering,

@@PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert
19661967 return renderTextDecorationFlagsToCSSValue(style->textDecoration());
19671968 case CSSPropertyWebkitTextDecorationStyle:
19681969 return renderTextDecorationStyleFlagsToCSSValue(style->textDecorationStyle());
 1970 case CSSPropertyWebkitTextDecorationColor:
 1971 return currentColorOrValidColor(style.get(), style->textDecorationColor());
19691972#endif // CSS3_TEXT_DECORATION
19701973 case CSSPropertyWebkitTextDecorationsInEffect:
19711974 return renderTextDecorationFlagsToCSSValue(style->textDecorationsInEffect());

Source/WebCore/css/CSSParser.cpp

@@static inline bool isColorPropertyID(CSSPropertyID propertyId)
372372 case CSSPropertyWebkitBorderEndColor:
373373 case CSSPropertyWebkitBorderStartColor:
374374 case CSSPropertyWebkitColumnRuleColor:
 375#if ENABLE(CSS3_TEXT_DECORATION)
 376 case CSSPropertyWebkitTextDecorationColor:
 377#endif // CSS3_TEXT_DECORATION
375378 case CSSPropertyWebkitTextEmphasisColor:
376379 case CSSPropertyWebkitTextFillColor:
377380 case CSSPropertyWebkitTextStrokeColor:

@@bool CSSParser::parseValue(CSSPropertyID propId, bool important)
18341837 case CSSPropertyTextUnderlineColor:
18351838 case CSSPropertyTextOverlineColor:
18361839 case CSSPropertyWebkitColumnRuleColor:
 1840#if ENABLE(CSS3_TEXT_DECORATION)
 1841 case CSSPropertyWebkitTextDecorationColor:
 1842#endif // CSS3_TEXT_DECORATION
18371843 case CSSPropertyWebkitTextEmphasisColor:
18381844 case CSSPropertyWebkitTextFillColor:
18391845 case CSSPropertyWebkitTextStrokeColor:

Source/WebCore/css/CSSProperty.cpp

@@bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID)
642642 case CSSPropertyWebkitPerspectiveOriginY:
643643#if ENABLE(CSS3_TEXT_DECORATION)
644644 case CSSPropertyWebkitTextDecorationStyle:
 645 case CSSPropertyWebkitTextDecorationColor:
645646#endif // CSS3_TEXT_DECORATION
646647 case CSSPropertyWebkitTransform:
647648 case CSSPropertyWebkitTransformOrigin:

Source/WebCore/css/CSSPropertyNames.in

@@z-index
357357#if defined(ENABLE_CSS3_TEXT_DECORATION) && ENABLE_CSS3_TEXT_DECORATION
358358-webkit-text-decoration-line
359359-webkit-text-decoration-style
 360-webkit-text-decoration-color
360361#endif
361362-webkit-text-decorations-in-effect
362363-webkit-text-emphasis

Source/WebCore/css/StyleBuilder.cpp

@@StyleBuilder::StyleBuilder()
19051905#if ENABLE(CSS3_TEXT_DECORATION)
19061906 setPropertyHandler(CSSPropertyWebkitTextDecorationLine, ApplyPropertyTextDecoration::createHandler());
19071907 setPropertyHandler(CSSPropertyWebkitTextDecorationStyle, ApplyPropertyDefault<TextDecorationStyle, &RenderStyle::textDecorationStyle, TextDecorationStyle, &RenderStyle::setTextDecorationStyle, TextDecorationStyle, &RenderStyle::initialTextDecorationStyle>::createHandler());
 1908 setPropertyHandler(CSSPropertyWebkitTextDecorationColor, ApplyPropertyColor<NoInheritFromParent, &RenderStyle::textDecorationColor, &RenderStyle::setTextDecorationColor, &RenderStyle::setVisitedLinkTextDecorationColor, &RenderStyle::color>::createHandler());
19081909#endif // CSS3_TEXT_DECORATION
19091910 setPropertyHandler(CSSPropertyTextIndent, ApplyPropertyLength<&RenderStyle::textIndent, &RenderStyle::setTextIndent, &RenderStyle::initialTextIndent>::createHandler());
19101911 setPropertyHandler(CSSPropertyTextOverflow, ApplyPropertyDefault<TextOverflow, &RenderStyle::textOverflow, TextOverflow, &RenderStyle::setTextOverflow, TextOverflow, &RenderStyle::initialTextOverflow>::createHandler());

Source/WebCore/css/StyleResolver.cpp

@@inline bool isValidVisitedLinkProperty(CSSPropertyID id)
32383238 case CSSPropertyColor:
32393239 case CSSPropertyOutlineColor:
32403240 case CSSPropertyWebkitColumnRuleColor:
 3241#if ENABLE(CSS3_TEXT_DECORATION)
 3242 case CSSPropertyWebkitTextDecorationColor:
 3243#endif // CSS3_TEXT_DECORATION
32413244 case CSSPropertyWebkitTextEmphasisColor:
32423245 case CSSPropertyWebkitTextFillColor:
32433246 case CSSPropertyWebkitTextStrokeColor:

@@void StyleResolver::applyProperty(CSSPropertyID id, CSSValue* value)
44364439#if ENABLE(CSS3_TEXT_DECORATION)
44374440 case CSSPropertyWebkitTextDecorationLine:
44384441 case CSSPropertyWebkitTextDecorationStyle:
 4442 case CSSPropertyWebkitTextDecorationColor:
44394443#endif // CSS3_TEXT_DECORATION
44404444 case CSSPropertyWebkitTextEmphasisColor:
44414445 case CSSPropertyWebkitTextEmphasisPosition:

Source/WebCore/rendering/RenderObject.cpp

@@PassRefPtr<RenderStyle> RenderObject::getUncachedPseudoStyle(PseudoId pseudo, Re
26902690
26912691static Color decorationColor(RenderStyle* style)
26922692{
 2693#if ENABLE(CSS3_TEXT_DECORATION)
 2694 // First check for decoration color but not if it's fully transparent.
 2695 Color result = style->visitedDependentColor(CSSPropertyWebkitTextDecorationColor);
 2696 if (result.alpha())
 2697 return result;
 2698#else
26932699 Color result;
 2700#endif // CSS3_TEXT_DECORATION
26942701 if (style->textStrokeWidth() > 0) {
26952702 // Prefer stroke color if possible but not if it's fully transparent.
26962703 result = style->visitedDependentColor(CSSPropertyWebkitTextStrokeColor);

Source/WebCore/rendering/style/RenderStyle.cpp

@@StyleDifference RenderStyle::diff(const RenderStyle* other, unsigned& changedCon
654654 || rareNonInheritedData->m_borderFit != other->rareNonInheritedData->m_borderFit
655655#if ENABLE(CSS3_TEXT_DECORATION)
656656 || rareNonInheritedData->m_textDecorationStyle != other->rareNonInheritedData->m_textDecorationStyle
 657 || rareNonInheritedData->m_textDecorationColor != other->rareNonInheritedData->m_textDecorationColor
657658#endif // CSS3_TEXT_DECORATION
658659 || rareInheritedData->textFillColor != other->rareInheritedData->textFillColor
659660 || rareInheritedData->textStrokeColor != other->rareInheritedData->textStrokeColor

@@Color RenderStyle::colorIncludingFallback(int colorProperty, bool visitedLink) c
13501351 case CSSPropertyWebkitColumnRuleColor:
13511352 result = visitedLink ? rareNonInheritedData->m_multiCol->m_visitedLinkColumnRuleColor : columnRuleColor();
13521353 break;
 1354#if ENABLE(CSS3_TEXT_DECORATION)
 1355 case CSSPropertyWebkitTextDecorationColor:
 1356 result = visitedLink ? rareNonInheritedData->m_visitedLinkTextDecorationColor : textDecorationColor();
 1357 break;
 1358#endif // CSS3_TEXT_DECORATION
13531359 case CSSPropertyWebkitTextEmphasisColor:
13541360 result = visitedLink ? rareInheritedData->visitedLinkTextEmphasisColor : textEmphasisColor();
13551361 break;

Source/WebCore/rendering/style/RenderStyle.h

@@public:
13331333 void setTransformOriginZ(float f) { SET_VAR(rareNonInheritedData.access()->m_transform, m_z, f); }
13341334 void setSpeak(ESpeak s) { SET_VAR(rareInheritedData, speak, s); }
13351335 void setTextCombine(TextCombine v) { SET_VAR(rareNonInheritedData, m_textCombine, v); }
 1336#if ENABLE(CSS3_TEXT_DECORATION)
 1337 void setTextDecorationColor(const Color& c) { SET_VAR(rareNonInheritedData, m_textDecorationColor, c) }
 1338#endif // CSS3_TEXT_DECORATION
13361339 void setTextEmphasisColor(const Color& c) { SET_VAR(rareInheritedData, textEmphasisColor, c) }
13371340 void setTextEmphasisFill(TextEmphasisFill fill) { SET_VAR(rareInheritedData, textEmphasisFill, fill); }
13381341 void setTextEmphasisMark(TextEmphasisMark mark) { SET_VAR(rareInheritedData, textEmphasisMark, mark); }

@@private:
17281731 void setVisitedLinkBorderTopColor(const Color& v) { SET_VAR(rareNonInheritedData, m_visitedLinkBorderTopColor, v) }
17291732 void setVisitedLinkOutlineColor(const Color& v) { SET_VAR(rareNonInheritedData, m_visitedLinkOutlineColor, v) }
17301733 void setVisitedLinkColumnRuleColor(const Color& v) { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_visitedLinkColumnRuleColor, v) }
 1734#if ENABLE(CSS3_TEXT_DECORATION)
 1735 void setVisitedLinkTextDecorationColor(const Color& v) { SET_VAR(rareNonInheritedData, m_visitedLinkTextDecorationColor, v) }
 1736#endif // CSS3_TEXT_DECORATION
17311737 void setVisitedLinkTextEmphasisColor(const Color& v) { SET_VAR(rareInheritedData, visitedLinkTextEmphasisColor, v) }
17321738 void setVisitedLinkTextFillColor(const Color& v) { SET_VAR(rareInheritedData, visitedLinkTextFillColor, v) }
17331739 void setVisitedLinkTextStrokeColor(const Color& v) { SET_VAR(rareInheritedData, visitedLinkTextStrokeColor, v) }

@@private:
17801786 Color visitedLinkBorderTopColor() const { return rareNonInheritedData->m_visitedLinkBorderTopColor; }
17811787 Color visitedLinkOutlineColor() const { return rareNonInheritedData->m_visitedLinkOutlineColor; }
17821788 Color visitedLinkColumnRuleColor() const { return rareNonInheritedData->m_multiCol->m_visitedLinkColumnRuleColor; }
 1789#if ENABLE(CSS3_TEXT_DECORATION)
 1790 Color textDecorationColor() const { return rareNonInheritedData->m_textDecorationColor; }
 1791 Color visitedLinkTextDecorationColor() const { return rareNonInheritedData->m_visitedLinkTextDecorationColor; }
 1792#endif // CSS3_TEXT_DECORATION
17831793 Color visitedLinkTextEmphasisColor() const { return rareInheritedData->visitedLinkTextEmphasisColor; }
17841794 Color visitedLinkTextFillColor() const { return rareInheritedData->visitedLinkTextFillColor; }
17851795 Color visitedLinkTextStrokeColor() const { return rareInheritedData->visitedLinkTextStrokeColor; }

Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp

@@StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
118118 , m_wrapShapeOutside(o.m_wrapShapeOutside)
119119 , m_wrapMargin(o.m_wrapMargin)
120120 , m_wrapPadding(o.m_wrapPadding)
 121#if ENABLE(CSS3_TEXT_DECORATION)
 122 , m_textDecorationColor(o.m_textDecorationColor)
 123 , m_visitedLinkTextDecorationColor(o.m_visitedLinkTextDecorationColor)
 124#endif // CSS3_TEXT_DECORATION
121125 , m_visitedLinkBackgroundColor(o.m_visitedLinkBackgroundColor)
122126 , m_visitedLinkOutlineColor(o.m_visitedLinkOutlineColor)
123127 , m_visitedLinkBorderLeftColor(o.m_visitedLinkBorderLeftColor)

@@bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c
199203 && m_wrapShapeOutside == o.m_wrapShapeOutside
200204 && m_wrapMargin == o.m_wrapMargin
201205 && m_wrapPadding == o.m_wrapPadding
 206#if ENABLE(CSS3_TEXT_DECORATION)
 207 && m_textDecorationColor == o.m_textDecorationColor
 208 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColor
 209#endif // CSS3_TEXT_DECORATION
202210 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor
203211 && m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor
204212 && m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor

Source/WebCore/rendering/style/StyleRareNonInheritedData.h

@@public:
139139 Length m_wrapMargin;
140140 Length m_wrapPadding;
141141
 142#if ENABLE(CSS3_TEXT_DECORATION)
 143 Color m_textDecorationColor;
 144 Color m_visitedLinkTextDecorationColor;
 145#endif // CSS3_TEXT_DECORATION
142146 Color m_visitedLinkBackgroundColor;
143147 Color m_visitedLinkOutlineColor;
144148 Color m_visitedLinkBorderLeftColor;

Source/WebKit/chromium/features.gypi

3939 'ENABLE_CHANNEL_MESSAGING=1',
4040 'ENABLE_CSP_NEXT=1',
4141 'ENABLE_CSS3_FLEXBOX=1',
42  'ENABLE_CSS3_TEXT_DECORATION=0',
 42 'ENABLE_CSS3_TEXT_DECORATION=1',
4343 'ENABLE_CSS_BOX_DECORATION_BREAK=1',
4444 'ENABLE_CSS_COMPOSITING=0',
4545 'ENABLE_CSS_EXCLUSIONS=1',

Source/WebKit/mac/Configurations/FeatureDefines.xcconfig

@@ENABLE_CSS_COMPOSITING = ;
4949ENABLE_CSS_STICKY_POSITION = ENABLE_CSS_STICKY_POSITION;
5050ENABLE_CSS_VARIABLES = ;
5151ENABLE_CSS3_FLEXBOX = ENABLE_CSS3_FLEXBOX;
52 ENABLE_CSS3_TEXT_DECORATION = ;
 52ENABLE_CSS3_TEXT_DECORATION = ENABLE_CSS3_TEXT_DECORATION;
5353ENABLE_CUSTOM_SCHEME_HANDLER = ;
5454ENABLE_DASHBOARD_SUPPORT = $(ENABLE_DASHBOARD_SUPPORT_$(REAL_PLATFORM_NAME));
5555ENABLE_DASHBOARD_SUPPORT_macosx = ENABLE_DASHBOARD_SUPPORT;

Source/WebKit2/Configurations/FeatureDefines.xcconfig

@@ENABLE_CSS_SHADERS = ENABLE_CSS_SHADERS;
4848ENABLE_CSS_STICKY_POSITION = ENABLE_CSS_STICKY_POSITION;
4949ENABLE_CSS_VARIABLES = ;
5050ENABLE_CSS3_FLEXBOX = ENABLE_CSS3_FLEXBOX;
51 ENABLE_CSS3_TEXT_DECORATION = ;
 51ENABLE_CSS3_TEXT_DECORATION = ENABLE_CSS3_TEXT_DECORATION;
5252ENABLE_CUSTOM_SCHEME_HANDLER = ;
5353ENABLE_DASHBOARD_SUPPORT = $(ENABLE_DASHBOARD_SUPPORT_$(REAL_PLATFORM_NAME));
5454ENABLE_DASHBOARD_SUPPORT_macosx = ENABLE_DASHBOARD_SUPPORT;

Source/cmake/WebKitFeatures.cmake

@@MACRO (WEBKIT_OPTION_BEGIN)
2121 WEBKIT_OPTION_DEFINE(ENABLE_CHANNEL_MESSAGING "Toggle MessageChannel and MessagePort support" ON)
2222 WEBKIT_OPTION_DEFINE(ENABLE_CSP_NEXT "Toggle Content Security Policy 1.1 support" OFF)
2323 WEBKIT_OPTION_DEFINE(ENABLE_CSS3_FLEXBOX "Toggle CSS3 Flexbox support" ON)
24  WEBKIT_OPTION_DEFINE(ENABLE_CSS3_TEXT_DECORATION "Toggle CSS3 Text Decoration support" OFF)
 24 WEBKIT_OPTION_DEFINE(ENABLE_CSS3_TEXT_DECORATION "Toggle CSS3 Text Decoration support" ON)
2525 WEBKIT_OPTION_DEFINE(ENABLE_CSS_BOX_DECORATION_BREAK "Toggle Box Decoration Break (CSS Backgrounds and Borders) support" ON)
2626 WEBKIT_OPTION_DEFINE(ENABLE_CSS_COMPOSITING "Toggle CSS COMPOSITING support" OFF)
2727 WEBKIT_OPTION_DEFINE(ENABLE_CSS_EXCLUSIONS "Toggle CSS Exclusion support" OFF)

Tools/Scripts/webkitperl/FeatureList.pm

@@my @features = (
172172 define => "ENABLE_CSS3_FLEXBOX", default => 1, value => \$css3FlexboxSupport },
173173
174174 { option => "css3-text-decoration", desc => "Toggle CSS3 Text Decoration support",
175  define => "ENABLE_CSS3_TEXT_DECORATION", default => isEfl(), value => \$css3TextDecorationSupport },
 175 define => "ENABLE_CSS3_TEXT_DECORATION", default => 1, value => \$css3TextDecorationSupport },
176176
177177 { option => "css-hierarchies", desc => "Toggle CSS Hierarchy support",
178178 define => "ENABLE_CSS_HIERARCHIES", default => 0, value => \$cssHierarchiesSupport },

Tools/qmake/mkspecs/features/features.pri

@@FEATURE_DEFAULTS = \
3131 ENABLE_CSS_SHADERS=0 \
3232 ENABLE_CSS_VARIABLES=0 \
3333 ENABLE_CSS3_FLEXBOX=1 \
34  ENABLE_CSS3_TEXT_DECORATION=0 \
 34 ENABLE_CSS3_TEXT_DECORATION=1 \
3535 ENABLE_DASHBOARD_SUPPORT=0 \
3636 ENABLE_DATAGRID=0 \
3737 ENABLE_DATALIST_ELEMENT=1 \

LayoutTests/ChangeLog

 12012-08-22 Bruno de Oliveira Abinader <bruno.abinader@basyskom.com>
 2
 3 [css3-text] Add support for text-decoration-color
 4 https://bugs.webkit.org/show_bug.cgi?id=91638
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 This patch implements the CSS3's 'text-decoration-color' property, with
 9 '-webkit' prefix.
 10
 11 More info about "text-decoration-color" property can be found here:
 12 http://www.w3.org/TR/css3-text/#text-decoration-color
 13
 14 Mozilla implementation (using -moz prefix) is described here:
 15 https://developer.mozilla.org/en/CSS/text-decoration-color
 16
 17 * fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color-expected.txt: Added.
 18 * fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color.html: Added.
 19 * fast/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-color.js: Added.
 20 Added getComputedStyle-based layout test covering a bunch of valid/invalid values.
 21
 22 * fast/css3-text-decoration/repaint/repaint-text-decoration-color-expected.png: Added.
 23 * fast/css3-text-decoration/repaint/repaint-text-decoration-color-expected.txt: Added.
 24 * fast/css3-text-decoration/repaint/repaint-text-decoration-color.html: Added.
 25 Added cross-platform repaint layout test using 'Ahem' font. Expections
 26 generated on Chromium-linux build.
 27
 28 * fast/css3-text-decoration/text-decoration-color-expected.html: Added.
 29 * fast/css3-text-decoration/text-decoration-color.html: Added.
 30 Added cross-platform reference test.
 31
1322012-08-22 Anna Cavender <annacc@chromium.org>
233
334 Update the TextTrackCue Constructor

LayoutTests/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color-expected.txt

 1Test to make sure -webkit-text-decoration-color property returns CSSPrimitiveValue properly.
 2
 3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 4
 5
 6Ancestor should not inherit 'red' value from parent (fallback to initial value):
 7PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color') is null
 8PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 9PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 0)'
 10PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 0)'
 11
 12Parent should cointain 'red':
 13PASS e.style.webkitTextDecorationColor is 'red'
 14PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 15PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'red'
 16PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 17PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(255, 0, 0)'
 18PASS computedStyle.webkitTextDecorationColor is 'rgb(255, 0, 0)'
 19
 20JavaScript setter tests for valid, initial, invalid and blank values:
 21PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color') is null
 22
 23Valid value 'blue':
 24PASS e.style.webkitTextDecorationColor is 'blue'
 25PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 26PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'blue'
 27PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 28PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 255)'
 29PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 255)'
 30
 31Valid value '#FFFFFF':
 32PASS e.style.webkitTextDecorationColor is 'rgb(255, 255, 255)'
 33PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 34PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(255, 255, 255)'
 35PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 36PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(255, 255, 255)'
 37PASS computedStyle.webkitTextDecorationColor is 'rgb(255, 255, 255)'
 38
 39Valid value 'rgb(0, 255, 0)':
 40PASS e.style.webkitTextDecorationColor is 'rgb(0, 255, 0)'
 41PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 42PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 255, 0)'
 43PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 44PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 255, 0)'
 45PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 255, 0)'
 46
 47Valid value 'rgba(100, 100, 100, 0.5)':
 48PASS e.style.webkitTextDecorationColor is 'rgba(100, 100, 100, 0.498039)'
 49PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 50PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgba(100, 100, 100, 0.498039)'
 51PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 52PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgba(100, 100, 100, 0.498039)'
 53PASS computedStyle.webkitTextDecorationColor is 'rgba(100, 100, 100, 0.498039)'
 54
 55Valid value 'hsl(240, 100%, 50%)':
 56PASS e.style.webkitTextDecorationColor is 'rgb(0, 0, 255)'
 57PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 58PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 255)'
 59PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 60PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 255)'
 61PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 255)'
 62
 63Valid value 'hsla(240, 100%, 50%, 0.5)':
 64PASS e.style.webkitTextDecorationColor is 'rgba(0, 0, 255, 0.498039)'
 65PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 66PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgba(0, 0, 255, 0.498039)'
 67PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 68PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgba(0, 0, 255, 0.498039)'
 69PASS computedStyle.webkitTextDecorationColor is 'rgba(0, 0, 255, 0.498039)'
 70
 71Initial value:
 72PASS e.style.webkitTextDecorationColor is 'initial'
 73PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSValue]'
 74PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'initial'
 75PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 76PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 0)'
 77PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 0)'
 78
 79Invalid value (ie. 'unknown'):
 80PASS e.style.webkitTextDecorationColor is 'initial'
 81PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSValue]'
 82PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'initial'
 83PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 84PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 0)'
 85PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 0)'
 86
 87Empty value (resets the property):
 88PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color') is null
 89PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 90PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(0, 0, 0)'
 91PASS computedStyle.webkitTextDecorationColor is 'rgb(0, 0, 0)'
 92
 93Empty value with different 'currentColor' initial value (red):
 94PASS e.style.getPropertyCSSValue('-webkit-text-decoration-color') is null
 95PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString() is '[object CSSPrimitiveValue]'
 96PASS computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText is 'rgb(255, 0, 0)'
 97PASS computedStyle.webkitTextDecorationColor is 'rgb(255, 0, 0)'
 98
 99PASS successfullyParsed is true
 100
 101TEST COMPLETE
 102

LayoutTests/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-color.html

 1<!DOCTYPE html>
 2<html>
 3<head>
 4<script src="../../js/resources/js-test-pre.js"></script>
 5</head>
 6<body>
 7<script src="script-tests/getComputedStyle-text-decoration-color.js"></script>
 8<script src="../../js/resources/js-test-post.js"></script>
 9</body>
 10</html>

LayoutTests/fast/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-color.js

 1function testElementStyle(type, value)
 2{
 3 if (type != null) {
 4 shouldBe("e.style.webkitTextDecorationColor", "'" + value + "'");
 5 shouldBe("e.style.getPropertyCSSValue('-webkit-text-decoration-color').toString()", "'" + type + "'");
 6 shouldBe("e.style.getPropertyCSSValue('-webkit-text-decoration-color').cssText", "'" + value + "'");
 7 } else
 8 shouldBeNull("e.style.getPropertyCSSValue('-webkit-text-decoration-color')");
 9}
 10
 11function testComputedStyleValue(type, value)
 12{
 13 computedStyle = window.getComputedStyle(e, null);
 14 shouldBe("computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').toString()", "'" + type + "'");
 15 shouldBe("computedStyle.getPropertyCSSValue('-webkit-text-decoration-color').cssText", "'" + value + "'");
 16 shouldBe("computedStyle.webkitTextDecorationColor", "'" + value + "'");
 17}
 18
 19function testValue(value, elementValue, elementStyle, computedValue, computedStyle)
 20{
 21 if (value != null)
 22 e.style.webkitTextDecorationColor = value;
 23 testElementStyle(elementStyle, elementValue);
 24 testComputedStyleValue(computedStyle, computedValue);
 25 debug('');
 26}
 27
 28description("Test to make sure -webkit-text-decoration-color property returns CSSPrimitiveValue properly.")
 29
 30var testContainer = document.createElement("div");
 31testContainer.contentEditable = true;
 32document.body.appendChild(testContainer);
 33
 34testContainer.innerHTML = '<div id="test-parent" style="-webkit-text-decoration-color: red !important;">hello <span id="test-ancestor">world</span></div>';
 35debug("Ancestor should not inherit 'red' value from parent (fallback to initial value):")
 36e = document.getElementById('test-ancestor');
 37testValue(null, "", null, "rgb(0, 0, 0)", "[object CSSPrimitiveValue]");
 38
 39debug("Parent should cointain 'red':");
 40e = document.getElementById('test-parent');
 41testValue(null, "red", "[object CSSPrimitiveValue]", "rgb(255, 0, 0)", "[object CSSPrimitiveValue]");
 42
 43testContainer.innerHTML = '<div id="test-js">test</div>';
 44debug("JavaScript setter tests for valid, initial, invalid and blank values:");
 45e = document.getElementById('test-js');
 46shouldBeNull("e.style.getPropertyCSSValue('-webkit-text-decoration-color')");
 47
 48debug("\nValid value 'blue':");
 49testValue("blue", "blue", "[object CSSPrimitiveValue]", "rgb(0, 0, 255)", "[object CSSPrimitiveValue]");
 50
 51debug("Valid value '#FFFFFF':");
 52testValue("#FFFFFF", "rgb(255, 255, 255)", "[object CSSPrimitiveValue]", "rgb(255, 255, 255)", "[object CSSPrimitiveValue]");
 53
 54debug("Valid value 'rgb(0, 255, 0)':");
 55testValue("rgb(0, 255, 0)", "rgb(0, 255, 0)", "[object CSSPrimitiveValue]", "rgb(0, 255, 0)", "[object CSSPrimitiveValue]");
 56
 57debug("Valid value 'rgba(100, 100, 100, 0.5)':");
 58testValue("rgba(100, 100, 100, 0.5)", "rgba(100, 100, 100, 0.498039)", "[object CSSPrimitiveValue]", "rgba(100, 100, 100, 0.498039)", "[object CSSPrimitiveValue]");
 59
 60debug("Valid value 'hsl(240, 100%, 50%)':");
 61testValue("hsl(240, 100%, 50%)", "rgb(0, 0, 255)", "[object CSSPrimitiveValue]", "rgb(0, 0, 255)", "[object CSSPrimitiveValue]");
 62
 63debug("Valid value 'hsla(240, 100%, 50%, 0.5)':");
 64testValue("hsla(240, 100%, 50%, 0.5)", "rgba(0, 0, 255, 0.498039)", "[object CSSPrimitiveValue]", "rgba(0, 0, 255, 0.498039)", "[object CSSPrimitiveValue]");
 65
 66debug("Initial value:");
 67testValue("initial", "initial", "[object CSSValue]", "rgb(0, 0, 0)", "[object CSSPrimitiveValue]");
 68
 69debug("Invalid value (ie. 'unknown'):");
 70testValue("unknown", "initial", "[object CSSValue]", "rgb(0, 0, 0)", "[object CSSPrimitiveValue]");
 71
 72debug("Empty value (resets the property):");
 73testValue("", "", null, "rgb(0, 0, 0)", "[object CSSPrimitiveValue]");
 74
 75debug("Empty value with different 'currentColor' initial value (red):")
 76e.style.color = 'red';
 77testValue("", "", null, "rgb(255, 0, 0)", "[object CSSPrimitiveValue]");
 78
 79document.body.removeChild(testContainer);

LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-color-expected.png

Exception raised during decoding git binary patch:
Error running git apply --directory=/tmp
with patch:
diff --git a/PrettyPatch20260325-3394-msgf17.bin b/PrettyPatch20260325-3394-msgf17.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 0
HcmV?d00001

...
error: invalid path '/tmp/PrettyPatch20260325-3394-msgf17.bin'

/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:924:in `run_git_apply_on_patch'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:935:in `extract_contents_from_git_binary_literal_chunk'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:950:in `extract_contents_from_remote'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:713:in `initialize'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `new'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `block in parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `collect'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:845:in `parse'
/var/www/bugs.webkit.org/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:21:in `prettify'
/var/www/html/PrettyPatch/prettify.rb:30:in `<main>'

LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-color-expected.txt

 1lorem ipsum ipsum ipsum
 2
 3lorem ipsum ipsum ipsum
 4
 5lorem ipsum ipsum ipsum
 6
 7lorem ipsum ipsum ipsum
 8
 9lorem ipsum

LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-color.html

 1<!DOCTYPE html>
 2<html>
 3 <head>
 4 <!-- Bugzilla link: http://webkit.org/b/91638 -->
 5 <title>CSS Test: CSS3 text-decoration-color repaint</title>
 6 <link rel="help" href="http://http://dev.w3.org/csswg/css3-text/#text-decoration-color"/>
 7 <meta name="flags" content="ahem"/>
 8 <script>
 9 if (window.testRunner)
 10 testRunner.dumpAsText();
 11 </script>
 12 <script src="../../repaint/resources/repaint.js" type="text/javascript"></script>
 13 <script>
 14 function repaintTest() {
 15 document.getElementById("test-underline").style.webkitTextDecorationColor = 'green';
 16 document.getElementById("test-overline").style.webkitTextDecorationColor = 'yellow';
 17 document.getElementById("test-line-through").style.webkitTextDecorationColor = 'white';
 18 document.getElementById("test-parent").style.webkitTextDecorationColor = 'red';
 19 document.getElementById("test-ancestor-1").style.webkitTextDecorationColor = 'black';
 20 document.getElementById("test-ancestor-2").style.webkitTextDecorationColor = 'inherit';
 21 document.getElementById("test-mixed-1").style.webkitTextDecorationColor = 'black';
 22 document.getElementById("test-mixed-2").style.webkitTextDecorationColor = 'red';
 23 document.getElementById("test-mixed-3").style.webkitTextDecorationColor = 'blue';
 24 }
 25 </script>
 26 <style>
 27 .underline { text-decoration: underline; }
 28 .overline { text-decoration: overline; }
 29 .line-through { text-decoration: line-through; }
 30 </style>
 31 </head>
 32 <body onload="runRepaintTest();" style="font: 10px Ahem; -webkit-font-smoothing: none;">
 33 <!-- Red text with green underline on repaint -->
 34 <p><span class="underline" id="test-underline" style="color: red;">lorem ipsum <sub>ipsum</sub> <sup>ipsum</sup></span></p>
 35
 36 <!-- Navy text with yellow overline on repaint -->
 37 <p><span class="overline" id="test-overline" style="color: navy;">lorem ipsum <sub>ipsum</sub> <sup>ipsum</sup></span></p>
 38
 39 <!-- Black text with white line-through on repaint -->
 40 <p><span class="line-through" id="test-line-through" style="color: black;">lorem ipsum <sub>ipsum</sub> <sup>ipsum</sup></span></p>
 41
 42 <!-- Parent color is grey, with red underline, first ancestor has black overline and latter has inherited text decoration color from parent on repaint -->
 43 <p><span class="underline" id="test-parent" style="color: rgb(100, 100, 100);">lorem <span class="overline" id="test-ancestor-1">ipsum</span> <span class="line-through" id="test-ancestor-2">ipsum</span> ipsum</span></p>
 44
 45 <!-- Transparent text with red overline, blue line-through and black underline on repaint -->
 46 <p style="color: transparent;"><span id="test-mixed-1" class="underline"><span id="test-mixed-2" class="overline"><span id="test-mixed-3" class="line-through">lorem ipsum</span></span></span></p>
 47 </body>
 48</html>

LayoutTests/fast/css3-text-decoration/text-decoration-color-expected.html

 1<!DOCTYPE html>
 2<html>
 3 <head>
 4 <!-- Bugzilla link: http://webkit.org/b/91638 -->
 5 <title>CSS Test: CSS3 text-decoration-color</title>
 6 <link rel="help" href="http://http://dev.w3.org/csswg/css3-text/#text-decoration-color"/>
 7 <style>
 8 .underline { text-decoration: underline; }
 9 .overline { text-decoration: overline; }
 10 .line-through { text-decoration: line-through; }
 11
 12 #blue-underline { text-decoration: underline; color: blue; -webkit-text-fill-color: black; }
 13 #red-overline { text-decoration: overline; color: red; -webkit-text-fill-color: black; }
 14 #green-line-through { text-decoration: line-through; color: green; -webkit-text-fill-color: black; }
 15 #transparent-fill { -webkit-text-fill-color: transparent; -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: black; }
 16 </style>
 17 </head>
 18 <body>
 19 <h3>Each line of this test should match its text decoration color description:</h3>
 20
 21 <!-- Valid values for underline, overline and line-through text decoration lines -->
 22 <div class="underline" style="color: blue; -webkit-text-fill-color: red;">Red text with blue underline</div><br/>
 23 <div class="overline" style="color: black; -webkit-text-fill-color: green;">Green text with black overline</div><br/>
 24 <div class="line-through" style="color: gold; -webkit-text-fill-color: black;">Black text with gold line-through</div><br/>
 25
 26 <!-- Mix of underline, overline and line-through with different colors for each -->
 27 <div id="blue-underline">Black text with blue underline<span id="red-overline">, red overline<span id="green-line-through"> and green line-through</span></span></div><br/>
 28
 29 <!-- Test behavior on subscript and superscript text -->
 30 <div id="green-line-through">Example with <sub id="red-overline">subscript text</sub> and <sup id="blue-underline">superscript text</sup></div><br/>
 31
 32 <!-- Test with text-fill-color and text-stroke-color values set -->
 33 <div class="underline" id="transparent-fill" style="color: red;">Transparent fill with black stroke text and red underline</div><br/>
 34 </body>
 35</html>

LayoutTests/fast/css3-text-decoration/text-decoration-color.html

 1<!DOCTYPE html>
 2<html>
 3 <head>
 4 <!-- Bugzilla link: http://webkit.org/b/91638 -->
 5 <title>CSS Test: CSS3 text-decoration-color</title>
 6 <link rel="help" href="http://http://dev.w3.org/csswg/css3-text/#text-decoration-color"/>
 7 <style>
 8 .underline { text-decoration: underline; }
 9 .overline { text-decoration: overline; }
 10 .line-through { text-decoration: line-through; }
 11 #blue-underline { text-decoration: underline; -webkit-text-decoration-color: blue; }
 12 #red-overline { text-decoration: overline; -webkit-text-decoration-color: red; }
 13 #green-line-through { text-decoration: line-through; -webkit-text-decoration-color: green; }
 14 #transparent-fill { -webkit-text-fill-color: transparent; -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: black; }
 15 </style>
 16 </head>
 17 <body>
 18 <h3>Each line of this test should match its text decoration color description:</h3>
 19
 20 <!-- Valid values for underline, overline and line-through text decoration lines -->
 21 <div class="underline" style="color: red; -webkit-text-decoration-color: blue;">Red text with blue underline</div><br/>
 22 <div class="overline" style="color: green; -webkit-text-decoration-color: black;">Green text with black overline</div><br/>
 23 <div class="line-through" style="-webkit-text-decoration-color: gold;">Black text with gold line-through</div><br/>
 24
 25 <!-- Mix of underline, overline and line-through with different colors for each -->
 26 <div id="blue-underline">Black text with blue underline<span id="red-overline">, red overline<span id="green-line-through"> and green line-through</span></span></div><br/>
 27
 28 <!-- Test behavior on subscript and superscript text -->
 29 <div id="green-line-through">Example with <sub id="red-overline">subscript text</sub> and <sup id="blue-underline">superscript text</sup></div><br/>
 30
 31 <!-- Test with text-fill-color and text-stroke-color values set -->
 32 <div class="underline" id="transparent-fill" style="-webkit-text-decoration-color: red;">Transparent fill with black stroke text and red underline</div><br/>
 33 </body>
 34</html>

LayoutTests/platform/chromium/TestExpectations

@@BUGWK85262 SKIP : fast/css/image-resolution = PASS
158158// CSS image-orientation is not yet enabled.
159159BUGWK89052 SKIP : fast/css/image-orientation = PASS
160160
161 // CSS3 Text Decoration support is not yet enabled (needs ENABLE_CSS3_TEXT_DECORATION).
162 BUGWK58491 SKIP : fast/css3-text-decoration = PASS
163 
164161// Chromium does not support smart pasting in text controls yet.
165162BUGWK60830 SKIP : editing/pasteboard/smart-paste-in-text-control.html = PASS
166163

WebKitLibraries/win/tools/vsprops/FeatureDefines.vsprops

4343 />
4444 <UserMacro
4545 Name="ENABLE_CSS3_TEXT_DECORATION"
46  Value=""
 46 Value="ENABLE_CSS3_TEXT_DECORATION"
4747 PerformEnvironmentSet="true"
4848 />
4949 <UserMacro

WebKitLibraries/win/tools/vsprops/FeatureDefinesCairo.vsprops

4343 />
4444 <UserMacro
4545 Name="ENABLE_CSS3_TEXT_DECORATION"
46  Value=""
 46 Value="ENABLE_CSS3_TEXT_DECORATION"
4747 PerformEnvironmentSet="true"
4848 />
4949 <UserMacro

configure.ac

@@AC_MSG_RESULT([$enable_css3_flexbox])
10161016AC_MSG_CHECKING([whether to enable CSS3 text decoration support])
10171017AC_ARG_ENABLE(css3_text_decoration,
10181018 AC_HELP_STRING([--enable-css3-text-decoration],
1019  [enable CSS3 text decoration support [default=no]]),
 1019 [enable CSS3 text decoration support [default=yes]]),
10201020 [],[enable_css3_text_decoration=$enable_unstable_features])
10211021AC_MSG_RESULT([$enable_css3_text_decoration])
10221022