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

Unified Diff: Source/core/css/CSSPrimitiveValueMappings.h

Issue 1094863007: Implement "word-break: keep-all" in CSS3 Text (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replace custom SA charset detecting function to already existing one Created 5 years, 8 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/CSSPrimitiveValueMappings.h
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h
index 0982be817d1867c00d22e69bb4835317a4f1c5bf..54e00470a1dc81b18eba2bf74abf7ba6f8d8b390 100644
--- a/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/Source/core/css/CSSPrimitiveValueMappings.h
@@ -2635,6 +2635,9 @@ template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EWordBreak e)
case BreakWordBreak:
m_value.valueID = CSSValueBreakWord;
break;
+ case KeepAllWordBreak:
+ m_value.valueID = CSSValueKeepAll;
+ break;
}
}
@@ -2648,6 +2651,8 @@ template<> inline CSSPrimitiveValue::operator EWordBreak() const
return BreakWordBreak;
case CSSValueNormal:
return NormalWordBreak;
+ case CSSValueKeepAll:
+ return KeepAllWordBreak;
default:
break;
}
« no previous file with comments | « LayoutTests/fast/css3-text/css3-word-break/css3-word-break-keep-all-expected.html ('k') | Source/core/css/CSSValueKeywords.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698