Make WordPress Core

Changeset 26583


Ignore:
Timestamp:
12/03/2013 08:11:22 PM (11 years ago)
Author:
iammattthomas
Message:

Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348, props SergeyBiryukov, iammattthomas.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/ie.css

    r26182 r26583  
    509509}
    510510
     511input[type="password"],
     512.login form .input {
     513    font-family: sans-serif;
     514}
     515
    511516/* IE6 leftovers */
    512517* html .row-actions {
  • trunk/src/wp-admin/css/wp-admin.css

    r26582 r26583  
    348348}
    349349
     350.ie8 input[type="password"],
     351.ie8 .login form .input {
     352    font-family: sans-serif;
     353}
     354
    350355/* general */
    351356html,
  • trunk/src/wp-login.php

    r26120 r26583  
    5858
    5959    ?><!DOCTYPE html>
    60     <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     60    <!--[if IE 8]>
     61        <html xmlns="http://www.w3.org/1999/xhtml" class="ie8" <?php language_attributes(); ?>>
     62    <![endif]-->
     63    <!--[if !(IE 8) ]><!-->
     64        <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     65    <!--<![endif]-->
    6166    <head>
    6267    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
     
    6671    wp_admin_css( 'wp-admin', true );
    6772    wp_admin_css( 'colors-fresh', true );
     73    wp_admin_css( 'ie', true );
    6874
    6975    // Remove all stored post data on logging out.
Note: See TracChangeset for help on using the changeset viewer.