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

Side by Side Diff: Source/core/rendering/style/RenderStyleConstants.h

Issue 26588002: Remove support for -webkit-line-clamp Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Base files missing... Created 7 years, 2 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 | Annotate | Revision Log
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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 }; 458 };
459 459
460 enum ETransformStyle3D { 460 enum ETransformStyle3D {
461 TransformStyle3DFlat, TransformStyle3DPreserve3D 461 TransformStyle3DFlat, TransformStyle3DPreserve3D
462 }; 462 };
463 463
464 enum EBackfaceVisibility { 464 enum EBackfaceVisibility {
465 BackfaceVisibilityVisible, BackfaceVisibilityHidden 465 BackfaceVisibilityVisible, BackfaceVisibilityHidden
466 }; 466 };
467 467
468 enum ELineClampType { LineClampLineCount, LineClampPercentage };
469
470 enum Hyphens { HyphensNone, HyphensManual, HyphensAuto }; 468 enum Hyphens { HyphensNone, HyphensManual, HyphensAuto };
471 469
472 enum ESpeak { SpeakNone, SpeakNormal, SpeakSpellOut, SpeakDigits, SpeakLiteralPu nctuation, SpeakNoPunctuation }; 470 enum ESpeak { SpeakNone, SpeakNormal, SpeakSpellOut, SpeakDigits, SpeakLiteralPu nctuation, SpeakNoPunctuation };
473 471
474 enum TextEmphasisFill { TextEmphasisFillFilled, TextEmphasisFillOpen }; 472 enum TextEmphasisFill { TextEmphasisFillFilled, TextEmphasisFillOpen };
475 473
476 enum TextEmphasisMark { TextEmphasisMarkNone, TextEmphasisMarkAuto, TextEmphasis MarkDot, TextEmphasisMarkCircle, TextEmphasisMarkDoubleCircle, TextEmphasisMarkT riangle, TextEmphasisMarkSesame, TextEmphasisMarkCustom }; 474 enum TextEmphasisMark { TextEmphasisMarkNone, TextEmphasisMarkAuto, TextEmphasis MarkDot, TextEmphasisMarkCircle, TextEmphasisMarkDoubleCircle, TextEmphasisMarkT riangle, TextEmphasisMarkSesame, TextEmphasisMarkCustom };
477 475
478 enum TextEmphasisPosition { TextEmphasisPositionOver, TextEmphasisPositionUnder }; 476 enum TextEmphasisPosition { TextEmphasisPositionOver, TextEmphasisPositionUnder };
479 477
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 enum EIsolation { IsolationAuto, IsolationIsolate }; 512 enum EIsolation { IsolationAuto, IsolationIsolate };
515 513
516 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows). 514 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows).
517 static const float maximumAllowedFontSize = 1000000.0f; 515 static const float maximumAllowedFontSize = 1000000.0f;
518 516
519 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 517 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
520 518
521 } // namespace WebCore 519 } // namespace WebCore
522 520
523 #endif // RenderStyleConstants_h 521 #endif // RenderStyleConstants_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyle.cpp ('k') | Source/core/rendering/style/StyleRareNonInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698