Opened 10 years ago
Closed 10 years ago
#30884 closed defect (bug) (invalid)
Inline Docs: Fix CSS doc block formatting in media-views.css
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
Per the CSS docs formatting guidelines here CSS multiline comments should be formatted as:
/** * #.# Section title * * Description of section, whether or not it has media queries, etc. */
In /src/wp-includes/css/media-views.css#L107 the comment is currently formatted as:
/*! * jQuery UI Draggable/Sortable 1.11.2 * http://jqueryui.com * * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */
This causes an issue where the CSS comments are not stripped as part of the minification process of Grunt task cssmin:core
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
That's not really a regular CSS comment, it's a copyright header. And not the only one: