[wp-trac] [WordPress Trac] #53866: Measurement in 'px' is unnecessary
WordPress Trac
noreply at wordpress.org
Tue Aug 3 07:43:58 UTC 2021
#53866: Measurement in 'px' is unnecessary
-----------------------------------------------+---------------------------
Reporter: ankitmaru | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch close reporter-feedback | Focuses: css, coding-
| standards
-----------------------------------------------+---------------------------
Changes (by audrasjb):
* keywords: has-patch => has-patch close reporter-feedback
Comment:
Hello and thank you for the ticket/patch @ankitmaru !
When a value is equal to zero, it doesn't need any unit of measure (zero
pixel = zero em = zero % = zero rem = zero whatever) 🙂
Do you have any reason why the unit of measure should be added to values
when they are equal to zero?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53866#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list