| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 case CSSPropertyMaxWidth: | 174 case CSSPropertyMaxWidth: |
| 175 return createFromLength(style->maxWidth(), style); | 175 return createFromLength(style->maxWidth(), style); |
| 176 case CSSPropertyMinHeight: | 176 case CSSPropertyMinHeight: |
| 177 return createFromLength(style->minHeight(), style); | 177 return createFromLength(style->minHeight(), style); |
| 178 case CSSPropertyMinWidth: | 178 case CSSPropertyMinWidth: |
| 179 return createFromLength(style->minWidth(), style); | 179 return createFromLength(style->minWidth(), style); |
| 180 case CSSPropertyOpacity: | 180 case CSSPropertyOpacity: |
| 181 return createFromDouble(style->opacity()); | 181 return createFromDouble(style->opacity()); |
| 182 case CSSPropertyOutlineColor: | 182 case CSSPropertyOutlineColor: |
| 183 return createFromColor(property, style); | 183 return createFromColor(property, style); |
| 184 case CSSPropertyOutlineWidth: |
| 185 return createFromDouble(style->outlineWidth()); |
| 184 case CSSPropertyPaddingBottom: | 186 case CSSPropertyPaddingBottom: |
| 185 return createFromLength(style->paddingBottom(), style); | 187 return createFromLength(style->paddingBottom(), style); |
| 186 case CSSPropertyPaddingLeft: | 188 case CSSPropertyPaddingLeft: |
| 187 return createFromLength(style->paddingLeft(), style); | 189 return createFromLength(style->paddingLeft(), style); |
| 188 case CSSPropertyPaddingRight: | 190 case CSSPropertyPaddingRight: |
| 189 return createFromLength(style->paddingRight(), style); | 191 return createFromLength(style->paddingRight(), style); |
| 190 case CSSPropertyPaddingTop: | 192 case CSSPropertyPaddingTop: |
| 191 return createFromLength(style->paddingTop(), style); | 193 return createFromLength(style->paddingTop(), style); |
| 192 case CSSPropertyRight: | 194 case CSSPropertyRight: |
| 193 return createFromLength(style->right(), style); | 195 return createFromLength(style->right(), style); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 220 case CSSPropertyWidth: | 222 case CSSPropertyWidth: |
| 221 return createFromLength(style->width(), style); | 223 return createFromLength(style->width(), style); |
| 222 default: | 224 default: |
| 223 RELEASE_ASSERT_WITH_MESSAGE(!CSSAnimations::isAnimatableProperty(propert
y), "Web Animations not yet implemented: Create AnimatableValue from render styl
e: %s", getPropertyNameString(property).utf8().data()); | 225 RELEASE_ASSERT_WITH_MESSAGE(!CSSAnimations::isAnimatableProperty(propert
y), "Web Animations not yet implemented: Create AnimatableValue from render styl
e: %s", getPropertyNameString(property).utf8().data()); |
| 224 ASSERT_NOT_REACHED(); | 226 ASSERT_NOT_REACHED(); |
| 225 return 0; | 227 return 0; |
| 226 } | 228 } |
| 227 } | 229 } |
| 228 | 230 |
| 229 } // namespace WebCore | 231 } // namespace WebCore |
| OLD | NEW |