W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

Re: [csswg-drafts] [css-color] opacity and stacking context?

From: SelenIT via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 Dec 2017 09:47:17 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-352375948-1513590436-sysbot+gh@w3.org>
> there will be flickering at end of animation?

Per the current spec, there would be flickering when the opacity changes from `1` to any value other than `1` and back. It can be prevented by setting `will-change:opacity` that tells the browser to make all changes necessary for setting opacity, including stacking context creation, in advance, so the element with `will-change:opacity` always creates the stacking context and never flickers.

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2093#issuecomment-352375948 using your GitHub account
Received on Monday, 18 December 2017 09:47:20 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:45 UTC