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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 // CSS3 User Select Values 184 // CSS3 User Select Values
185 185
186 enum EUserSelect { 186 enum EUserSelect {
187 SELECT_NONE, SELECT_TEXT, SELECT_ALL 187 SELECT_NONE, SELECT_TEXT, SELECT_ALL
188 }; 188 };
189 189
190 // CSS3 Image Values 190 // CSS3 Image Values
191 enum ObjectFit { ObjectFitFill, ObjectFitContain, ObjectFitCover, ObjectFitNone, ObjectFitScaleDown }; 191 enum ObjectFit { ObjectFitFill, ObjectFitContain, ObjectFitCover, ObjectFitNone, ObjectFitScaleDown };
192 192
193 // Word Break Values. Matches WinIE, rather than CSS3 193 // Word Break Values. Matches WinIE and CSS3
194 194
195 enum EWordBreak { 195 enum EWordBreak {
196 NormalWordBreak, BreakAllWordBreak, BreakWordBreak 196 NormalWordBreak, BreakAllWordBreak, KeepAllWordBreak, BreakWordBreak
197 }; 197 };
198 198
199 enum EOverflowWrap { 199 enum EOverflowWrap {
200 NormalOverflowWrap, BreakOverflowWrap 200 NormalOverflowWrap, BreakOverflowWrap
201 }; 201 };
202 202
203 enum LineBreak { 203 enum LineBreak {
204 LineBreakAuto, LineBreakLoose, LineBreakNormal, LineBreakStrict, LineBreakAf terWhiteSpace 204 LineBreakAuto, LineBreakLoose, LineBreakNormal, LineBreakStrict, LineBreakAf terWhiteSpace
205 }; 205 };
206 206
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 static const float maximumAllowedFontSize = 1000000.0f; 553 static const float maximumAllowedFontSize = 1000000.0f;
554 554
555 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 555 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
556 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 556 enum TextIndentType { TextIndentNormal, TextIndentHanging };
557 557
558 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 558 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
559 559
560 } // namespace blink 560 } // namespace blink
561 561
562 #endif // ComputedStyleConstants_h 562 #endif // ComputedStyleConstants_h
OLDNEW
« 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