From ebfdc0925f7169aac45c2437d7a1196687a200c8 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 5 Jun 2014 12:03:46 +0200 Subject: Fix check for data-* attributes after merge with dev-accessibility --- program/lib/Roundcube/html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/lib/Roundcube/html.php b/program/lib/Roundcube/html.php index 0209d1bf2..3aae7cfe7 100644 --- a/program/lib/Roundcube/html.php +++ b/program/lib/Roundcube/html.php @@ -283,11 +283,11 @@ class html continue; } - // ignore not allowed attributes, except data-* + // ignore not allowed attributes, except aria-* and data-* if (!empty($allowed)) { $is_data_attr = @substr_compare($key, 'data-', 0, 5) === 0; $is_aria_attr = @substr_compare($key, 'aria-', 0, 5) === 0; - if (!$is_aria_attr && !isset($allowed_f[$key]) && (!$is_data_attr || !isset($allowed_f['data-*']))) { + if (!$is_aria_attr && !$is_data_attr && !isset($allowed_f[$key])) { continue; } } -- cgit v1.2.3 From a46a10f19cc8d95572f11b48d4c0a91fff82b67d Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 5 Jun 2014 13:24:55 +0200 Subject: Don't hide voice contents with display:none, otherwise they're not read. Fix icon styles for compose contacts list --- skins/larry/mail.css | 18 ------------------ skins/larry/styles.css | 3 ++- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/skins/larry/mail.css b/skins/larry/mail.css index b82fb790e..2df5e2bc5 100644 --- a/skins/larry/mail.css +++ b/skins/larry/mail.css @@ -1389,36 +1389,18 @@ div.message-partheaders .headers-table td.header { background-position: 6px -1555px; } -#contacts-table.focus tr.focused td.contactgroup { - background-position: 4px -1555px; -} - -#contacts-table tr.unfocused td.contactgroup, #contacts-table tr.selected td.contactgroup { background-position: 6px -1579px; } -#contacts-table.focus tr.selected.focused td.contactgroup { - background-position: 4px -1579px; -} - #contacts-table td.contact { background-position: 6px -1603px; } -#contacts-table.focus tr.focused td.contact { - background-position: 4px -1603px; -} - -#contacts-table tr.unfocused td.contact, #contacts-table tr.selected td.contact { background-position: 6px -1627px; } -#contacts-table.focus tr.selected.focused td.contact { - background-position: 4px -1627px; -} - #compose-content { position: absolute; top: 0; diff --git a/skins/larry/styles.css b/skins/larry/styles.css index 17543c875..7e20495d9 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -36,7 +36,8 @@ img { } .voice { - display: none; + position: absolute; + top: -1000px; } input[type="text"], -- cgit v1.2.3