зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1338293 - Reftest.
This commit is contained in:
Родитель
bfafc0f173
Коммит
78d1a58a65
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE HTML>
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>Reference for bug 1338293</title>
|
||||
<style type="text/css">
|
||||
|
||||
.none {
|
||||
display:inline-block;
|
||||
width:0; height:0; margin:0;
|
||||
}
|
||||
|
||||
.b { border: 20px solid; }
|
||||
.o { outline: 20px solid; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<span class="none b" type="checkbox"></span>
|
||||
<span class="none o" type="checkbox"></span>
|
||||
|
||||
<span class="none b" type="radio"></span>
|
||||
<span class="none o" type="radio"></span>
|
||||
|
||||
<div style="color:green">
|
||||
<span class="none b" type="checkbox"></span>
|
||||
<span class="none o" type="checkbox"></span>
|
||||
|
||||
<span class="none b" type="radio"></span>
|
||||
<span class="none o" type="radio"></span>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE HTML>
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>Testcase for bug 1338293</title>
|
||||
<style type="text/css">
|
||||
|
||||
.none {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
width:0; height:0; margin:0;
|
||||
}
|
||||
|
||||
.b { border: 20px solid; }
|
||||
.o { outline: 20px solid; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<input class="none b" type="checkbox">
|
||||
<input class="none o" type="checkbox">
|
||||
|
||||
<input class="none b" type="radio">
|
||||
<input class="none o" type="radio">
|
||||
|
||||
<div style="color:green">
|
||||
<input class="none b" type="checkbox">
|
||||
<input class="none o" type="checkbox">
|
||||
|
||||
<input class="none b" type="radio">
|
||||
<input class="none o" type="radio">
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -12,4 +12,5 @@ fails-if(Android) == indeterminate-unchecked.html about:blank
|
|||
!= indeterminate-native-unchecked.html indeterminate-native-unchecked-notref.html
|
||||
== indeterminate-selector.html indeterminate-selector-ref.html
|
||||
skip-if(!gtkWidget) == gtk-theme-width-height.html gtk-theme-width-height-ref.html
|
||||
skip-if(Android) == checkbox-baseline.html checkbox-baseline-ref.html # skip-if(Android) because Android use appearance:none by default for checkbox/radio.
|
||||
skip-if(Android) == checkbox-baseline.html checkbox-baseline-ref.html # skip-if(Android) because Android use appearance:none by default for checkbox/radio.
|
||||
skip-if(Android) == checkbox-radio-color.html checkbox-radio-color-ref.html # skip-if(Android) because Android use appearance:none by default for checkbox/radio.
|
||||
|
|
Загрузка…
Ссылка в новой задаче