The initial value of webkit-mask-position should be center
Reported by
cjcool...@gmail.com,
Jul 18 2016
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0 Example URL: Steps to reproduce the problem: 1. Access any web page which has a CSS mask. 2. mask-position should be center by default, instead of left top. 3. What is the expected behavior? According to the spec[1], the initial value of webkit-mask-position should be center. [1] https://drafts.fxtf.org/css-masking-1/#the-mask-position What went wrong? The initial value of webkit-mask-position is left top Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? No Does this work in other browsers? No Chrome version: <Copy from: 'about:version'> Channel: n/a OS Version: 10.0 Flash Version: Shockwave Flash 22.0 r0
,
Jul 19 2016
In order to change this we'd need to look at the compatibility risk of the change. (As a vendor-prefixed version, -webkit-mask-position doesn't necessarily have to conform to the specification, though obviously it's better if it does).
,
Jul 20 2016
-webkit-mask-position is specified in the compat spec to be a simple alias of mask-position https://compat.spec.whatwg.org/#css-simple-aliases
,
Aug 30 2016
To avoid more web compatibility issues occurring between different vendors, does Chrome consider to make this change according to mask spec definition ?
,
Feb 12 2017
,
Oct 31 2017
Probably needs some sort of use counter for using the initial value of -webkit-mask-position?
,
Dec 6 2017
,
Apr 1 2018
The spec appears to be changing to match our behavior: https://github.com/w3c/fxtf-drafts/issues/111.
,
Apr 20 2018
Spec changed in https://github.com/w3c/fxtf-drafts/commit/bdb4c3155192a10a5205c5842fe063e15a887f42, not sure if there are existing testcases for this that should be upstreamed to WPT. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by dtapu...@chromium.org
, Jul 18 2016