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.
29 <html xmlns=
"http://www.w3.org/1999/xhtml">
31 <title>CSS Test: Percentage for the horizontal radius of 'border-top-left-radius' refers to the width of the border box.
</title>
32 <link rel=
"author" title=
"Microsoft" href=
"http://www.microsoft.com/" />
33 <link rel=
"help" href=
"http://www.w3.org/TR/css3-background/#border-radius" />
34 <meta name=
"flags" content=
"" />
35 <meta name=
"assert" content=
"Percentage for the horizontal radius of 'border-top-left-radius' refers to the width of the border box." />
36 <style type=
"text/css">
53 border-top-left-radius: 97px 20px;
56 border-top-left-radius: 97% 20px;
59 border-top-left-radius: 51px 20px;
62 border-top-left-radius: 51% 20px;
65 border-top-left-radius: 25px 20px;
68 border-top-left-radius: 25% 20px;
71 border-top-left-radius: 11px 20px;
74 border-top-left-radius: 11% 20px;
77 border-top-left-radius: 7px 20px;
80 border-top-left-radius: 7% 20px;
83 border-top-left-radius: 5px 20px;
86 border-top-left-radius: 5% 20px;
91 <p>Test passes if the top left corner of each of the boxes is curved and if there is no red visible on the page.
</p>
95 <div class=
"red reference1"></div>
96 <div class=
"pos test1"></div>
99 <div class=
"red reference2"></div>
100 <div class=
"pos test2"></div>
105 <div class=
"red reference3"></div>
106 <div class=
"pos test3"></div>
109 <div class=
"red reference4"></div>
110 <div class=
"pos test4"></div>
115 <div class=
"red reference5"></div>
116 <div class=
"pos test5"></div>
119 <div class=
"red reference6"></div>
120 <div class=
"pos test6"></div>