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

Side by Side Diff: sky/engine/core/css/StylePropertySet.cpp

Issue 1070313003: Remove page-break properties and captions (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « sky/engine/core/css/CSSProperties.in ('k') | sky/engine/core/css/parser/BisonCSSParser-in.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 String StylePropertySet::asText() const 275 String StylePropertySet::asText() const
276 { 276 {
277 return StylePropertySerializer(*this).asText(); 277 return StylePropertySerializer(*this).asText();
278 } 278 }
279 279
280 // This is the list of properties we want to copy in the copyBlockProperties() f unction. 280 // This is the list of properties we want to copy in the copyBlockProperties() f unction.
281 // It is the list of CSS properties that apply specially to block-level elements . 281 // It is the list of CSS properties that apply specially to block-level elements .
282 static const CSSPropertyID staticBlockProperties[] = { 282 static const CSSPropertyID staticBlockProperties[] = {
283 CSSPropertyOverflow, // This can be also be applied to replaced elements 283 CSSPropertyOverflow, // This can be also be applied to replaced elements
284 CSSPropertyWebkitAspectRatio, 284 CSSPropertyWebkitAspectRatio,
285 CSSPropertyPageBreakAfter,
286 CSSPropertyPageBreakBefore,
287 CSSPropertyPageBreakInside,
288 CSSPropertyTextAlign, 285 CSSPropertyTextAlign,
289 CSSPropertyTextAlignLast, 286 CSSPropertyTextAlignLast,
290 CSSPropertyTextIndent, 287 CSSPropertyTextIndent,
291 CSSPropertyTextJustify, 288 CSSPropertyTextJustify,
292 CSSPropertyWidows 289 CSSPropertyWidows
293 }; 290 };
294 291
295 static const Vector<CSSPropertyID>& blockProperties() 292 static const Vector<CSSPropertyID>& blockProperties()
296 { 293 {
297 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); 294 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ());
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 StringBuilder result; 471 StringBuilder result;
475 result.append(cssName()); 472 result.append(cssName());
476 result.appendLiteral(": "); 473 result.appendLiteral(": ");
477 result.append(propertyValue()->cssText()); 474 result.append(propertyValue()->cssText());
478 result.append(';'); 475 result.append(';');
479 return result.toString(); 476 return result.toString();
480 } 477 }
481 478
482 479
483 } // namespace blink 480 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSProperties.in ('k') | sky/engine/core/css/parser/BisonCSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698