| 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, | 285 CSSPropertyPageBreakAfter, |
| 286 CSSPropertyPageBreakBefore, | 286 CSSPropertyPageBreakBefore, |
| 287 CSSPropertyPageBreakInside, | 287 CSSPropertyPageBreakInside, |
| 288 CSSPropertyTextAlign, | 288 CSSPropertyTextAlign, |
| 289 CSSPropertyTextAlignLast, | 289 CSSPropertyTextAlignLast, |
| 290 CSSPropertyTextIndent, | 290 CSSPropertyTextIndent, |
| 291 CSSPropertyTextJustify, | 291 CSSPropertyTextJustify, |
| 292 CSSPropertyWidows | |
| 293 }; | 292 }; |
| 294 | 293 |
| 295 static const Vector<CSSPropertyID>& blockProperties() | 294 static const Vector<CSSPropertyID>& blockProperties() |
| 296 { | 295 { |
| 297 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); | 296 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); |
| 298 if (properties.isEmpty()) | 297 if (properties.isEmpty()) |
| 299 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticBlockPro
perties, WTF_ARRAY_LENGTH(staticBlockProperties), properties); | 298 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticBlockPro
perties, WTF_ARRAY_LENGTH(staticBlockProperties), properties); |
| 300 return properties; | 299 return properties; |
| 301 } | 300 } |
| 302 | 301 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 StringBuilder result; | 473 StringBuilder result; |
| 475 result.append(cssName()); | 474 result.append(cssName()); |
| 476 result.appendLiteral(": "); | 475 result.appendLiteral(": "); |
| 477 result.append(propertyValue()->cssText()); | 476 result.append(propertyValue()->cssText()); |
| 478 result.append(';'); | 477 result.append(';'); |
| 479 return result.toString(); | 478 return result.toString(); |
| 480 } | 479 } |
| 481 | 480 |
| 482 | 481 |
| 483 } // namespace blink | 482 } // namespace blink |
| OLD | NEW |