[Webkit-unassigned] [Bug 120626] [CSS Masking] -webkit-mask-origin should have an initial value of padding-box

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 3 08:32:20 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=120626





--- Comment #4 from Dirk Schulze <krit at webkit.org>  2013-09-03 08:31:39 PST ---
(From update of attachment 210349)
View in context: https://bugs.webkit.org/attachment.cgi?id=210349&action=review

> Source/WebCore/rendering/style/FillLayer.h:180
> -    static EFillBox initialFillOrigin(EFillLayerType type) { return type == BackgroundFillLayer ? PaddingFillBox : BorderFillBox; }
> +    static EFillBox initialFillOrigin(EFillLayerType) { return PaddingFillBox; }

Well, this code explicitly checked for BackgroundFillLayer. If it is background, then it sets padding-box. Obviously the type can be different and then it is BorderFillBox. I assume that the other case is -webkit-background, which must stay as it is. If it is incorrect for masking, you may add MaskFillLayer to the condition (does MaskFillLayer even exist?)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list