]> source.dussan.org Git - jquery.git/commitdiff
CSS: Remove units from a 0 width/height element
authorChristophe Tafani-Dereeper <christophetd@hotmail.fr>
Mon, 16 May 2016 12:44:45 +0000 (14:44 +0200)
committerTimmy Willison <timmywillisn@gmail.com>
Mon, 16 May 2016 14:46:47 +0000 (10:46 -0400)
Close gh-3122

test/data/testsuite.css

index 4f2b289f4ecf2dbf59c979ae10908106b84a895e..f6225df309991c59d829af19af1a9f214bc4d61d 100644 (file)
@@ -53,11 +53,11 @@ div.medopacity {
 }
 
 div.nowidth {
-       width: 0px;
+       width: 0;
 }
 
 div.noheight {
-       height: 0px;
+       height: 0;
 }
 
 div.noopacity {