<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>135619</bug_id>
          
          <creation_ts>2014-08-05 14:14:36 -0700</creation_ts>
          <short_desc>Opacity values are not clamped during transition causing elements with identical colors to become temporarily distinct</short_desc>
          <delta_ts>2014-08-05 14:42:39 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 8</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://jsfiddle.net/ETzZe/7/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jseanxu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1026937</commentid>
    <comment_count>0</comment_count>
    <who name="">jseanxu</who>
    <bug_when>2014-08-05 14:14:36 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1026947</commentid>
    <comment_count>1</comment_count>
    <who name="">jseanxu</who>
    <bug_when>2014-08-05 14:42:39 -0700</bug_when>
    <thetext>This appears to work fine on webkit Safari and only affects Chrome... marking as resolved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>