WordPress.org

Make WordPress Core

Ticket #41580: 41580.patch

File 41580.patch, 1.9 KB (added by ViktorFroberg, 3 years ago)

Remove duplicate css rule in press-this.css, remove padding: 0, change border-style: none and border-width: 0 to border: 0 in all ::-moz-focus-inner rules.

  • src/wp-admin/css/press-this.css

     
    177177        cursor: default;
    178178}
    179179
    180 button::-moz-focus-inner,
    181 input::-moz-focus-inner {
    182         border: 0;
    183         padding: 0;
    184 }
    185 
    186180input {
    187181        line-height: normal;
    188182}
     
    499493button::-moz-focus-inner,
    500494input::-moz-focus-inner {
    501495        border: 0;
    502         padding: 0;
    503496}
    504497
    505498[type="text"],
  • src/wp-includes/css/buttons.css

     
    6464.wp-core-ui input[type="reset"]::-moz-focus-inner,
    6565.wp-core-ui input[type="button"]::-moz-focus-inner,
    6666.wp-core-ui input[type="submit"]::-moz-focus-inner {
    67         border-width: 0;
    68         border-style: none;
    69         padding: 0;
     67        border: 0;
    7068}
    7169
    7270.wp-core-ui .button.button-large,
  • src/wp-includes/css/editor.css

     
    654654
    655655/* Remove the dotted border on :focus and the extra padding in Firefox */
    656656.mce-window .mce-btn::-moz-focus-inner {
    657         border-width: 0;
    658         border-style: none;
    659         padding: 0;
     657        border: 0;
    660658}
    661659
    662660.mce-window .mce-btn:hover,
  • src/wp-includes/css/jquery-ui-dialog.css

     
    207207
    208208/* Remove the dotted border on :focus and the extra padding in Firefox */
    209209.ui-button::-moz-focus-inner {
    210         border-width: 0;
    211         border-style: none;
    212         padding: 0;
     210        border: 0;
    213211}
    214212
    215213.ui-button:hover,