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

Unified Diff: Source/core/css/CSSProperty.cpp

Issue 20751008: Text decorations should be listed as non-inheritable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed typo in getComputedStyle-text-decoration.js Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/css/CSSProperty.cpp
diff --git a/Source/core/css/CSSProperty.cpp b/Source/core/css/CSSProperty.cpp
index 414b4ec837b8d742312f901fc9dd726819127b8c..9fee7be3cd05c0e0f3d02e14224846eede0c6422 100644
--- a/Source/core/css/CSSProperty.cpp
+++ b/Source/core/css/CSSProperty.cpp
@@ -310,8 +310,6 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID)
case CSSPropertyTextAlign:
case CSSPropertyTextAlignLast:
case CSSPropertyTextAnchor:
- case CSSPropertyTextDecoration:
- case CSSPropertyTextDecorationLine:
case CSSPropertyTextIndent:
case CSSPropertyTextRendering:
case CSSPropertyTextShadow:
@@ -470,6 +468,8 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID)
case CSSPropertyStopColor:
case CSSPropertyStopOpacity:
case CSSPropertyTableLayout:
+ case CSSPropertyTextDecoration:
+ case CSSPropertyTextDecorationLine:
case CSSPropertyTextDecorationStyle:
case CSSPropertyTextDecorationColor:
case CSSPropertyTextLineThroughColor:
« no previous file with comments | « LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-line.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698