Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Giving the l10n_client div the class "hidden" when it is not actually hidden but minimized is bad naming. This has lots of potential conflicts with other CSS, where hidden actually means hidden, i.e. "display:none" and/or "visibility:hidden". I recommend renaming this to "minimized" or something similar.
Comment | File | Size | Author |
---|---|---|---|
#6 | l10n_client-1181356-6.patch | 2.34 KB | Jody Lynn |
#4 | l10n_client-css_hidden.patch | 2.23 KB | Volx |
l10n_client-css_hidden.patch | 2.17 KB | Volx | |
Comments
Comment #1
afox CreditAttribution: afox commented+1 !
Tested working on the Feb 25th 6.x-2.x-dev
Comment #2
tsi CreditAttribution: tsi commented+2
HTML5 Boilerplate and many other css frameworks (including my 965 theme) use "hidden" to actually hide elements.
This makes this module unusable with any of these frameworks, so I believe this is major.
Comment #3
JacineJust lost a couple of hours trying to figure this out as well. Can you please prefix the class name with the module name? I think
.minimized
is also too general.Comment #4
Volx CreditAttribution: Volx commentedNo problem, here it is with "l10-client-" prefix :)
Comment #5
tsi CreditAttribution: tsi commentedTested against 7.x-1.1, solves the problem.
This should get committed.
Comment #6
Jody LynnReroll.
Yes, I found this issue because my theme hid the translation link and I had to debug it.
Comment #7
gagarine CreditAttribution: gagarine commentedPatch #6 add l10n-client-minimized but do not clean all hidden class..
EDIT I didn't say anythings.. I test it not on right branch.
Comment #8
gagarine CreditAttribution: gagarine commentedComment #9
SebCorbin CreditAttribution: SebCorbin commentedCommitted, thanks !
Comment #10
Gábor HojtsyDoes this apply to Drupal 6? For backport :)
Comment #11
SebCorbin CreditAttribution: SebCorbin commentedYup, backported !