| OLD | NEW |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR
/xhtml1/DTD/xhtml1-strict.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR
/xhtml1/DTD/xhtml1-strict.dtd"> |
| 2 <!-- | 2 <!-- |
| 3 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights
reserved. | 3 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights
reserved. |
| 4 | 4 |
| 5 Redistribution and use in source and binary forms, with or without modification
, | 5 Redistribution and use in source and binary forms, with or without modification
, |
| 6 are permitted provided that the following conditions are met: | 6 are permitted provided that the following conditions are met: |
| 7 | 7 |
| 8 Redistributions of source code must retain the above copyright notice, this lis
t of | 8 Redistributions of source code must retain the above copyright notice, this lis
t of |
| 9 conditions and the following disclaimer. | 9 conditions and the following disclaimer. |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 <head> | 30 <head> |
| 31 <title>CSS Test: Basic calc() function tests</title> | 31 <title>CSS Test: Basic calc() function tests</title> |
| 32 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> | 32 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> |
| 33 <link rel="help" href="http://dev.w3.org/csswg/css3-values/#ltlengthgt"/
> | 33 <link rel="help" href="http://dev.w3.org/csswg/css3-values/#ltlengthgt"/
> |
| 34 <meta name="flags" content="ahem" /> | 34 <meta name="flags" content="ahem" /> |
| 35 <meta name="assert" content="The Calc() function works with addition, mu
ltiplication, subtraction and division."/> | 35 <meta name="assert" content="The Calc() function works with addition, mu
ltiplication, subtraction and division."/> |
| 36 <style type="text/css"> | 36 <style type="text/css"> |
| 37 #container | 37 #container |
| 38 { | 38 { |
| 39 background: red; | 39 background: red; |
| 40 font: 20px ahem; | 40 font: 20px Ahem; |
| 41 overflow: hidden; | 41 overflow: hidden; |
| 42 width: 6em; | 42 width: 6em; |
| 43 } | 43 } |
| 44 div div | 44 div div |
| 45 { | 45 { |
| 46 background: green; | 46 background: green; |
| 47 height: 1em; | 47 height: 1em; |
| 48 width: 0; | 48 width: 0; |
| 49 } | 49 } |
| 50 | 50 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 <div id="calc2"></div> | 85 <div id="calc2"></div> |
| 86 </div> | 86 </div> |
| 87 <div class="percentContainer"> | 87 <div class="percentContainer"> |
| 88 <div id="calc3"></div> | 88 <div id="calc3"></div> |
| 89 </div> | 89 </div> |
| 90 <div class="percentContainer"> | 90 <div class="percentContainer"> |
| 91 <div id="calc4"></div> | 91 <div id="calc4"></div> |
| 92 </div> | 92 </div> |
| 93 </div> | 93 </div> |
| 94 </body> | 94 </body> |
| 95 </html> | 95 </html> |
| OLD | NEW |