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

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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 CSSPropertyTextAlignLast, 380 CSSPropertyTextAlignLast,
381 CSSPropertyTextIndent, 381 CSSPropertyTextIndent,
382 CSSPropertyTextJustify,
382 CSSPropertyWidows 383 CSSPropertyWidows
383 }; 384 };
384 385
385 static const Vector<CSSPropertyID>& blockProperties() 386 static const Vector<CSSPropertyID>& blockProperties()
386 { 387 {
387 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); 388 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ());
388 if (properties.isEmpty()) 389 if (properties.isEmpty())
389 RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(staticBlockPrope rties, WTF_ARRAY_LENGTH(staticBlockProperties), properties); 390 RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(staticBlockPrope rties, WTF_ARRAY_LENGTH(staticBlockProperties), properties);
390 return properties; 391 return properties;
391 } 392 }
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 result.appendLiteral(": "); 593 result.appendLiteral(": ");
593 result.append(propertyValue()->cssText()); 594 result.append(propertyValue()->cssText());
594 if (isImportant()) 595 if (isImportant())
595 result.appendLiteral(" !important"); 596 result.appendLiteral(" !important");
596 result.append(';'); 597 result.append(';');
597 return result.toString(); 598 return result.toString();
598 } 599 }
599 600
600 601
601 } // namespace WebCore 602 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698