WordPress.org

Make WordPress Core

Ticket #17154: 17154-2.patch

File 17154-2.patch, 4.8 KB (added by azaozz, 12 months ago)
  • wp-content/themes/twentyeleven/editor-style.css

     
    1313        font-weight: inherit; 
    1414        line-height: 1.625; 
    1515} 
    16 body { 
     16 
     17/* Workaround for a WebKit bug: inserting spans with inline styles, see #17154 */ 
     18body, 
     19li, 
     20p, 
     21span { 
    1722        color: #333; 
    18         font: 15px "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif; 
     23        font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif; 
    1924        font-weight: 300; 
    2025        line-height: 1.625; 
    2126} 
     
    309314.wp-caption a:hover img { 
    310315        background: #fff; 
    311316        border-color: #ddd; 
    312 } 
    313  No newline at end of file 
     317} 
  • wp-content/themes/twentyten/editor-style.css

     
    1919blockquote { 
    2020        font-size: 16px; 
    2121} 
     22 
     23/* Workaround for a WebKit bug: inserting spans with inline styles, see #17154 */ 
     24body, 
     25li, 
     26p, 
     27span { 
     28        color: #444; 
     29        font-family: Georgia, "Bitstream Charter", serif; 
     30        line-height: 1.5; 
     31        font-size: 16px; 
     32} 
     33 
    2234tr th, 
    2335thead th, 
    2436label, 
     
    3244code, code var { 
    3345        font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 
    3446} 
    35 body, input, textarea { 
     47input, textarea { 
    3648        font-size: 12px; 
    3749        line-height: 18px; 
    3850} 
  • wp-content/themes/twentythirteen/css/editor-style.css

     
    99} 
    1010 
    1111body { 
    12         font-family: "Source Sans Pro", Helvetica, sans-serif; 
    13         color: #141412; 
    14         line-height: 1.5; 
    1512        text-rendering: optimizeLegibility; 
    1613        vertical-align: baseline; 
    1714} 
    1815 
     16/* Workaround for a WebKit bug: inserting spans with inline styles, see #17154 */ 
     17body, 
     18span { 
     19        font: 16px "Source Sans Pro", Helvetica, sans-serif; 
     20        color: #141412; 
     21        line-height: 1.5; 
     22} 
    1923 
    2024/** 
    2125 * Headings 
     
    341345        line-height: 1.5; 
    342346        margin-bottom: 24px; 
    343347        padding: 0; 
    344 } 
    345  No newline at end of file 
     348} 
  • wp-content/themes/twentytwelve/editor-style.css

     
    1010        max-width: 625px; 
    1111} 
    1212body { 
     13        text-rendering: optimizeLegibility; 
     14        vertical-align: baseline; 
     15} 
     16 
     17/* Workaround for a WebKit bug: inserting spans with inline styles, see #17154 */ 
     18body, 
     19span { 
    1320        color: #444; 
    1421        font-family: "Open Sans", Helvetica, Arial, sans-serif; 
    1522        font-size: 14px; 
    16         font-size: 1rem; 
    17         line-height: 1; 
    18         text-rendering: optimizeLegibility; 
    19         vertical-align: baseline; 
     23        line-height: 1.714285714; 
    2024} 
    2125 
    22  
    2326/* =Headings 
    2427-------------------------------------------------------------- */ 
    2528 
     
    7376-------------------------------------------------------------- */ 
    7477 
    7578p { 
    76         line-height: 1.714285714; 
    7779        margin: 0 0 24px; 
    7880        margin: 0 0 1.714285714rem; 
    7981} 
     
    8183ol { 
    8284        margin: 0 0 24px; 
    8385        margin: 0 0 1.714285714rem; 
    84         line-height: 1.714285714; 
    8586        padding: 0; 
    8687} 
    8788ul { 
     
    339340        line-height: 2; 
    340341        margin: 0 0 24px; 
    341342        margin: 0 0 1.71429rem; 
    342 } 
    343  No newline at end of file 
     343} 
  • wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css

     
    11 
    22body.mceForceColors {background:#FFF; color:#000;} 
    33body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;} 
    4 td {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;} 
     4td {color:#000; font: 11px Verdana, Arial, Helvetica, sans-serif; margin:8px;} 
    55h1 {font-size: 2em} 
    66h2 {font-size: 1.5em} 
    77h3 {font-size: 1.17em} 
     
    3838 
    3939/* WordPress styles */ 
    4040body { 
     41        margin: 10px; 
     42} 
     43 
     44/* Workaround for a WebKit bug: inserting spans with inline styles, see #17154 */ 
     45body, 
     46span { 
    4147        font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; 
    4248        font-size: 13px; 
    4349        line-height: 19px; 
    4450        color: #333; 
    45         margin: 10px; 
    4651} 
    4752 
    48 br[data-mce-bogus] { 
    49         line-height: 1em; 
    50         margin-top: -1em; 
    51 } 
    52  
    53 br[data-mce-bogus]:only-child { 
    54         line-height: inherit; 
    55         margin-top: inherit; 
    56 } 
    57  
    5853.aligncenter, 
    5954dl.aligncenter { 
    6055        display: block; 
     
    10398} 
    10499 
    105100td { 
    106         color: #000; 
    107         font-size: 11px; 
    108101        margin: 8px; 
    109102} 
    110103