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

Unified Diff: third_party/WebKit/Source/core/style/FillLayer.h

Issue 2169343002: Initial value for mask-repeat property should be no-repeat (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated test case results Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/css/getComputedStyle-listing-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/FillLayer.h
diff --git a/third_party/WebKit/Source/core/style/FillLayer.h b/third_party/WebKit/Source/core/style/FillLayer.h
index 23d52fc06a5953d5877c5e255b18bace091802cb..f14ef062d2fea3c52bee828c40b9b399c3422365 100644
--- a/third_party/WebKit/Source/core/style/FillLayer.h
+++ b/third_party/WebKit/Source/core/style/FillLayer.h
@@ -194,8 +194,8 @@ public:
static EFillAttachment initialFillAttachment(EFillLayerType) { return ScrollBackgroundAttachment; }
static EFillBox initialFillClip(EFillLayerType) { return BorderFillBox; }
static EFillBox initialFillOrigin(EFillLayerType type) { return type == BackgroundFillLayer ? PaddingFillBox : BorderFillBox; }
- static EFillRepeat initialFillRepeatX(EFillLayerType) { return RepeatFill; }
- static EFillRepeat initialFillRepeatY(EFillLayerType) { return RepeatFill; }
+ static EFillRepeat initialFillRepeatX(EFillLayerType type) { return type == BackgroundFillLayer ? RepeatFill : NoRepeatFill; }
+ static EFillRepeat initialFillRepeatY(EFillLayerType type) { return type == BackgroundFillLayer ? RepeatFill : NoRepeatFill; }
static CompositeOperator initialFillComposite(EFillLayerType) { return CompositeSourceOver; }
static WebBlendMode initialFillBlendMode(EFillLayerType) { return WebBlendModeNormal; }
static EFillSizeType initialFillSizeType(EFillLayerType) { return SizeLength; }
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/css/getComputedStyle-listing-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698