| 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 11 matching lines...) Expand all Loading... |
| 22 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUE
NTIAL | 22 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUE
NTIAL |
| 23 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERV
ICES; | 23 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERV
ICES; |
| 24 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY | 24 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY |
| 25 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGE
NCE OR | 25 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGE
NCE OR |
| 26 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE | 26 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE |
| 27 POSSIBILITY OF SUCH DAMAGE. | 27 POSSIBILITY OF SUCH DAMAGE. |
| 28 --> | 28 --> |
| 29 <html xmlns="http://www.w3.org/1999/xhtml"> | 29 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 30 <head> | 30 <head> |
| 31 <title>CSS Test: Basic calc() function tests</title> | 31 <title>CSS Test: Basic calc() function tests</title> |
| 32 <script src="../../../resources/ahem.js"></script> |
| 32 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> | 33 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> |
| 33 <link rel="help" href="http://dev.w3.org/csswg/css3-values/#ltlengthgt"/
> | 34 <link rel="help" href="http://dev.w3.org/csswg/css3-values/#ltlengthgt"/
> |
| 34 <meta name="flags" content="ahem" /> | 35 <meta name="flags" content="ahem" /> |
| 35 <meta name="assert" content="The Calc() function works with addition, mu
ltiplication, subtraction and division."/> | 36 <meta name="assert" content="The Calc() function works with addition, mu
ltiplication, subtraction and division."/> |
| 36 <style type="text/css"> | 37 <style type="text/css"> |
| 37 #container | 38 #container |
| 38 { | 39 { |
| 39 background: red; | 40 background: red; |
| 40 font: 20px Ahem; | 41 font: 20px Ahem; |
| 41 overflow: hidden; | 42 overflow: hidden; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 </div> | 87 </div> |
| 87 <div class="percentContainer"> | 88 <div class="percentContainer"> |
| 88 <div id="calc3"></div> | 89 <div id="calc3"></div> |
| 89 </div> | 90 </div> |
| 90 <div class="percentContainer"> | 91 <div class="percentContainer"> |
| 91 <div id="calc4"></div> | 92 <div id="calc4"></div> |
| 92 </div> | 93 </div> |
| 93 </div> | 94 </div> |
| 94 </body> | 95 </body> |
| 95 </html> | 96 </html> |
| OLD | NEW |