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 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 * 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 case CSSPropertyOutline: | 308 case CSSPropertyOutline: |
309 case CSSPropertyColumnRule: | 309 case CSSPropertyColumnRule: |
310 case CSSPropertyColumns: | 310 case CSSPropertyColumns: |
311 case CSSPropertyFlex: | 311 case CSSPropertyFlex: |
312 case CSSPropertyFlexFlow: | 312 case CSSPropertyFlexFlow: |
313 case CSSPropertyGridColumn: | 313 case CSSPropertyGridColumn: |
314 case CSSPropertyGridRow: | 314 case CSSPropertyGridRow: |
315 case CSSPropertyGridArea: | 315 case CSSPropertyGridArea: |
316 case CSSPropertyGridGap: | 316 case CSSPropertyGridGap: |
317 case CSSPropertyMotion: | 317 case CSSPropertyMotion: |
| 318 case CSSPropertyOffset: |
318 case CSSPropertyWebkitMarginCollapse: | 319 case CSSPropertyWebkitMarginCollapse: |
319 case CSSPropertyListStyle: | 320 case CSSPropertyListStyle: |
320 case CSSPropertyWebkitTextEmphasis: | 321 case CSSPropertyWebkitTextEmphasis: |
321 case CSSPropertyWebkitTextStroke: | 322 case CSSPropertyWebkitTextStroke: |
322 return true; | 323 return true; |
323 default: | 324 default: |
324 return false; | 325 return false; |
325 } | 326 } |
326 } | 327 } |
327 | 328 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 case CSSPropertyGridGap: | 449 case CSSPropertyGridGap: |
449 return getShorthandValue(gridGapShorthand()); | 450 return getShorthandValue(gridGapShorthand()); |
450 case CSSPropertyFont: | 451 case CSSPropertyFont: |
451 return fontValue(); | 452 return fontValue(); |
452 case CSSPropertyFontVariant: | 453 case CSSPropertyFontVariant: |
453 return fontVariantValue(); | 454 return fontVariantValue(); |
454 case CSSPropertyMargin: | 455 case CSSPropertyMargin: |
455 return get4Values(marginShorthand()); | 456 return get4Values(marginShorthand()); |
456 case CSSPropertyMotion: | 457 case CSSPropertyMotion: |
457 return getShorthandValue(motionShorthand()); | 458 return getShorthandValue(motionShorthand()); |
| 459 case CSSPropertyOffset: |
| 460 return getShorthandValue(offsetShorthand()); |
458 case CSSPropertyWebkitMarginCollapse: | 461 case CSSPropertyWebkitMarginCollapse: |
459 return getShorthandValue(webkitMarginCollapseShorthand()); | 462 return getShorthandValue(webkitMarginCollapseShorthand()); |
460 case CSSPropertyOverflow: | 463 case CSSPropertyOverflow: |
461 return getCommonValue(overflowShorthand()); | 464 return getCommonValue(overflowShorthand()); |
462 case CSSPropertyPadding: | 465 case CSSPropertyPadding: |
463 return get4Values(paddingShorthand()); | 466 return get4Values(paddingShorthand()); |
464 case CSSPropertyTransition: | 467 case CSSPropertyTransition: |
465 return getLayeredShorthandValue(transitionShorthand()); | 468 return getLayeredShorthandValue(transitionShorthand()); |
466 case CSSPropertyListStyle: | 469 case CSSPropertyListStyle: |
467 return getShorthandValue(listStyleShorthand()); | 470 return getShorthandValue(listStyleShorthand()); |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 builder.append(", "); | 870 builder.append(", "); |
868 | 871 |
869 const CSSValue& xValue = repeatXList ? repeatXList->item(i % repeatXList
->length()) : repeatX; | 872 const CSSValue& xValue = repeatXList ? repeatXList->item(i % repeatXList
->length()) : repeatX; |
870 const CSSValue& yValue = repeatYList ? repeatYList->item(i % repeatYList
->length()) : repeatY; | 873 const CSSValue& yValue = repeatYList ? repeatYList->item(i % repeatYList
->length()) : repeatY; |
871 appendBackgroundRepeatValue(builder, xValue, yValue); | 874 appendBackgroundRepeatValue(builder, xValue, yValue); |
872 } | 875 } |
873 return builder.toString(); | 876 return builder.toString(); |
874 } | 877 } |
875 | 878 |
876 } // namespace blink | 879 } // namespace blink |
OLD | NEW |