[wp-trac] [WordPress Trac] #49638: Determine methodology recommendations for CSS audit
WordPress Trac
noreply at wordpress.org
Thu May 21 02:32:37 UTC 2020
#49638: Determine methodology recommendations for CSS audit
------------------------------+------------------------------
Reporter: notlaura | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses: css
------------------------------+------------------------------
Comment (by isabel_brison):
Adding a note here, as discussed in the CSS meeting:
https://make.wordpress.org/core/2020/05/20/chat-summary-14th-may-2020/, to
include both the contents of `wp-admin/` and `wp-includes/` in any
automated or manual checks, as there is some cross-contamination of styles
between the two.
Also, noting that there are several instances of `<style>` tags with CSS
inside .php files. There are also dynamically added `<style>` elements, as
well as inline styles, in .js files (including one instance of inline
!important in `/js/_enqueues/wp/svg-painter.js`). This means we have to
make sure to run any CSS-related checks in .php and .js files too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49638#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list