| 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 return true; | 385 return true; |
| 386 } | 386 } |
| 387 return false; | 387 return false; |
| 388 } | 388 } |
| 389 | 389 |
| 390 // This is the list of properties we want to copy in the copyBlockProperties() f
unction. | 390 // This is the list of properties we want to copy in the copyBlockProperties() f
unction. |
| 391 // It is the list of CSS properties that apply specially to block-level elements
. | 391 // It is the list of CSS properties that apply specially to block-level elements
. |
| 392 static const CSSPropertyID staticBlockProperties[] = { | 392 static const CSSPropertyID staticBlockProperties[] = { |
| 393 CSSPropertyOrphans, | 393 CSSPropertyOrphans, |
| 394 CSSPropertyOverflow, // This can be also be applied to replaced elements | 394 CSSPropertyOverflow, // This can be also be applied to replaced elements |
| 395 CSSPropertyWebkitAspectRatio, | |
| 396 CSSPropertyWebkitColumnCount, | 395 CSSPropertyWebkitColumnCount, |
| 397 CSSPropertyWebkitColumnGap, | 396 CSSPropertyWebkitColumnGap, |
| 398 CSSPropertyWebkitColumnRuleColor, | 397 CSSPropertyWebkitColumnRuleColor, |
| 399 CSSPropertyWebkitColumnRuleStyle, | 398 CSSPropertyWebkitColumnRuleStyle, |
| 400 CSSPropertyWebkitColumnRuleWidth, | 399 CSSPropertyWebkitColumnRuleWidth, |
| 401 CSSPropertyWebkitColumnBreakBefore, | 400 CSSPropertyWebkitColumnBreakBefore, |
| 402 CSSPropertyWebkitColumnBreakAfter, | 401 CSSPropertyWebkitColumnBreakAfter, |
| 403 CSSPropertyWebkitColumnBreakInside, | 402 CSSPropertyWebkitColumnBreakInside, |
| 404 CSSPropertyWebkitColumnWidth, | 403 CSSPropertyWebkitColumnWidth, |
| 405 CSSPropertyPageBreakAfter, | 404 CSSPropertyPageBreakAfter, |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 result.appendLiteral(": "); | 604 result.appendLiteral(": "); |
| 606 result.append(propertyValue()->cssText()); | 605 result.append(propertyValue()->cssText()); |
| 607 if (isImportant()) | 606 if (isImportant()) |
| 608 result.appendLiteral(" !important"); | 607 result.appendLiteral(" !important"); |
| 609 result.append(';'); | 608 result.append(';'); |
| 610 return result.toString(); | 609 return result.toString(); |
| 611 } | 610 } |
| 612 | 611 |
| 613 | 612 |
| 614 } // namespace blink | 613 } // namespace blink |
| OLD | NEW |