[wp-trac] [WordPress Trac] #30884: Inline Docs: Fix CSS doc block formatting in media-views.css
WordPress Trac
noreply at wordpress.org
Fri Jan 2 04:28:30 UTC 2015
#30884: Inline Docs: Fix CSS doc block formatting in media-views.css
------------------------------+-----------------------
Reporter: netweb | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: 4.2
Component: Build/Test Tools | Version:
Severity: minor | Keywords: has-patch
Focuses: docs |
------------------------------+-----------------------
Per the CSS docs formatting guidelines
[https://make.wordpress.org/core/handbook/coding-standards/css/#commenting
here] CSS multiline comments should be formatted as:
{{{
/**
* #.# Section title
*
* Description of section, whether or not it has media queries, etc.
*/
}}}
In [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/css
/media-views.css#L107 /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`
https://cldup.com/h0MX_7qRw4.png
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30884>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list