зеркало из https://github.com/mozilla/gecko-dev.git
Add better reftest coverage for intrinsic width computation of horizontal padding, border, and margin on inlines. b=420069 sheriff-a=sayrer
This commit is contained in:
Родитель
3f0b7f25ae
Коммит
80746ca93b
|
@ -0,0 +1,47 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test, bug 420069</title>
|
||||
<style type="text/css">
|
||||
|
||||
body { font-size: 12px; color: transparent; }
|
||||
|
||||
p {
|
||||
float: left; clear: left; margin: 1px; height: 5px;
|
||||
border: medium solid black;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
|
||||
<p style="padding-left: 10em">A</p>
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
<p style="padding-left: 10em">A</p>
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
<p style="padding-left: 10em">A</p>
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
|
||||
<p style="padding-left: 10em">A</p>
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
<p style="padding-left: 10em">A</p>
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
<p style="padding-left: 10em">A</p>
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,56 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test, bug 420069</title>
|
||||
<style type="text/css">
|
||||
|
||||
body { font-size: 12px; color: transparent; }
|
||||
|
||||
p {
|
||||
float: left; clear: left; margin: 1px; height: 5px;
|
||||
border: medium solid black;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- pref width without line breaks -->
|
||||
<p><span style="margin-left: 10em">A BBB</span></p>
|
||||
<p><span style="margin-right: 10em">A BBB</span></p>
|
||||
<p><span style="border-left: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="border-right: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="padding-left: 10em">A BBB</span></p>
|
||||
<p><span style="padding-right: 10em">A BBB</span></p>
|
||||
|
||||
<!-- pref width with line breaks -->
|
||||
<p><span style="margin-left: 10em">A<br>BBB</span></p>
|
||||
<p><span style="margin-right: 10em">A<br>BBB</span></p>
|
||||
<p><span style="border-left: 10em transparent solid">A<br>BBB</span></p>
|
||||
<p><span style="border-right: 10em transparent solid">A<br>BBB</span></p>
|
||||
<p><span style="padding-left: 10em">A<br>BBB</span></p>
|
||||
<p><span style="padding-right: 10em">A<br>BBB</span></p>
|
||||
|
||||
<div style="width:1px">
|
||||
|
||||
<!-- min width without line breaks -->
|
||||
<p><span style="margin-left: 10em">A BBB</span></p>
|
||||
<p><span style="margin-right: 10em">A BBB</span></p>
|
||||
<p><span style="border-left: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="border-right: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="padding-left: 10em">A BBB</span></p>
|
||||
<p><span style="padding-right: 10em">A BBB</span></p>
|
||||
|
||||
<!-- min width with line breaks -->
|
||||
<p><span style="margin-left: 10em">A BBB</span></p>
|
||||
<p><span style="margin-right: 10em">A BBB</span></p>
|
||||
<p><span style="border-left: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="border-right: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="padding-left: 10em">A BBB</span></p>
|
||||
<p><span style="padding-right: 10em">A BBB</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,47 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html dir="rtl">
|
||||
<head>
|
||||
<title>Test, bug 420069</title>
|
||||
<style type="text/css">
|
||||
|
||||
body { font-size: 12px; color: transparent; }
|
||||
|
||||
p {
|
||||
float: right; clear: right; margin: 1px; height: 5px;
|
||||
border: medium solid black;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
<p style="padding-left: 10em">A</p>
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
<p style="padding-left: 10em">A</p>
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
<p style="padding-left: 10em">A</p>
|
||||
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
<p style="padding-left: 10em">A BBB</p>
|
||||
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
<p style="padding-left: 10em">A</p>
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
<p style="padding-left: 10em">A</p>
|
||||
<p style="padding-left: 10em">BBB</p>
|
||||
<p style="padding-left: 10em">A</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,56 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html dir="rtl">
|
||||
<head>
|
||||
<title>Test, bug 420069</title>
|
||||
<style type="text/css">
|
||||
|
||||
body { font-size: 12px; color: transparent; }
|
||||
|
||||
p {
|
||||
float: right; clear: right; margin: 1px; height: 5px;
|
||||
border: medium solid black;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- pref width without line breaks -->
|
||||
<p><span style="margin-left: 10em">A BBB</span></p>
|
||||
<p><span style="margin-right: 10em">A BBB</span></p>
|
||||
<p><span style="border-left: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="border-right: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="padding-left: 10em">A BBB</span></p>
|
||||
<p><span style="padding-right: 10em">A BBB</span></p>
|
||||
|
||||
<!-- pref width with line breaks -->
|
||||
<p><span style="margin-left: 10em">A<br>BBB</span></p>
|
||||
<p><span style="margin-right: 10em">A<br>BBB</span></p>
|
||||
<p><span style="border-left: 10em transparent solid">A<br>BBB</span></p>
|
||||
<p><span style="border-right: 10em transparent solid">A<br>BBB</span></p>
|
||||
<p><span style="padding-left: 10em">A<br>BBB</span></p>
|
||||
<p><span style="padding-right: 10em">A<br>BBB</span></p>
|
||||
|
||||
<div style="width:1px">
|
||||
|
||||
<!-- min width without line breaks -->
|
||||
<p><span style="margin-left: 10em">A BBB</span></p>
|
||||
<p><span style="margin-right: 10em">A BBB</span></p>
|
||||
<p><span style="border-left: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="border-right: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="padding-left: 10em">A BBB</span></p>
|
||||
<p><span style="padding-right: 10em">A BBB</span></p>
|
||||
|
||||
<!-- min width with line breaks -->
|
||||
<p><span style="margin-left: 10em">A BBB</span></p>
|
||||
<p><span style="margin-right: 10em">A BBB</span></p>
|
||||
<p><span style="border-left: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="border-right: 10em transparent solid">A BBB</span></p>
|
||||
<p><span style="padding-left: 10em">A BBB</span></p>
|
||||
<p><span style="padding-right: 10em">A BBB</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -740,3 +740,5 @@ random == 403134-1.html 403134-1-ref.html # bug 405377
|
|||
== 417676.html 417676-ref.html
|
||||
== 419060.html 419060-ref.html
|
||||
== 419531-1.html 419531-1-ref.html
|
||||
== 420069-1.html 420069-1-ref.html
|
||||
== 420069-2.html 420069-2-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче