html - IE11 CSS opacity transition for table rows not working -


http://jsbin.com/qusewehobi

in example above, clicking button adds , removes selectedrow class of div , 2 table rows. opacity should change 1.0 0.25 smoothly due transition declaration on common class of elements.

this works in chrome 43.0.2357.130 (64-bit), not in ie 11.0.9600 - div element changes. remove transition declaration , opacity changes reliably.

am missing subtlety of css or bug?

i couldn't tell why doesn't work in ie, i'm not impressed @ all. noticed don't work in ie trs class .toggletarget, if add text within divs work properly.

<!doctype html> <html>    <head> <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>   </head>     <body>      <div class="toggletarget">div content</div>      <table>        <tr>          <td>            <div class="toggletarget">table row 0</div>           </td>        </tr>        <tr><td>          <div class="toggletarget">table row 1</div>            </td></tr>      </table>      <button onclick="$('.toggletarget').toggleclass('selectedrow');">click me</button>    </body> </html> 

Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -