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

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: Modify the test case Created 7 years, 2 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 * Copyright (C) 2013 Intel Corporation. All rights reserved. 5 * Copyright (C) 2013 Intel Corporation. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 CSSPropertyWebkitColumnWidth, 415 CSSPropertyWebkitColumnWidth,
416 CSSPropertyPageBreakAfter, 416 CSSPropertyPageBreakAfter,
417 CSSPropertyPageBreakBefore, 417 CSSPropertyPageBreakBefore,
418 CSSPropertyPageBreakInside, 418 CSSPropertyPageBreakInside,
419 CSSPropertyWebkitRegionBreakAfter, 419 CSSPropertyWebkitRegionBreakAfter,
420 CSSPropertyWebkitRegionBreakBefore, 420 CSSPropertyWebkitRegionBreakBefore,
421 CSSPropertyWebkitRegionBreakInside, 421 CSSPropertyWebkitRegionBreakInside,
422 CSSPropertyTextAlign, 422 CSSPropertyTextAlign,
423 CSSPropertyTextAlignLast, 423 CSSPropertyTextAlignLast,
424 CSSPropertyTextIndent, 424 CSSPropertyTextIndent,
425 CSSPropertyTextJustify,
Julien - ping for review 2013/10/14 12:57:46 Yosin, this change looks fine by me but you may ha
yosin_UTC9 2013/10/15 01:23:47 Looks fine to me too.
425 CSSPropertyWidows 426 CSSPropertyWidows
426 }; 427 };
427 428
428 static const Vector<CSSPropertyID>& blockProperties() 429 static const Vector<CSSPropertyID>& blockProperties()
429 { 430 {
430 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); 431 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ());
431 if (properties.isEmpty()) 432 if (properties.isEmpty())
432 RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(staticBlockPrope rties, WTF_ARRAY_LENGTH(staticBlockProperties), properties); 433 RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(staticBlockPrope rties, WTF_ARRAY_LENGTH(staticBlockProperties), properties);
433 return properties; 434 return properties;
434 } 435 }
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 result.appendLiteral(": "); 706 result.appendLiteral(": ");
706 result.append(propertyValue()->cssText()); 707 result.append(propertyValue()->cssText());
707 if (isImportant()) 708 if (isImportant())
708 result.appendLiteral(" !important"); 709 result.appendLiteral(" !important");
709 result.append(';'); 710 result.append(';');
710 return result.toString(); 711 return result.toString();
711 } 712 }
712 713
713 714
714 } // namespace WebCore 715 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698