From 9a1ebaa73b93715d474b95a1e853614dd23df558 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 11 May 2009 22:11:13 +0000 Subject: [PATCH] Fix hiding off offscreen legends in Firefox. Props Denis-de-Bernardy. fixes #9783 git-svn-id: https://develop.svn.wordpress.org/trunk@11283 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/global.css | 6 +++++- wp-admin/edit-link-form.php | 16 ++++++++-------- wp-admin/includes/file.php | 2 +- wp-admin/options-discussion.php | 18 +++++++++--------- wp-admin/options-general.php | 6 +++--- wp-admin/options-media.php | 4 ++-- wp-admin/options-privacy.php | 2 +- wp-admin/options-reading.php | 4 ++-- wp-admin/options-writing.php | 6 +++--- wp-admin/user-edit.php | 2 +- 10 files changed, 35 insertions(+), 31 deletions(-) diff --git a/wp-admin/css/global.css b/wp-admin/css/global.css index 3c8afd4da5..642d74bd8b 100644 --- a/wp-admin/css/global.css +++ b/wp-admin/css/global.css @@ -186,9 +186,13 @@ table { } /* Hide visually but not from screen readers */ -.invisible { +.invisible, +.invisible span { position: absolute; left: -1000em; + height: 1px; + width: 1px; + overflow: hidden; } .hidden, diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php index c29eb8bdde..d0bb7205bb 100644 --- a/wp-admin/edit-link-form.php +++ b/wp-admin/edit-link-form.php @@ -157,7 +157,7 @@ add_meta_box('linkcategorydiv', __('Categories'), 'link_categories_meta_box', 'l * @param object $link */ function link_target_meta_box($link) { ?> -
+

@@ -192,7 +192,7 @@ function link_xfn_meta_box($link) { - - - - - - -
+
@@ -200,7 +200,7 @@ function link_xfn_meta_box($link) {
+
+
@@ -221,7 +221,7 @@ function link_xfn_meta_box($link) {
+
@@ -232,7 +232,7 @@ function link_xfn_meta_box($link) {
+
@@ -246,7 +246,7 @@ function link_xfn_meta_box($link) {
+
@@ -269,7 +269,7 @@ function link_xfn_meta_box($link) {
+
diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index da46d27f2a..33f952ffb7 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -758,7 +758,7 @@ jQuery(function($){
-
+


diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index 297a752bde..40b973dc49 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -25,7 +25,7 @@ include('admin-header.php'); - - - - - -
+
@@ -43,7 +43,7 @@ include('admin-header.php');
+

+
@@ -114,7 +114,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
+
@@ -124,7 +124,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
+

@@ -135,7 +135,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
+

@@ -154,7 +154,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each - - - - @@ -197,7 +197,7 @@ if (empty($tzstring)) { // set the Etc zone if no timezone string exists - -
+
__("Don’t show Avatars"), 1 => __('Show Avatars')); foreach ( $yesorno as $key => $value) { @@ -166,7 +166,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
+
__('G — Suitable for all audiences'), 'PG' => __('PG — Possibly offensive, usually for audiences 13 and above'), 'R' => __('R — Intended for adult audiences above 17'), 'X' => __('X — Even more mature than above')); @@ -180,7 +180,7 @@ endforeach;
+

diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index ed8b8ffae6..4d2ffcc0bf 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -83,7 +83,7 @@ include('./admin-header.php');
-
+
-
+
+
@@ -51,7 +51,7 @@ include('admin-header.php');
+
diff --git a/wp-admin/options-privacy.php b/wp-admin/options-privacy.php index 505edad9a3..97f43f30a3 100644 --- a/wp-admin/options-privacy.php +++ b/wp-admin/options-privacy.php @@ -25,7 +25,7 @@ include('./admin-header.php'); - - - diff --git a/wp-admin/options-writing.php b/wp-admin/options-writing.php index 09b9bb956c..2bb4030e28 100644 --- a/wp-admin/options-writing.php +++ b/wp-admin/options-writing.php @@ -30,7 +30,7 @@ include('admin-header.php'); -
+

/>

/> diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index e0a28c690d..b14497979b 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -26,7 +26,7 @@ include('admin-header.php');

+

+


+

@@ -61,7 +61,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_link_category - - -
+

@@ -69,7 +69,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_link_category
+

diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 710f191bba..b52ada4588 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -209,7 +209,7 @@ include ('admin-header.php'); 1 ) : ?>
+