Some additional tests for 'rem' unit from css3-values. (Bug 472195)
authorL. David Baron <dbaron@dbaron.org>
Tue, 20 Jan 2009 13:58:48 -0800
changeset 23982 adf44ec71ce9d51e3e754426f2ba1704b3330d20
parent 23981 23d1cadf9e8d34cc28dbc3a8797beb0da69789c1
child 23983 a563bc0ec80a1833d0c25778693a7db02e342b20
push idunknown
push userunknown
push dateunknown
bugs472195
milestone1.9.2a1pre
Some additional tests for 'rem' unit from css3-values. (Bug 472195)
layout/reftests/css-valuesandunits/reftest.list
layout/reftests/css-valuesandunits/unit-rem-ref2-root-fontsize.html
layout/style/crashtests/472195-1.html
layout/style/crashtests/crashtests.list
--- a/layout/reftests/css-valuesandunits/reftest.list
+++ b/layout/reftests/css-valuesandunits/reftest.list
@@ -1,7 +1,8 @@
 == unit-rem-div-fontsize.html unit-rem-ref.html
 == unit-rem-div-width-inner.html unit-rem-ref.html
 == unit-rem-div-width-outer.html unit-rem-ref.html
 == unit-rem-iframe.html unit-rem-ref-iframe.html
 == unit-rem-root-fontsize.html unit-rem-ref-root-fontsize.html
+== unit-rem-root-fontsize.html unit-rem-ref2-root-fontsize.html
 == unit-rem-root-width.html unit-rem-ref-root-width.html
 == unit-rem.svg unit-rem-ref.svg
new file mode 100644
--- /dev/null
+++ b/layout/reftests/css-valuesandunits/unit-rem-ref2-root-fontsize.html
@@ -0,0 +1,7 @@
+<style>
+body {
+  font-size: 1.5em;
+}
+</style>
+
+<body>Hello</body>
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/472195-1.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Copy of 473892-1.html for bug 472195</title>
+<style type="text/css">
+
+@media (min-width: 5rem) { body { color: green; } }
+
+</style>
+</head>
+<body>
+</body>
+</html>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -20,13 +20,14 @@ load 444237-1.html
 load 444848-1.html 
 load 447776-1.html
 load 447783-1.html
 load 448161-1.html
 load 448161-2.html
 load 456196.html
 load 460217-1.html
 load 466845-1.html
+load 472195-1.html
 HTTP(..) load 472237-1.html
 load 473720-1.html
 load 473892-1.html
 load 473914-1.html
 load long-url-list-stack-overflow.html