[wp-meta] [Making WordPress.org] #571: Discrepancy in CSS Coding Standards documentation

Making WordPress.org noreply at wordpress.org
Sun Jul 27 18:11:06 UTC 2014


#571: Discrepancy in CSS Coding Standards documentation
------------------------+-----------------------
Reporter:  McGuive7     |      Owner:
    Type:  defect       |     Status:  new
Priority:  normal       |  Component:  Handbooks
Keywords:  needs-patch  |
------------------------+-----------------------
 There is a slight discrepancy that may warrant correction in the section
 on CSS inline commenting: http://make.wordpress.org/core/handbook/coding-
 standards/css/#commenting

 The text reads:
 “Inline comments should not have empty newlines separating the comment
 from the item to which it relates.”

 However the following code example is formatting WITH a newline break
 between the comment and the subsequent code block:


 {{{
 /* This is a comment about this selector */

 .another-selector {
     position: absolute;
     top: 0 !important; /* I should explain why this is so !important */
 }
 }}}
 Is this deliberate or not?

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/571>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list