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

Side by Side Diff: sky/engine/core/rendering/style/RenderStyleConstants.h

Issue 761283002: Remove webkit-line-clamp (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 }; 380 };
381 381
382 enum ETransformStyle3D { 382 enum ETransformStyle3D {
383 TransformStyle3DFlat, TransformStyle3DPreserve3D 383 TransformStyle3DFlat, TransformStyle3DPreserve3D
384 }; 384 };
385 385
386 enum EBackfaceVisibility { 386 enum EBackfaceVisibility {
387 BackfaceVisibilityVisible, BackfaceVisibilityHidden 387 BackfaceVisibilityVisible, BackfaceVisibilityHidden
388 }; 388 };
389 389
390 enum ELineClampType { LineClampLineCount, LineClampPercentage };
391
392 enum Hyphens { HyphensNone, HyphensManual, HyphensAuto }; 390 enum Hyphens { HyphensNone, HyphensManual, HyphensAuto };
393 391
394 enum ESpeak { SpeakNone, SpeakNormal, SpeakSpellOut, SpeakDigits, SpeakLiteralPu nctuation, SpeakNoPunctuation }; 392 enum ESpeak { SpeakNone, SpeakNormal, SpeakSpellOut, SpeakDigits, SpeakLiteralPu nctuation, SpeakNoPunctuation };
395 393
396 enum TextEmphasisFill { TextEmphasisFillFilled, TextEmphasisFillOpen }; 394 enum TextEmphasisFill { TextEmphasisFillFilled, TextEmphasisFillOpen };
397 395
398 enum TextEmphasisMark { TextEmphasisMarkNone, TextEmphasisMarkAuto, TextEmphasis MarkDot, TextEmphasisMarkCircle, TextEmphasisMarkDoubleCircle, TextEmphasisMarkT riangle, TextEmphasisMarkSesame, TextEmphasisMarkCustom }; 396 enum TextEmphasisMark { TextEmphasisMarkNone, TextEmphasisMarkAuto, TextEmphasis MarkDot, TextEmphasisMarkCircle, TextEmphasisMarkDoubleCircle, TextEmphasisMarkT riangle, TextEmphasisMarkSesame, TextEmphasisMarkCustom };
399 397
400 enum TextEmphasisPosition { TextEmphasisPositionOver, TextEmphasisPositionUnder }; 398 enum TextEmphasisPosition { TextEmphasisPositionOver, TextEmphasisPositionUnder };
401 399
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 static const float maximumAllowedFontSize = 1000000.0f; 459 static const float maximumAllowedFontSize = 1000000.0f;
462 460
463 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 461 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
464 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 462 enum TextIndentType { TextIndentNormal, TextIndentHanging };
465 463
466 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 464 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
467 465
468 } // namespace blink 466 } // namespace blink
469 467
470 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ 468 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698