зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1273433 part 2 - Some basic <legend align> reftests.
This commit is contained in:
Родитель
959f2206d8
Коммит
066a6bf28d
|
@ -0,0 +1,51 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>Testcase for bug 1273433</title>
|
||||
<style type="text/css">
|
||||
|
||||
html,body {
|
||||
color:black; background-color:white; font-size:12px; padding:0; margin:0;
|
||||
}
|
||||
|
||||
fieldset { border: 1px solid black; }
|
||||
.v { writing-mode: vertical-lr; height:300px; float:left; }
|
||||
legend { width: 100px; border:1px solid blue; }
|
||||
.v legend, .rl legend { width: auto; height: 100px; }
|
||||
.rtl { direction:rtl; }
|
||||
.ltr { direction:ltr; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<fieldset align="left"><legend>(unset)</legend></fieldset>
|
||||
<fieldset><legend align="left">left</legend></fieldset>
|
||||
<fieldset class="rtl"><legend style="text-align:left">right</legend></fieldset>
|
||||
|
||||
<fieldset><legend align="right" style="text-align:right">(unset)</legend><div class=rtl>RTL</div></fieldset>
|
||||
<fieldset><legend align="left" style="text-align:right">left</legend><div class=rtl>RTL</div></fieldset>
|
||||
<fieldset><legend align="right" style="text-align:right">right</legend><div class=rtl>RTL</div></fieldset>
|
||||
|
||||
<fieldset><legend>left</legend><div class=rtl>RTL</div></fieldset>
|
||||
<fieldset><legend align="right" style="text-align:left">right</legend><div class=rtl>RTL</div></fieldset>
|
||||
|
||||
<fieldset><legend align="left">bottom</legend></fieldset>
|
||||
<fieldset><legend align="left">top</legend></fieldset>
|
||||
|
||||
<fieldset class="v"><legend align="left">(unset)</legend></fieldset>
|
||||
<fieldset class="v"><legend align="left">left</legend></fieldset>
|
||||
<fieldset class="v rtl"><legend style="text-align:left">right</legend></fieldset>
|
||||
|
||||
<fieldset class="v"><legend align="right" style="text-align:right">(unset)</legend><div class=rtl>RTL</div></fieldset>
|
||||
<fieldset class="v"><legend align="left" style="text-align:right">left</legend><div class=rtl>RTL</div></fieldset>
|
||||
<fieldset class="v"><legend align="right" style="text-align:right">right</legend><div class=rtl>RTL</div></fieldset>
|
||||
|
||||
<fieldset class="v"><legend>left</legend><div class=rtl>RTL</div></fieldset>
|
||||
<fieldset class="v"><legend align="right" style="text-align:left">right</legend><div class=rtl>RTL</div></fieldset>
|
||||
|
||||
<fieldset class="v"><legend align="left">bottom</legend></fieldset>
|
||||
<fieldset class="v"><legend align="left">top</legend></fieldset>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,51 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>Testcase for bug 1273433</title>
|
||||
<style type="text/css">
|
||||
|
||||
html,body {
|
||||
color:black; background-color:white; font-size:12px; padding:0; margin:0;
|
||||
}
|
||||
|
||||
fieldset { border: 1px solid black; }
|
||||
.v { writing-mode: vertical-lr; height:300px; float:left; }
|
||||
legend { width: 100px; border:1px solid blue; }
|
||||
.v legend, .rl legend { width: auto; height: 100px; }
|
||||
.rtl { direction:rtl; }
|
||||
.ltr { direction:ltr; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<fieldset><legend>(unset)</legend></fieldset>
|
||||
<fieldset><legend align="left">left</legend></fieldset>
|
||||
<fieldset><legend align="right">right</legend></fieldset>
|
||||
|
||||
<fieldset class="rtl"><legend>(unset)</legend>RTL</fieldset>
|
||||
<fieldset class="rtl"><legend align="left">left</legend>RTL</fieldset>
|
||||
<fieldset class="rtl"><legend align="right">right</legend>RTL</fieldset>
|
||||
|
||||
<fieldset class="rtl"><legend class="ltr" align="left">left</legend>RTL</fieldset>
|
||||
<fieldset class="rtl"><legend class="ltr" align="right">right</legend>RTL</fieldset>
|
||||
|
||||
<fieldset><legend align="bottom">bottom</legend></fieldset>
|
||||
<fieldset><legend align="top">top</legend></fieldset>
|
||||
|
||||
<fieldset class="v"><legend>(unset)</legend></fieldset>
|
||||
<fieldset class="v"><legend align="left">left</legend></fieldset>
|
||||
<fieldset class="v"><legend align="right">right</legend></fieldset>
|
||||
|
||||
<fieldset class="v rtl"><legend>(unset)</legend>RTL</fieldset>
|
||||
<fieldset class="v rtl"><legend align="left">left</legend>RTL</fieldset>
|
||||
<fieldset class="v rtl"><legend align="right">right</legend>RTL</fieldset>
|
||||
|
||||
<fieldset class="v rtl"><legend class="ltr" align="left">left</legend>RTL</fieldset>
|
||||
<fieldset class="v rtl"><legend class="ltr" align="right">right</legend>RTL</fieldset>
|
||||
|
||||
<fieldset class="v"><legend align="bottom">bottom</legend></fieldset>
|
||||
<fieldset class="v"><legend align="top">top</legend></fieldset>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,2 +1,3 @@
|
|||
skip-if(B2G||Mulet) == legend.html legend-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fuzzy-if(skiaContent,1,7) pref(dom.webcomponents.enabled,true) == shadow-dom.html shadow-dom-ref.html
|
||||
== 1273433.html 1273433-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче