Closed Bug 1409519 Opened 7 years ago Closed 7 years ago

-webkit-mask-image is not ignored

Categories

(Core :: CSS Parsing and Computation, defect)

58 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: wowmotty, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Steps to reproduce:

A -webkit-mask-image property will override or define the Firefox mask-image property. The associated mask-image properties will likely have this same issue as mentioned in the "expected results" below.


Actual results:

In this demo (https://jsfiddle.net/Mottie/162bwt5o/):

* The first example shows that a -webkit definition *after* a mask-image definition overrides the non-prefixed property.
* The second example does not include a mask-image definition; the -webkit-mask-image is defining the mask in this case.


Expected results:

-webkit-mask-image property should be ignored.

This might be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1242617 which added the -webkit prefixes as an alias. I believe this is no longer required.
I submitted this bug report while using Chrome, but the issue can be seen in Nightly (v58) and Stable (v56)
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
Rob, thanks for reporting this bug.

As compatibility spec[1] says, -webkit-mask-image is the alias of unprefixed mask-image property.
The result is expected.

https://compat.spec.whatwg.org/#propdef--webkit-mask-image
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.