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

Unified Diff: Source/core/style/ComputedStyleConstants.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
« no previous file with comments | « Source/core/layout/line/BreakingContextInlineHeaders.h ('k') | Source/platform/text/TextBreakIterator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/ComputedStyleConstants.h
diff --git a/Source/core/style/ComputedStyleConstants.h b/Source/core/style/ComputedStyleConstants.h
index 06d713085878e9769fe08c5766459cf148242efb..0aa2718fe8c850a9849f26484482ea37299a1542 100644
--- a/Source/core/style/ComputedStyleConstants.h
+++ b/Source/core/style/ComputedStyleConstants.h
@@ -190,10 +190,10 @@ enum EUserSelect {
// CSS3 Image Values
enum ObjectFit { ObjectFitFill, ObjectFitContain, ObjectFitCover, ObjectFitNone, ObjectFitScaleDown };
-// Word Break Values. Matches WinIE, rather than CSS3
+// Word Break Values. Matches WinIE and CSS3
enum EWordBreak {
- NormalWordBreak, BreakAllWordBreak, BreakWordBreak
+ NormalWordBreak, BreakAllWordBreak, KeepAllWordBreak, BreakWordBreak
};
enum EOverflowWrap {
« no previous file with comments | « Source/core/layout/line/BreakingContextInlineHeaders.h ('k') | Source/platform/text/TextBreakIterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698