1
<!DOCTYPE html PUBLIC
"-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights reserved.
5 Redistribution and use in source and binary forms, with or without modification,
6 are permitted provided that the following conditions are met:
8 Redistributions of source code must retain the above copyright notice, this list of
9 conditions and the following disclaimer.
11 Redistributions in binary form must reproduce the above copyright notice, this list of
12 conditions and the following disclaimer in the documentation and/or other materials
13 provided with the distribution.
15 Neither the name of the Microsoft Corporation nor the names of its contributors may be
16 used to endorse or promote products derived from this software without specific prior
19 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED
20 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CORPORATION
22 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
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 NEGLIGENCE OR
26 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 POSSIBILITY OF SUCH DAMAGE.
30 <!-- This test case has been modified to use 20px instead of 16px font-size to work
31 around font rendering issues for the Ahem font in Blink. -->
33 <html xmlns=
"http://www.w3.org/1999/xhtml">
35 <title>CSS Test: All unit and function values
</title>
36 <script src=
"../../../resources/ahem.js"></script>
37 <link rel=
"author" title=
"Microsoft" href=
"http://www.microsoft.com/" />
38 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/" />
39 <meta name=
"flags" content=
"" />
40 <meta name=
"assert" content=
"Verifying that all unit values and functions are supported." />
41 <style type=
"text/css">
42 html
{ font-size: 20px; }
43 body
{ font-size: 16px; }
64 counter-increment: div1
123456;
65 content: counter
(div1
);
69 border-right: solid green
3.175cm;
75 border-right: solid green
31.75mm;
81 border-right: solid green
1.25in;
87 border-right: solid green
90pt;
93 border-right: solid green
7.5pc;
99 border-right: solid green
6em;
105 border-right: solid green
7.5ex;
111 border-right: solid green
6rem;
117 border-right: solid green
100vw;
123 border-right: solid green
100vh;
129 border-right: solid green
100vmin;
135 border-right: solid green
6ch;
141 border-right: solid green calc
(0.625in*2);
163 content: attr
(align
);
168 <p>Test passes if there is no red visible on the page.
</p>
170 <div id=
"div1"></div>
171 <div id=
"div2"></div>
172 <div id=
"div3"></div>
173 <div id=
"div4"></div>
174 <div id=
"div5"></div>
175 <div id=
"div6"></div>
176 <div id=
"div7"></div>
177 <div id=
"div8"></div>
178 <div id=
"div9"></div>
179 <div id=
"div10"></div>
180 <div id=
"div11"></div>
181 <div id=
"div12"></div>
182 <div id=
"div13"></div>
183 <div id=
"div14"></div>
184 <div id=
"div15"></div>
185 <div id=
"div16"><div></div></div>
186 <div align=
"div17a" id=
"div17"></div>