зеркало из https://github.com/mozilla/gecko-dev.git
Adding testcases from bug 263406 to regression tests.
This commit is contained in:
Родитель
541c3f84d5
Коммит
ed338d8e70
|
@ -0,0 +1,5 @@
|
|||
<?xml-stylesheet type="text/css" href="data:text/css, root { display: table;
|
||||
position: fixed }"?>
|
||||
<root>
|
||||
aaa
|
||||
</root>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml-stylesheet type="text/css" href="data:text/css, root { display: table;
|
||||
position: absolute }"?>
|
||||
<root>
|
||||
aaa
|
||||
</root>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml-stylesheet type="text/css" href="data:text/css, root { display: block; }
|
||||
table { display: table; } inner-table { display: table; position: absolute;
|
||||
width: 200px; right: 0; top: 0"?>
|
||||
<root>
|
||||
aaa
|
||||
<table><inner-table>bbb</inner-table></table>
|
||||
</root>
|
||||
|
|
@ -0,0 +1,80 @@
|
|||
<html>
|
||||
<fieldset>
|
||||
<legend style="position: fixed; top: 200px; right: 100px">Fixed legend</legend>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend style="position: absolute; top: 300px; right: 50px">Abs pos legend</legend>
|
||||
</fieldset>
|
||||
|
||||
<spacer style="position: absolute; border: 1px solid green">
|
||||
|
||||
<spacer style="position: fixed; border: 1px solid red">
|
||||
|
||||
<div style="position: relative; top: 100px; left: 200px">
|
||||
This is text, rel pos
|
||||
<div style="position: absolute; top: 200px; left: 100px">More text, abs pos</div>
|
||||
</div>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
<div style="float: left">Floating</div>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
Long text<br>
|
||||
<div style="position: fixed; top: 0; right: 0">
|
||||
This is fixed
|
||||
</div>
|
||||
</html>
|
|
@ -0,0 +1,7 @@
|
|||
<?xml-stylesheet type="text/css" href="data:text/css, root { display: table; }
|
||||
table {display: table; position: fixed; top: auto; left: 200px }
|
||||
tbody { display: table-row-group }
|
||||
tr { display: table-row }
|
||||
td { display: table-cell }
|
||||
"?>
|
||||
<root><table><tbody><tr><td>bbb</td></tr></tbody></table></root>
|
|
@ -0,0 +1,4 @@
|
|||
<?xml-stylesheet type="text/css" href="data:text/css, root { display: table; }
|
||||
block {display: block; position: fixed; top: auto; left: 200px }
|
||||
"?>
|
||||
<root><block>bbb</block></root>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Floats: Float Sizing</title>
|
||||
<style type="text/css">
|
||||
.table { display: table; }
|
||||
.float { float: left; border: solid; display: table; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="table" style="margin-left: 100px">
|
||||
<div class="float" style="width: 200px">This is a 200px wide float. This is a 200px wide float. This is a 200px wide float. This is a 200px wide float. This is a 200px wide float. </div>
|
||||
This text should be to the right of the float, and aligned with its top or so.
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -221,3 +221,10 @@
|
|||
223394-3.html
|
||||
223394-4.html
|
||||
228172.html
|
||||
263406-1.xml
|
||||
263406-2.xml
|
||||
263406-3.xml
|
||||
263406-4.html
|
||||
263406-5.xml
|
||||
263406-6.xml
|
||||
263406-7.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче