| 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>untitled</title> | 7 <title>untitled</title> |
| 8 <style type="text/css" media="screen"> | 8 <style type="text/css" media="screen"> |
| 9 | 9 |
| 10 #container { | 10 #container { |
| 11 position: relative; | 11 position: relative; |
| 12 height: 100px; | 12 height: 100px; |
| 13 width: 100px; | 13 width: 100px; |
| 14 margin: 50px; | 14 margin: 50px; |
| 15 border: 1px solid black; | 15 border: 1px solid black; |
| 16 -webkit-transform: translateZ(0); | 16 transform: translateZ(0); |
| 17 } | 17 } |
| 18 | 18 |
| 19 #outer { | 19 #outer { |
| 20 position: absolute; | 20 position: absolute; |
| 21 left: -25px; | 21 left: -25px; |
| 22 top: -25px; | 22 top: -25px; |
| 23 height: 50px; | 23 height: 50px; |
| 24 width: 50px; | 24 width: 50px; |
| 25 border: 1px solid blue; | 25 border: 1px solid blue; |
| 26 } | 26 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 50 | 50 |
| 51 <p>Adding outline should not affect layer positions</p> | 51 <p>Adding outline should not affect layer positions</p> |
| 52 <div id="container"> | 52 <div id="container"> |
| 53 <div id="outer"></div> | 53 <div id="outer"></div> |
| 54 </div> | 54 </div> |
| 55 <div id="tester"> | 55 <div id="tester"> |
| 56 </div> | 56 </div> |
| 57 | 57 |
| 58 </body> | 58 </body> |
| 59 </html> | 59 </html> |
| OLD | NEW |