WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24450, comment 6


Ignore:
Timestamp:
05/30/13 22:20:54 (11 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24450, comment 6

    initial v1  
    44Yeah, and both options (a body stylesheet generated from PHP or !important) don't sound that good. 
    55 
    6 Agree with Sergey that `.wp_themeSkin tr.mceFirst .mceToolbar tr td` is quite specific. We could probably add `.mceEditor` in front of every `.wp_themeSkin` in [http://core.trac.wordpress.org/browser/trunk/wp-includes/css/editor.css editor.css] (about half of the selectors there) but it will always be possible to overwrite that with a selector containing IDs. Better option imho is to avoid using IDs when defining basic styles, or if not possible, at least to make them more specific: `#page > table tr td`, etc. 
     6Agree with Sergey that `.wp_themeSkin tr.mceFirst .mceToolbar tr td` is quite specific. We could probably add `.mceEditor` in front of every `.wp_themeSkin` in [http://core.trac.wordpress.org/browser/trunk/wp-includes/css/editor.css editor.css] (about half of the selectors there) but it will always be possible to overwrite that with a selector containing IDs. Better option imho is to avoid using IDs when defining default element styles, or if not possible, at least to make them more specific: `#page > table tr td`, etc.