WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
135619
Opacity values are not clamped during transition causing elements with identical colors to become temporarily distinct
https://bugs.webkit.org/show_bug.cgi?id=135619
Summary
Opacity values are not clamped during transition causing elements with identi...
jseanxu
Reported
2014-08-05 14:14:36 PDT
When putting a CSS transition the opacity property with a cubic-bezier curve that goes out of [0,1] range (i.e. [0,2,0,2]), changing opacity can cause the element flashes because opacity is not clamped. Steps to Reproduce: -Go to:
http://jsfiddle.net/ETzZe/7/
-Hover over the box -Notice the circle inside the box lighting up Expected result: Since both the circle and box have the same background-color, and the circle is just changing opacity, no visible change should have occurred. Actual result: The opacity of the circle is being transitioned on hover, the opacity value appears to temporarily go beyond 1.0 and the circle lights up.
Attachments
Add attachment
proposed patch, testcase, etc.
jseanxu
Comment 1
2014-08-05 14:42:39 PDT
This appears to work fine on webkit Safari and only affects Chrome... marking as resolved.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug