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

Side by Side Diff: Source/core/css/StylePropertySet.cpp

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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 CSSPropertyWebkitColumnBreakAfter, 370 CSSPropertyWebkitColumnBreakAfter,
371 CSSPropertyWebkitColumnBreakInside, 371 CSSPropertyWebkitColumnBreakInside,
372 CSSPropertyWebkitColumnWidth, 372 CSSPropertyWebkitColumnWidth,
373 CSSPropertyPageBreakAfter, 373 CSSPropertyPageBreakAfter,
374 CSSPropertyPageBreakBefore, 374 CSSPropertyPageBreakBefore,
375 CSSPropertyPageBreakInside, 375 CSSPropertyPageBreakInside,
376 CSSPropertyWebkitRegionBreakAfter, 376 CSSPropertyWebkitRegionBreakAfter,
377 CSSPropertyWebkitRegionBreakBefore, 377 CSSPropertyWebkitRegionBreakBefore,
378 CSSPropertyWebkitRegionBreakInside, 378 CSSPropertyWebkitRegionBreakInside,
379 CSSPropertyTextAlign, 379 CSSPropertyTextAlign,
380 CSSPropertyTextJustify,
380 #if ENABLE(CSS3_TEXT) 381 #if ENABLE(CSS3_TEXT)
381 CSSPropertyWebkitTextAlignLast, 382 CSSPropertyWebkitTextAlignLast,
382 #endif // CSS3_TEXT 383 #endif // CSS3_TEXT
383 CSSPropertyTextIndent, 384 CSSPropertyTextIndent,
384 CSSPropertyWidows 385 CSSPropertyWidows
385 }; 386 };
386 387
387 static const Vector<CSSPropertyID>& blockProperties() 388 static const Vector<CSSPropertyID>& blockProperties()
388 { 389 {
389 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); 390 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ());
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 result.appendLiteral(": "); 595 result.appendLiteral(": ");
595 result.append(propertyValue()->cssText()); 596 result.append(propertyValue()->cssText());
596 if (isImportant()) 597 if (isImportant())
597 result.appendLiteral(" !important"); 598 result.appendLiteral(" !important");
598 result.append(';'); 599 result.append(';');
599 return result.toString(); 600 return result.toString();
600 } 601 }
601 602
602 603
603 } // namespace WebCore 604 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698