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

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

Issue 17155007: [CSS3] Parsing the property, text-justify. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parsingTextJustify
Patch Set: Created 7 years, 6 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 TextDecorationStyleDotted, 354 TextDecorationStyleDotted,
355 TextDecorationStyleDashed, 355 TextDecorationStyleDashed,
356 TextDecorationStyleWavy 356 TextDecorationStyleWavy
357 }; 357 };
358 358
359 #if ENABLE(CSS3_TEXT) 359 #if ENABLE(CSS3_TEXT)
360 enum TextAlignLast { 360 enum TextAlignLast {
361 TextAlignLastAuto, TextAlignLastStart, TextAlignLastEnd, TextAlignLastLeft, TextAlignLastRight, TextAlignLastCenter, TextAlignLastJustify 361 TextAlignLastAuto, TextAlignLastStart, TextAlignLastEnd, TextAlignLastLeft, TextAlignLastRight, TextAlignLastCenter, TextAlignLastJustify
362 }; 362 };
363 363
364 enum TextJustify {
365 TextJustifyAuto, TextJustifyNone, TextJustifyInterWord, TextJustifyDistribut e
366 };
367
364 enum TextUnderlinePosition { 368 enum TextUnderlinePosition {
365 // FIXME: Implement support for 'under left' and 'under right' values. 369 // FIXME: Implement support for 'under left' and 'under right' values.
366 TextUnderlinePositionAuto = 0x1, TextUnderlinePositionAlphabetic = 0x2, Text UnderlinePositionUnder = 0x4 370 TextUnderlinePositionAuto = 0x1, TextUnderlinePositionAlphabetic = 0x2, Text UnderlinePositionUnder = 0x4
367 }; 371 };
368 #endif // CSS3_TEXT 372 #endif // CSS3_TEXT
369 373
370 enum EPageBreak { 374 enum EPageBreak {
371 PBAUTO, PBALWAYS, PBAVOID 375 PBAUTO, PBALWAYS, PBAVOID
372 }; 376 };
373 377
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows). 508 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows).
505 static const float maximumAllowedFontSize = 1000000.0f; 509 static const float maximumAllowedFontSize = 1000000.0f;
506 510
507 #if ENABLE(CSS3_TEXT) 511 #if ENABLE(CSS3_TEXT)
508 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 512 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
509 #endif 513 #endif
510 514
511 } // namespace WebCore 515 } // namespace WebCore
512 516
513 #endif // RenderStyleConstants_h 517 #endif // RenderStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698