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

Side by Side Diff: sky/engine/core/css/resolver/AnimatedStyleBuilder.cpp

Issue 850103003: Unprefix -webkit-filter and add a pixel test for it. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 return; 436 return;
437 case CSSPropertyWebkitBorderHorizontalSpacing: 437 case CSSPropertyWebkitBorderHorizontalSpacing:
438 style->setHorizontalBorderSpacing(animatableValueRoundClampTo<unsigned s hort>(value)); 438 style->setHorizontalBorderSpacing(animatableValueRoundClampTo<unsigned s hort>(value));
439 return; 439 return;
440 case CSSPropertyWebkitBorderVerticalSpacing: 440 case CSSPropertyWebkitBorderVerticalSpacing:
441 style->setVerticalBorderSpacing(animatableValueRoundClampTo<unsigned sho rt>(value)); 441 style->setVerticalBorderSpacing(animatableValueRoundClampTo<unsigned sho rt>(value));
442 return; 442 return;
443 case CSSPropertyWebkitClipPath: 443 case CSSPropertyWebkitClipPath:
444 style->setClipPath(toAnimatableClipPathOperation(value)->clipPathOperati on()); 444 style->setClipPath(toAnimatableClipPathOperation(value)->clipPathOperati on());
445 return; 445 return;
446 case CSSPropertyWebkitFilter: 446 case CSSPropertyFilter:
447 style->setFilter(toAnimatableFilterOperations(value)->operations()); 447 style->setFilter(toAnimatableFilterOperations(value)->operations());
448 return; 448 return;
449 case CSSPropertyWebkitMaskBoxImageOutset: 449 case CSSPropertyWebkitMaskBoxImageOutset:
450 style->setMaskBoxImageOutset(animatableValueToBorderImageLengthBox(value , state)); 450 style->setMaskBoxImageOutset(animatableValueToBorderImageLengthBox(value , state));
451 return; 451 return;
452 case CSSPropertyWebkitMaskBoxImageSlice: 452 case CSSPropertyWebkitMaskBoxImageSlice:
453 style->setMaskBoxImageSlices(animatableValueToLengthBox(toAnimatableLeng thBoxAndBool(value)->box(), state, ValueRangeNonNegative)); 453 style->setMaskBoxImageSlices(animatableValueToLengthBox(toAnimatableLeng thBoxAndBool(value)->box(), state, ValueRangeNonNegative));
454 style->setMaskBoxImageSlicesFill(toAnimatableLengthBoxAndBool(value)->fl ag()); 454 style->setMaskBoxImageSlicesFill(toAnimatableLengthBoxAndBool(value)->fl ag());
455 return; 455 return;
456 case CSSPropertyWebkitMaskBoxImageSource: 456 case CSSPropertyWebkitMaskBoxImageSource:
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 return; 510 return;
511 case CSSPropertyZIndex: 511 case CSSPropertyZIndex:
512 style->setZIndex(animatableValueRoundClampTo<int>(value)); 512 style->setZIndex(animatableValueRoundClampTo<int>(value));
513 return; 513 return;
514 default: 514 default:
515 ASSERT_NOT_REACHED(); 515 ASSERT_NOT_REACHED();
516 } 516 }
517 } 517 }
518 518
519 } // namespace blink 519 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/css/parser/CSSPropertyParser.cpp ('k') | sky/engine/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698