| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 case CSSPropertyBackgroundPositionX: | 286 case CSSPropertyBackgroundPositionX: |
| 287 setOnFillLayers<CSSPropertyBackgroundPositionX>(style->accessBackgroundL
ayers(), value, state); | 287 setOnFillLayers<CSSPropertyBackgroundPositionX>(style->accessBackgroundL
ayers(), value, state); |
| 288 return; | 288 return; |
| 289 case CSSPropertyBackgroundPositionY: | 289 case CSSPropertyBackgroundPositionY: |
| 290 setOnFillLayers<CSSPropertyBackgroundPositionY>(style->accessBackgroundL
ayers(), value, state); | 290 setOnFillLayers<CSSPropertyBackgroundPositionY>(style->accessBackgroundL
ayers(), value, state); |
| 291 return; | 291 return; |
| 292 case CSSPropertyBackgroundSize: | 292 case CSSPropertyBackgroundSize: |
| 293 setOnFillLayers<CSSPropertyBackgroundSize>(style->accessBackgroundLayers
(), value, state); | 293 setOnFillLayers<CSSPropertyBackgroundSize>(style->accessBackgroundLayers
(), value, state); |
| 294 return; | 294 return; |
| 295 case CSSPropertyBaselineShift: | 295 case CSSPropertyBaselineShift: |
| 296 style->setBaselineShiftValue(toAnimatableSVGLength(value)->toSVGLength()
); | 296 style->accessSVGStyle().setBaselineShift(BS_LENGTH); |
| 297 style->accessSVGStyle().setBaselineShiftValue(animatableValueToLength(va
lue, state)); |
| 297 return; | 298 return; |
| 298 case CSSPropertyBorderBottomColor: | 299 case CSSPropertyBorderBottomColor: |
| 299 style->setBorderBottomColor(toAnimatableColor(value)->color()); | 300 style->setBorderBottomColor(toAnimatableColor(value)->color()); |
| 300 style->setVisitedLinkBorderBottomColor(toAnimatableColor(value)->visited
LinkColor()); | 301 style->setVisitedLinkBorderBottomColor(toAnimatableColor(value)->visited
LinkColor()); |
| 301 return; | 302 return; |
| 302 case CSSPropertyBorderBottomLeftRadius: | 303 case CSSPropertyBorderBottomLeftRadius: |
| 303 style->setBorderBottomLeftRadius(animatableValueToLengthSize(value, stat
e, ValueRangeNonNegative)); | 304 style->setBorderBottomLeftRadius(animatableValueToLengthSize(value, stat
e, ValueRangeNonNegative)); |
| 304 return; | 305 return; |
| 305 case CSSPropertyBorderBottomRightRadius: | 306 case CSSPropertyBorderBottomRightRadius: |
| 306 style->setBorderBottomRightRadius(animatableValueToLengthSize(value, sta
te, ValueRangeNonNegative)); | 307 style->setBorderBottomRightRadius(animatableValueToLengthSize(value, sta
te, ValueRangeNonNegative)); |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 case CSSPropertyY: | 632 case CSSPropertyY: |
| 632 style->setY(animatableValueToLength(value, state)); | 633 style->setY(animatableValueToLength(value, state)); |
| 633 return; | 634 return; |
| 634 | 635 |
| 635 default: | 636 default: |
| 636 ASSERT_NOT_REACHED(); | 637 ASSERT_NOT_REACHED(); |
| 637 } | 638 } |
| 638 } | 639 } |
| 639 | 640 |
| 640 } // namespace blink | 641 } // namespace blink |
| OLD | NEW |