Skip to content

Commit db5eaa6

Browse files
author
Dirk Ginader
committed
Version 1.5: adding Support for Firefox 4 thanks to Estelle Weyl
1 parent 4a8c836 commit db5eaa6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

index.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
* http://www.opensource.org/licenses/mit-license.php
1515
* http://www.gnu.org/licenses/gpl.html
1616
*
17-
* Version: 1.4.1
17+
* Version: 1.5
1818
*
1919
* History:
2020
* * 1.0 initial release
2121
* * 1.3 adding support for Firefox 3.5+
2222
* * 1.4 adding support for Internet Explorer 9+
2323
* * 1.4.1 added missing exclude for other modern Browsers who also read the CSS3 selector. IE9 Hack is now perfect.
2424
* * 1.4.2 changed the \9 hack to \0 as it appears to be more reliable in IE9
25+
* * 1.5 adding Support for Firefox 4 thanks to Estelle Weyl
2526
-->
2627

2728
<style type="text/css">
@@ -49,6 +50,13 @@
4950
display: block;
5051
}
5152

53+
/* Firefox 4+ */
54+
@media screen and (min--moz-device-pixel-ratio:0) {
55+
#firefox4 {
56+
display: block;
57+
}
58+
}
59+
5260
/* IE 7 */
5361
html > body #ie7 {
5462
*display: block;
@@ -105,6 +113,7 @@
105113
<p id="firefox2">Firefox 2 and 3</p>
106114
<p id="firefox3">Firefox 3+</p>
107115
<p id="firefox3_5">Firefox 3.5+</p>
116+
<p id="firefox4">Firefox 4+</p>
108117
<p id="ie7">IE 7</p>
109118
<p id="ie6">IE 6</p>
110119
<p id="ie6andie7">IE 6 and IE7</p>

0 commit comments

Comments
 (0)