Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add some extra tests to make sure we can get the value of hyphenated …

…CSS properties, for #3732.
  • Loading branch information...
commit 1ea539b4f08d9056e7e133173f7093908a513f77 1 parent e87b090
John Resig authored December 22, 2009

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  test/unit/css.js
4  test/unit/css.js
... ...
@@ -1,7 +1,7 @@
1 1
 module("css");
2 2
 
3 3
 test("css(String|Hash)", function() {
4  
-	expect(28);
  4
+	expect(30);
5 5
 
6 6
 	equals( jQuery('#main').css("display"), 'none', 'Check for css property "display"');
7 7
 
@@ -44,7 +44,9 @@ test("css(String|Hash)", function() {
44 44
 	var div = jQuery('#nothiddendiv'), child = jQuery('#nothiddendivchild');
45 45
 
46 46
 	equals( parseInt(div.css("fontSize")), 16, "Verify fontSize px set." );
  47
+	equals( parseInt(div.css("font-size")), 16, "Verify fontSize px set." );
47 48
 	equals( parseInt(child.css("fontSize")), 16, "Verify fontSize px set." );
  49
+	equals( parseInt(child.css("font-size")), 16, "Verify fontSize px set." );
48 50
 
49 51
 	child.attr("class", "em");
50 52
 	equals( parseInt(child.css("fontSize")), 32, "Verify fontSize em set." );

0 notes on commit 1ea539b

Please sign in to comment.
Something went wrong with that request. Please try again.