| OLD | NEW |
| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 } | 273 } |
| 274 | 274 |
| 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 CSSPropertyOrphans, | |
| 284 CSSPropertyOverflow, // This can be also be applied to replaced elements | 283 CSSPropertyOverflow, // This can be also be applied to replaced elements |
| 285 CSSPropertyWebkitAspectRatio, | 284 CSSPropertyWebkitAspectRatio, |
| 286 CSSPropertyPageBreakAfter, | 285 CSSPropertyPageBreakAfter, |
| 287 CSSPropertyPageBreakBefore, | 286 CSSPropertyPageBreakBefore, |
| 288 CSSPropertyPageBreakInside, | 287 CSSPropertyPageBreakInside, |
| 289 CSSPropertyTextAlign, | 288 CSSPropertyTextAlign, |
| 290 CSSPropertyTextAlignLast, | 289 CSSPropertyTextAlignLast, |
| 291 CSSPropertyTextIndent, | 290 CSSPropertyTextIndent, |
| 292 CSSPropertyTextJustify, | 291 CSSPropertyTextJustify, |
| 293 CSSPropertyWidows | 292 CSSPropertyWidows |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 StringBuilder result; | 474 StringBuilder result; |
| 476 result.append(cssName()); | 475 result.append(cssName()); |
| 477 result.appendLiteral(": "); | 476 result.appendLiteral(": "); |
| 478 result.append(propertyValue()->cssText()); | 477 result.append(propertyValue()->cssText()); |
| 479 result.append(';'); | 478 result.append(';'); |
| 480 return result.toString(); | 479 return result.toString(); |
| 481 } | 480 } |
| 482 | 481 |
| 483 | 482 |
| 484 } // namespace blink | 483 } // namespace blink |
| OLD | NEW |