W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > May 2018

Re: [fxtf-drafts] [css-masking] Disabling masks and clipPaths when display is none

From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
Date: Tue, 22 May 2018 05:36:33 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-390868601-1526967392-sysbot+gh@w3.org>
I suppose that for HTML, Firefox follows this description (because of `display: none`):

> A mask reference that is an empty image (zero width or zero height), that fails to download, is not a reference to an mask element, is non-existent, or that cannot be displayed (e.g. because it is not in a supported image format) still counts as an image layer of transparent black.

If the `<mask>` source gets disabled by `display: none` then this makes sense. However, it is still inconsistent with the behavior on SVG and still different to the spec text.

-- 
GitHub Notification of comment by dirkschulze
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/245#issuecomment-390868601 using your GitHub account
Received on Tuesday, 22 May 2018 05:36:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:23 UTC