Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp

Issue 2312713002: Unprefix -webkit-clip-path (Closed)
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 return; 535 return;
536 case CSSPropertyTop: 536 case CSSPropertyTop:
537 style->setTop(animatableValueToLength(value, state)); 537 style->setTop(animatableValueToLength(value, state));
538 return; 538 return;
539 case CSSPropertyWebkitBorderHorizontalSpacing: 539 case CSSPropertyWebkitBorderHorizontalSpacing:
540 style->setHorizontalBorderSpacing(animatableValueClampTo<unsigned short> (value)); 540 style->setHorizontalBorderSpacing(animatableValueClampTo<unsigned short> (value));
541 return; 541 return;
542 case CSSPropertyWebkitBorderVerticalSpacing: 542 case CSSPropertyWebkitBorderVerticalSpacing:
543 style->setVerticalBorderSpacing(animatableValueClampTo<unsigned short>(v alue)); 543 style->setVerticalBorderSpacing(animatableValueClampTo<unsigned short>(v alue));
544 return; 544 return;
545 case CSSPropertyWebkitClipPath: 545 case CSSPropertyClipPath:
546 style->setClipPath(toAnimatableClipPathOperation(value)->getClipPathOper ation()); 546 style->setClipPath(toAnimatableClipPathOperation(value)->getClipPathOper ation());
547 return; 547 return;
548 case CSSPropertyColumnCount: 548 case CSSPropertyColumnCount:
549 style->setColumnCount(clampTo<unsigned short>(round(toAnimatableDouble(v alue)->toDouble()), 1)); 549 style->setColumnCount(clampTo<unsigned short>(round(toAnimatableDouble(v alue)->toDouble()), 1));
550 return; 550 return;
551 case CSSPropertyColumnGap: 551 case CSSPropertyColumnGap:
552 style->setColumnGap(clampTo(toAnimatableDouble(value)->toDouble(), 0)); 552 style->setColumnGap(clampTo(toAnimatableDouble(value)->toDouble(), 0));
553 return; 553 return;
554 case CSSPropertyColumnRuleColor: 554 case CSSPropertyColumnRuleColor:
555 style->setColumnRuleColor(toAnimatableColor(value)->getColor()); 555 style->setColumnRuleColor(toAnimatableColor(value)->getColor());
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 case CSSPropertyRy: 706 case CSSPropertyRy:
707 style->setRy(animatableValueToLength(value, state, ValueRangeNonNegative )); 707 style->setRy(animatableValueToLength(value, state, ValueRangeNonNegative ));
708 return; 708 return;
709 709
710 default: 710 default:
711 ASSERT_NOT_REACHED(); 711 ASSERT_NOT_REACHED();
712 } 712 }
713 } 713 }
714 714
715 } // namespace blink 715 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698