| OLD | NEW |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 2 "http://www.w3.org/TR/html4/loose.dtd"> | 2 "http://www.w3.org/TR/html4/loose.dtd"> |
| 3 | 3 |
| 4 <html lang="en"> | 4 <html lang="en"> |
| 5 <head> | 5 <head> |
| 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 7 <title>Initial backing position</title> | 7 <title>Initial backing position</title> |
| 8 <style type="text/css" media="screen"> | 8 <style type="text/css" media="screen"> |
| 9 #parent { | 9 #parent { |
| 10 position: relative; | 10 position: relative; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #piece { | 26 #piece { |
| 27 position: absolute; | 27 position: absolute; |
| 28 left: 50px; | 28 left: 50px; |
| 29 top: 50px; | 29 top: 50px; |
| 30 height: 60px; | 30 height: 60px; |
| 31 width: 60px; | 31 width: 60px; |
| 32 background-color: green; | 32 background-color: green; |
| 33 } | 33 } |
| 34 | 34 |
| 35 #piece:hover { | 35 #piece:hover { |
| 36 -webkit-transform: translate3d(0, 0, 0); | 36 transform: translate3d(0, 0, 0); |
| 37 } | 37 } |
| 38 | 38 |
| 39 #piece.moved { | 39 #piece.moved { |
| 40 -webkit-transform: translate3d(0, 0, 0); | 40 transform: translate3d(0, 0, 0); |
| 41 } | 41 } |
| 42 | 42 |
| 43 </style> | 43 </style> |
| 44 <script type="text/javascript" charset="utf-8"> | 44 <script type="text/javascript" charset="utf-8"> |
| 45 if (window.testRunner) | 45 if (window.testRunner) |
| 46 testRunner.waitUntilDone(); | 46 testRunner.waitUntilDone(); |
| 47 | 47 |
| 48 function startTest() | 48 function startTest() |
| 49 { | 49 { |
| 50 window.setTimeout(function() { | 50 window.setTimeout(function() { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 65 <body> | 65 <body> |
| 66 | 66 |
| 67 <div id="parent"> | 67 <div id="parent"> |
| 68 <div id="piece"></div> | 68 <div id="piece"></div> |
| 69 <div id="panel"></div> | 69 <div id="panel"></div> |
| 70 </div> | 70 </div> |
| 71 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=26430">https://bugs.webkit
.org/show_bug.cgi?id=26430</a></p> | 71 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=26430">https://bugs.webkit
.org/show_bug.cgi?id=26430</a></p> |
| 72 <p>Green box should not move when hovered</p> | 72 <p>Green box should not move when hovered</p> |
| 73 </body> | 73 </body> |
| 74 </html> | 74 </html> |
| OLD | NEW |