vector/jquery.ui.core.css: Update rule for .ui-helper-hidden-accessible
authorrillke <rainerrillke@hotmail.com>
Tue, 1 Jul 2014 16:08:19 +0000 (18:08 +0200)
committerKrinkle <krinklemail@gmail.com>
Tue, 1 Jul 2014 18:58:41 +0000 (18:58 +0000)
A Blink rendering bug causes dialogs to vanish in Chrome and Opera Next
with current CSS (bug 67243).

The file resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css
(from the default jquery.ui theme, 'smoothness') was used as a template.

Upstream commits:
* https://github.com/jquery/jquery-ui/commit/a9d854967f0
* https://github.com/jquery/jquery-ui/commit/48e0aa0fd27

Bug: 67243
Change-Id: Ib099282484bb29f5d33208be843686bf3ca11366

resources/src/jquery.ui-themes/vector/jquery.ui.core.css

index b3e8193..1931aad 100644 (file)
@@ -7,7 +7,7 @@
 /* Layout helpers
 ----------------------------------*/
 .ui-helper-hidden { display: none; }
-.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
+.ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
 .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
 .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
 .ui-helper-clearfix { display: inline-block; }