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

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, 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 * (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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 CSSPropertyWebkitColumnWidth, 378 CSSPropertyWebkitColumnWidth,
379 CSSPropertyPageBreakAfter, 379 CSSPropertyPageBreakAfter,
380 CSSPropertyPageBreakBefore, 380 CSSPropertyPageBreakBefore,
381 CSSPropertyPageBreakInside, 381 CSSPropertyPageBreakInside,
382 CSSPropertyWebkitRegionBreakAfter, 382 CSSPropertyWebkitRegionBreakAfter,
383 CSSPropertyWebkitRegionBreakBefore, 383 CSSPropertyWebkitRegionBreakBefore,
384 CSSPropertyWebkitRegionBreakInside, 384 CSSPropertyWebkitRegionBreakInside,
385 CSSPropertyTextAlign, 385 CSSPropertyTextAlign,
386 #if ENABLE(CSS3_TEXT) 386 #if ENABLE(CSS3_TEXT)
387 CSSPropertyWebkitTextAlignLast, 387 CSSPropertyWebkitTextAlignLast,
388 CSSPropertyWebkitTextJustify,
388 #endif // CSS3_TEXT 389 #endif // CSS3_TEXT
389 CSSPropertyTextIndent, 390 CSSPropertyTextIndent,
390 CSSPropertyWidows 391 CSSPropertyWidows
391 }; 392 };
392 393
393 static const Vector<CSSPropertyID>& blockProperties() 394 static const Vector<CSSPropertyID>& blockProperties()
394 { 395 {
395 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); 396 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ());
396 if (properties.isEmpty()) 397 if (properties.isEmpty())
397 RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(staticBlockPrope rties, WTF_ARRAY_LENGTH(staticBlockProperties), properties); 398 RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(staticBlockPrope rties, WTF_ARRAY_LENGTH(staticBlockProperties), properties);
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 result.appendLiteral(": "); 607 result.appendLiteral(": ");
607 result.append(propertyValue()->cssText()); 608 result.append(propertyValue()->cssText());
608 if (isImportant()) 609 if (isImportant())
609 result.appendLiteral(" !important"); 610 result.appendLiteral(" !important");
610 result.append(';'); 611 result.append(';');
611 return result.toString(); 612 return result.toString();
612 } 613 }
613 614
614 615
615 } // namespace WebCore 616 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698