OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> | 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. |
4 * All rights reserved. | 4 * All rights reserved. |
5 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 5 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
7 * Copyright (C) 2011 Sencha, Inc. All rights reserved. | 7 * Copyright (C) 2011 Sencha, Inc. All rights reserved. |
8 * Copyright (C) 2015 Google Inc. All rights reserved. | 8 * Copyright (C) 2015 Google Inc. All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 3394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3405 layout_object, styled_node, | 3405 layout_object, styled_node, |
3406 allow_visited_style); | 3406 allow_visited_style); |
3407 case CSSPropertyPadding: | 3407 case CSSPropertyPadding: |
3408 return ValuesForSidesShorthand(paddingShorthand(), style, layout_object, | 3408 return ValuesForSidesShorthand(paddingShorthand(), style, layout_object, |
3409 styled_node, allow_visited_style); | 3409 styled_node, allow_visited_style); |
3410 // Individual properties not part of the spec. | 3410 // Individual properties not part of the spec. |
3411 case CSSPropertyBackgroundRepeatX: | 3411 case CSSPropertyBackgroundRepeatX: |
3412 case CSSPropertyBackgroundRepeatY: | 3412 case CSSPropertyBackgroundRepeatY: |
3413 return nullptr; | 3413 return nullptr; |
3414 | 3414 |
3415 case CSSPropertyMotion: | |
3416 return ValuesForShorthandProperty(motionShorthand(), style, layout_object, | |
3417 styled_node, allow_visited_style); | |
3418 | |
3419 case CSSPropertyOffset: | 3415 case CSSPropertyOffset: |
3420 return ValuesForShorthandProperty(offsetShorthand(), style, layout_object, | 3416 return ValuesForShorthandProperty(offsetShorthand(), style, layout_object, |
3421 styled_node, allow_visited_style); | 3417 styled_node, allow_visited_style); |
3422 | 3418 |
3423 case CSSPropertyOffsetAnchor: | 3419 case CSSPropertyOffsetAnchor: |
3424 return ValueForPosition(style.OffsetAnchor(), style); | 3420 return ValueForPosition(style.OffsetAnchor(), style); |
3425 | 3421 |
3426 case CSSPropertyOffsetPosition: | 3422 case CSSPropertyOffsetPosition: |
3427 return ValueForPosition(style.OffsetPosition(), style); | 3423 return ValueForPosition(style.OffsetPosition(), style); |
3428 | 3424 |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3743 case CSSPropertyAll: | 3739 case CSSPropertyAll: |
3744 return nullptr; | 3740 return nullptr; |
3745 default: | 3741 default: |
3746 break; | 3742 break; |
3747 } | 3743 } |
3748 NOTREACHED(); | 3744 NOTREACHED(); |
3749 return nullptr; | 3745 return nullptr; |
3750 } | 3746 } |
3751 | 3747 |
3752 } // namespace blink | 3748 } // namespace blink |
OLD | NEW |