https://bugzilla.wikimedia.org/show_bug.cgi?id=30829

--- Comment #4 from Jon <jrob...@wikimedia.org> 2012-03-28 12:11:13 UTC ---
Created attachment 10341
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10341
Fix using javascript

This fix adds javascript that tries to create an image using a data uri. If the
image successfully loads with a height other than 0 then a class is added to
the body that can be used to add the negative text indent that hides the label.
If javascript is disabled the text indent will remain at 0 so the label will be
visible.

The only down side of this patch is if the browser doesn't support data uris
then the search button will have the text 'Go' over the icon on browsers which
have got images enabled.

Would appreciate review of this as a solution.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to