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

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, 5 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 TextDecorationStyleDouble, 350 TextDecorationStyleDouble,
351 TextDecorationStyleDotted, 351 TextDecorationStyleDotted,
352 TextDecorationStyleDashed, 352 TextDecorationStyleDashed,
353 TextDecorationStyleWavy 353 TextDecorationStyleWavy
354 }; 354 };
355 355
356 enum TextAlignLast { 356 enum TextAlignLast {
357 TextAlignLastAuto, TextAlignLastStart, TextAlignLastEnd, TextAlignLastLeft, TextAlignLastRight, TextAlignLastCenter, TextAlignLastJustify 357 TextAlignLastAuto, TextAlignLastStart, TextAlignLastEnd, TextAlignLastLeft, TextAlignLastRight, TextAlignLastCenter, TextAlignLastJustify
358 }; 358 };
359 359
360 enum TextJustify {
361 // FIXME: Implement support for 'auto', 'none', 'inter-word', and 'distribut e'
Julien - ping for review 2013/07/17 01:51:10 This FIXME is a bit too remote from the code you w
dw.im 2013/07/17 02:03:15 Yes.. I will try to implement those value in near
362 TextJustifyAuto, TextJustifyNone, TextJustifyInterWord, TextJustifyDistribut e
363 };
364
360 #if ENABLE(CSS3_TEXT) 365 #if ENABLE(CSS3_TEXT)
361 enum TextUnderlinePosition { 366 enum TextUnderlinePosition {
362 // FIXME: Implement support for 'under left' and 'under right' values. 367 // FIXME: Implement support for 'under left' and 'under right' values.
363 TextUnderlinePositionAuto = 0x1, TextUnderlinePositionAlphabetic = 0x2, Text UnderlinePositionUnder = 0x4 368 TextUnderlinePositionAuto = 0x1, TextUnderlinePositionAlphabetic = 0x2, Text UnderlinePositionUnder = 0x4
364 }; 369 };
365 #endif // CSS3_TEXT 370 #endif // CSS3_TEXT
366 371
367 enum EPageBreak { 372 enum EPageBreak {
368 PBAUTO, PBALWAYS, PBAVOID 373 PBAUTO, PBALWAYS, PBAVOID
369 }; 374 };
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows). 506 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows).
502 static const float maximumAllowedFontSize = 1000000.0f; 507 static const float maximumAllowedFontSize = 1000000.0f;
503 508
504 #if ENABLE(CSS3_TEXT) 509 #if ENABLE(CSS3_TEXT)
505 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 510 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
506 #endif 511 #endif
507 512
508 } // namespace WebCore 513 } // namespace WebCore
509 514
510 #endif // RenderStyleConstants_h 515 #endif // RenderStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698