Skip to content

Remove "px" from zero values in CSS #5594

Merged
merged 1 commit into from Feb 20, 2013

2 participants

@nschonni
nschonni commented Feb 6, 2013

A zero is interpreted the same no matter the units. Saves space and seems to already be the standard in the sheets.

@nschonni nschonni Remove "px" from zero values in CSS
A zero is interpreted the same no matter the units. Saves space.
042bfd8
@jaspermdegroot
jQuery Foundation member

@nschonni

Thanks for the PR. We can clean this up indeed. We are at RC for 1.3 so we don't make any changes if not really necessary, but will merge after the final release.

@nschonni

That's fine

@gabrielschulhof gabrielschulhof added a commit that referenced this pull request Feb 11, 2013
@gabrielschulhof gabrielschulhof Popup arrow: CSS: Save a few more bytes by replacing 0px with 0 and g…
…etting rid of arrow top/left coords, which are set programmatically anyway.

Inspired by #5594.
13917f7
@jaspermdegroot jaspermdegroot merged commit f995a1c into jquery:master Feb 20, 2013
@nschonni nschonni deleted the unknown repository branch Feb 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.