#6111 closed enhancement (fixed)
Unused or Unwanted (blank) css and also extra colon(:) in css background property
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | lowest | |
Component: | Developer Hub | Keywords: | has-patch |
Cc: |
Description
In the wordpress.org theme directory, the unwanted blank class in main.scss
file which has not included any property. It is totally blank. and in the background property the colon(:) is extra written.we should remove this for better css coding standard.
Attachments (2)
Change History (8)
#2
@
3 years ago
- Component changed from WordPress.org Site to Developer Hub
- Priority changed from normal to lowest
The patch changes some invalid CSS to be valid CSS, but should those properties actually be there? ie. will fixing the bug introduce a bug?
The Handbook comment should have /
in it I think.
The empty rules aren't exactly a problem though..
Note: See
TracTickets for help on using
tickets.
There is also Unknown property of css
text-alignment
in same file. We should replace withtext-align
. Because the alignment property is wrong and is not working for text alignment.