[ 2 posts ]

Claudia Murialdo

  • Username: cmurialdo
  • Joined: Wed Nov 30, 2011 8:06 am
  • Posts: 1
  • IRC: cmurialdo
  • Offline
  • Profile

W3C css validator requires a unit of measurement with zero

Post Posted: Wed Nov 30, 2011 8:22 am
+0-
Hello,
I'm using yuicompressor for css styles. When using zero values, the units of measure are not required, so the YUICompressor will strip them. But the units are required by the w3c css validator.
Have you think of adding an option for preserve zero value units?.

Thanks.
Regards,
Claudia.

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: W3C css validator requires a unit of measurement with ze

Post Posted: Mon Dec 12, 2011 8:28 am
+0-
Feel free to file a ticket here:
http://yuilibrary.com/projects/yuicompressor/newticket

However, I do not personally agree with the validator in this case. A 0 and 0px are the same as far as every browser on the planet is concerned, so it's really a non-issue, it's just the validator complaining about something.
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum