Fix use of a -moz-prefixed value within the test, by replacing font:-moz-initial with font: medium sans-serif.

Mon, 26 Sep 2011 14:20:33 -0700

author
L. David Baron <dbaron@dbaron.org>
date
Mon, 26 Sep 2011 14:20:33 -0700
changeset 2361
012d1a7d6dab
parent 2360
3d2f5ffcf71e
child 2362
9361a146d63c

Fix use of a -moz-prefixed value within the test, by replacing font:-moz-initial with font: medium sans-serif.

Fixes the third of the three issues reported by Arron in
http://lists.w3.org/Archives/Public/public-css-testsuite/2011Sep/0042.html

contributors/anne/mediaqueries/test_media_queries.html file | annotate | diff | comparison | revisions
     1.1 --- a/contributors/anne/mediaqueries/test_media_queries.html	Fri Sep 23 04:47:04 2011 -0400
     1.2 +++ b/contributors/anne/mediaqueries/test_media_queries.html	Mon Sep 26 14:20:33 2011 -0700
     1.3 @@ -122,7 +122,7 @@
     1.4    }
     1.5  
     1.6    var content_div = document.getElementById("content");
     1.7 -  content_div.style.font = "-moz-initial";
     1.8 +  content_div.style.font = "medium sans-serif";
     1.9    var em_size =
    1.10      getComputedStyle(content_div, "").fontSize.match(/^(\d+)px$/)[1];
    1.11  

mercurial