Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 <!DOCTYPE HTML>
2 <html><head>
3 <title>min-/max-width testcase for bug 308801</title>
4 <style type="text/css">
6 html,body {
7 color:black; background-color:white; font-size:16px;
8 }
10 div {
11 margin:0;
12 padding:0;
13 }
15 .min { min-width:100px; }
16 .max { max-width:100px; }
17 .hidden { overflow:hidden; }
19 .box {
20 box-sizing: border-box;
21 }
23 .test1 {
24 border:10px solid black;
25 }
27 .test2 {
28 padding:10px;
29 background:black;
30 }
32 .test3 {
33 border:10px solid black;
34 padding:25px;
35 }
36 br { margin-top:13px; }
37 </style>
38 </head>
39 <body>
41 <div style="float:left"><div class="box min test1"></div></div>
43 <br clear="all">
44 <div style="float:left"><div class="box min test2"></div></div>
46 <br clear="all">
47 <div style="float:left"><div class="box min test3"></div></div>
49 <br clear="all">
50 <br clear="all">
51 <div class="box max test1"></div>
53 <br clear="all">
54 <div class="box max test2"></div>
56 <br clear="all">
57 <div class="box max test3"></div>
59 <br clear="all">
60 <!-- overflow:hidden -->
62 <div style="float:left"><div class="hidden box min test1"></div></div>
64 <br clear="all">
65 <div style="float:left"><div class="hidden box min test2"></div></div>
67 <br clear="all">
68 <div style="float:left"><div class="hidden box min test3"></div></div>
70 <br clear="all">
71 <br clear="all">
72 <div class="hidden box max test1"></div>
74 <br clear="all">
75 <div class="hidden box max test2"></div>
77 <br clear="all">
78 <div class="hidden box max test3"></div>
82 </body>
83 </html>