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

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

Issue 14178009: Remove CSS_REGIONS compile flag from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use RuntimeEnabledFeatures::cssRegionsEnabled all over the places. Guard WEBKIT_REGION_RULE at runt… Created 7 years, 7 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 Apple Inc. All r ights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights 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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 CSSPropertyWebkitColumnRuleColor, 367 CSSPropertyWebkitColumnRuleColor,
368 CSSPropertyWebkitColumnRuleStyle, 368 CSSPropertyWebkitColumnRuleStyle,
369 CSSPropertyWebkitColumnRuleWidth, 369 CSSPropertyWebkitColumnRuleWidth,
370 CSSPropertyWebkitColumnBreakBefore, 370 CSSPropertyWebkitColumnBreakBefore,
371 CSSPropertyWebkitColumnBreakAfter, 371 CSSPropertyWebkitColumnBreakAfter,
372 CSSPropertyWebkitColumnBreakInside, 372 CSSPropertyWebkitColumnBreakInside,
373 CSSPropertyWebkitColumnWidth, 373 CSSPropertyWebkitColumnWidth,
374 CSSPropertyPageBreakAfter, 374 CSSPropertyPageBreakAfter,
375 CSSPropertyPageBreakBefore, 375 CSSPropertyPageBreakBefore,
376 CSSPropertyPageBreakInside, 376 CSSPropertyPageBreakInside,
377 #if ENABLE(CSS_REGIONS)
378 CSSPropertyWebkitRegionBreakAfter, 377 CSSPropertyWebkitRegionBreakAfter,
379 CSSPropertyWebkitRegionBreakBefore, 378 CSSPropertyWebkitRegionBreakBefore,
380 CSSPropertyWebkitRegionBreakInside, 379 CSSPropertyWebkitRegionBreakInside,
381 #endif
382 CSSPropertyTextAlign, 380 CSSPropertyTextAlign,
383 #if ENABLE(CSS3_TEXT) 381 #if ENABLE(CSS3_TEXT)
384 CSSPropertyWebkitTextAlignLast, 382 CSSPropertyWebkitTextAlignLast,
385 #endif // CSS3_TEXT 383 #endif // CSS3_TEXT
386 CSSPropertyTextIndent, 384 CSSPropertyTextIndent,
387 CSSPropertyWidows 385 CSSPropertyWidows
388 }; 386 };
389 387
390 static const Vector<CSSPropertyID>& blockProperties() 388 static const Vector<CSSPropertyID>& blockProperties()
391 { 389 {
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 result.appendLiteral(": "); 608 result.appendLiteral(": ");
611 result.append(propertyValue()->cssText()); 609 result.append(propertyValue()->cssText());
612 if (isImportant()) 610 if (isImportant())
613 result.appendLiteral(" !important"); 611 result.appendLiteral(" !important");
614 result.append(';'); 612 result.append(';');
615 return result.toString(); 613 return result.toString();
616 } 614 }
617 615
618 616
619 } // namespace WebCore 617 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698