Open daiplusplus opened 1 year ago
Thanks for raising this one @daiplusplus - we'll take a look shortly 👍🏻
Thanks again for raising these issues @daiplusplus. 🙏
Clear-Site-Data
warning, it appears that the wildcard ("*"
) was not yet supported in Chrome (as reported here), but support shipped in Chrome 117.style-src
warning in Chrome, I can no longer reproduce this in Chrome 117.invalid host "self"
in Firefox, I can no longer reproduce this in Firefox 120 (Nightly).script-src-elem
warning in Firefox, this will be fixed in https://github.com/mdn/yari/pull/9729 (pending discussion in the team).Unexpected token ‘-1’ in media list.
in Firefox, which will be fixed in https://github.com/mdn/yari/pull/9727.@caugner I'm using Chrome 117 and Firefox 117 and while the examples load, they appear differently in Firefox vs Chrome so I'm unsure if I can close this or not...
@daiplusplus Fair point! This looks like a webcompat issue, and at the same time the result doesn't look like a "red square" even though the example code suggests this. 🤔
Let's keep this issue open for now. I will share an update once I heard back from a colleague working on Firefox.
It looks like Chrome does not respect the mask, and the BCD table for the mask
property hints at this:
Implemented with the vendor prefix:
-webkit-
The prefixed property can be used with SVG and HTML with a slightly different syntax, which allows setting the non-standard -webkit-mask-attachment property.Partial support While the property is recognized, values applied to it don't have any effect.
A similar issue has been reported in the BCD repo.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/mask-type
What specific section or headline is this issue about?
Both example runner iframes
What information was incorrect, unhelpful, or incomplete?
Firefox's browser console reports these as warnings, not errors, and unlike Chrome, Firefox loads the iframe's content, but doesn't render it: we just see empty white boxes (screenshot below):
What did you expect to see?
I expected the samples to load.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
* Folder: `en-us/web/css/mask-type` * MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/mask-type * GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/css/mask-type/index.md * Last commit: https://github.com/mdn/content/commit/7a9f9baa25d9a7313bd6c62ef5ef585b28459c58 * Document last modified: 2023-02-21T06:01:00.000Z