зеркало из https://github.com/mozilla/pjs.git
Tweak inline-block and inline-table z-ordering tests so they work with a broader range of font metrics and line heights.
This commit is contained in:
Родитель
6a9744c34c
Коммит
497220ce28
|
@ -6,7 +6,7 @@
|
||||||
div { height: 1em; }
|
div { height: 1em; }
|
||||||
span { display:inline-table; vertical-align: top; height: 1em; background: red; color: red; }
|
span { display:inline-table; vertical-align: top; height: 1em; background: red; color: red; }
|
||||||
div#after { margin-top:-1em; }
|
div#after { margin-top:-1em; }
|
||||||
div#after span { display: inline; background: green; color: green; }
|
div#after span { display: inline; background: green; color: green; border-bottom: 0.5em solid green; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<title>Testcase for inline-table (bug 18217)</title>
|
<title>Testcase for inline-table (bug 18217)</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
span { display:inline-table; vertical-align: top; background: green; color: green; }
|
span { display:inline-table; vertical-align: top; background: green; color: green; border-bottom: 0.5em solid green; }
|
||||||
div#before { height: 1em; margin-bottom:-1em; }
|
div#before { height: 1em; margin-bottom:-1em; }
|
||||||
div#before span { display: inline; background: red; color: red; }
|
div#before span { display: inline; background: red; color: red; }
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title>Testcase for inline-table (bug 18217)</title>
|
<title>Testcase for inline-table (bug 18217)</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
span { display:inline-table; vertical-align: top; }
|
span { display:inline-table; vertical-align: top; }
|
||||||
span span { display: block; background: green; color: green; }
|
span span { display: block; background: green; color: green; border-bottom: 0.5em solid green; }
|
||||||
div#before { height: 1em; margin-bottom:-1em; }
|
div#before { height: 1em; margin-bottom:-1em; }
|
||||||
div#before span { display: inline; background: red; color: red; }
|
div#before span { display: inline; background: red; color: red; }
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Testcase for inline-table (bug 18217)</title>
|
||||||
|
<style type="text/css">
|
||||||
|
span { display: inline-table; vertical-align: top; background: green; color: green; border-bottom: 0.5em solid green; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div><span>X</span></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<title>Testcase for inline-table (bug 18217)</title>
|
<title>Testcase for inline-table (bug 18217)</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
span { background: green; color: green; }
|
span { background: green; color: green; border-bottom: 0.5em solid green; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
div { height: 1em; }
|
div { height: 1em; }
|
||||||
span { display:inline-block; vertical-align: top; height: 1em; background: red; color: red; }
|
span { display:inline-block; vertical-align: top; height: 1em; background: red; color: red; }
|
||||||
div#after { margin-top:-1em; }
|
div#after { margin-top:-1em; }
|
||||||
div#after span { display: inline; background: green; color: green; }
|
div#after span { display: inline; background: green; color: green; border-bottom: 0.5em solid green; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<title>Testcase for inline-block (bug 9458)</title>
|
<title>Testcase for inline-block (bug 9458)</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
span { display:inline-block; vertical-align: top; background: green; color: green; }
|
span { display:inline-block; vertical-align: top; background: green; color: green; border-bottom: 0.5em solid green; }
|
||||||
div#before { height: 1em; margin-bottom:-1em; }
|
div#before { height: 1em; margin-bottom:-1em; }
|
||||||
div#before span { display: inline; background: red; color: red; }
|
div#before span { display: inline; background: red; color: red; }
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title>Testcase for inline-block (bug 9458)</title>
|
<title>Testcase for inline-block (bug 9458)</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
span { display:inline-block; vertical-align: top; }
|
span { display:inline-block; vertical-align: top; }
|
||||||
span span { display: block; background: green; color: green; }
|
span span { display: block; background: green; color: green; border-bottom: 0.5em solid green; }
|
||||||
div#before { height: 1em; margin-bottom:-1em; }
|
div#before { height: 1em; margin-bottom:-1em; }
|
||||||
div#before span { display: inline; background: red; color: red; }
|
div#before span { display: inline; background: red; color: red; }
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Testcase for inline-block (bug 9458)</title>
|
||||||
|
<style type="text/css">
|
||||||
|
span { display: inline-block; vertical-align: top; background: green; color: green; border-bottom: 0.5em solid green; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div><span>X</span></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<title>Testcase for inline-block (bug 9458)</title>
|
<title>Testcase for inline-block (bug 9458)</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
span { background: green; color: green; }
|
span { background: green; color: green; border-bottom: 0.5em solid green; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
== bugs/9458-zorder-1.html bugs/9458-zorder-ref.html
|
== bugs/9458-zorder-1.html bugs/9458-zorder-ref.html
|
||||||
== bugs/9458-zorder-2.html bugs/9458-zorder-ref.html
|
== bugs/9458-zorder-2.html bugs/9458-zorder-ref.html
|
||||||
== bugs/9458-zorder-3.html bugs/9458-zorder-ref-inline.html
|
== bugs/9458-zorder-3.html bugs/9458-zorder-ref-inline.html
|
||||||
== bugs/9458-zorder-4.html bugs/9458-zorder-ref-inline.html
|
== bugs/9458-zorder-4.html bugs/9458-zorder-ref-inline-block.html
|
||||||
== bugs/9458-zorder-5.html bugs/9458-zorder-ref-inline.html
|
== bugs/9458-zorder-5.html bugs/9458-zorder-ref-inline-block.html
|
||||||
== bugs/18217-basic-1.html bugs/18217-basic-1-ref.html
|
== bugs/18217-basic-1.html bugs/18217-basic-1-ref.html
|
||||||
== bugs/18217-basic-2a.html bugs/18217-basic-2-ref.html
|
== bugs/18217-basic-2a.html bugs/18217-basic-2-ref.html
|
||||||
== bugs/18217-basic-2b.html bugs/18217-basic-2-ref.html
|
== bugs/18217-basic-2b.html bugs/18217-basic-2-ref.html
|
||||||
|
@ -31,8 +31,8 @@
|
||||||
== bugs/18217-zorder-1.html bugs/18217-zorder-ref.html
|
== bugs/18217-zorder-1.html bugs/18217-zorder-ref.html
|
||||||
== bugs/18217-zorder-2.html bugs/18217-zorder-ref.html
|
== bugs/18217-zorder-2.html bugs/18217-zorder-ref.html
|
||||||
== bugs/18217-zorder-3.html bugs/18217-zorder-ref-inline.html
|
== bugs/18217-zorder-3.html bugs/18217-zorder-ref-inline.html
|
||||||
== bugs/18217-zorder-4.html bugs/18217-zorder-ref-inline.html
|
== bugs/18217-zorder-4.html bugs/18217-zorder-ref-inline-table.html
|
||||||
== bugs/18217-zorder-5.html bugs/18217-zorder-ref-inline.html
|
== bugs/18217-zorder-5.html bugs/18217-zorder-ref-inline-table.html
|
||||||
== bugs/28811-1a.html bugs/28811-1-ref.html
|
== bugs/28811-1a.html bugs/28811-1-ref.html
|
||||||
== bugs/28811-1b.html bugs/28811-1-ref.html
|
== bugs/28811-1b.html bugs/28811-1-ref.html
|
||||||
== bugs/28811-2a.html bugs/28811-2-ref.html
|
== bugs/28811-2a.html bugs/28811-2-ref.html
|
||||||
|
|
Загрузка…
Ссылка в новой задаче