Skip to content

[css-masking] initial value of mask-repeat and mask-position #599

@CJKu

Description

@CJKu

https://drafts.fxtf.org/css-masking-1/#the-mask-repeat
Name: mask-repeat
Initial: no-repeat
Initial value in blink/webkit: repeat
https://drafts.fxtf.org/css-masking-1/#propdef-mask-position
Name: mask-position
Initial: center
Initial value in blink/webkit: 0%

I filed issues onto WebKit Bugzilla & chromium bug tracker to ask them following spec. Apple has no action on it[1]. Google changed mask-repeat initial value to no-repeat and reverted because of a regression on twitter[2].
Gecko turn on image-mask on nightly/ aurora channel(engineer version). Following the spec, we received several regression reports as well[3].

So, we either need to persuade all browser vendors changing their initial value by what spec defined(and fix all regression on each web site), or we probably should change the spec.

Any thought?

[1] https://bugs.webkit.org/show_bug.cgi?id=159866
[2] https://bugs.chromium.org/p/chromium/issues/detail?id=628968
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=1308963

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions