This commit is contained in:
Mats Palmgren 2017-02-12 01:44:05 +01:00
Родитель bfafc0f173
Коммит 78d1a58a65
3 изменённых файлов: 80 добавлений и 1 удалений

Просмотреть файл

@ -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.