~openerp-dev/openerp-web/7.0-opw-589823-msh

Viewing all changes in revision 3861.

  • Committer: Xavier Morel
  • Date: 2013-03-21 16:47:41 UTC
  • Revision ID: xmo@openerp.com-20130321164741-iakau7g1kfq2mqu4
[FIX] visible text in Chrome on Linux after applying text-to-icon

@include text-to-icon makes the text invisible (and adds an icon), but
some platform apparently don't apply the text's transparency (or
visibility) to its shadow, leading to the invisible text's shadow
still being noticeably visible (an interesting literary idea, an
"invisible" man who still casts a shadow?) as if the text had not been
erased. Furthermore, combined with the 1px font size it made the text
look like some sort of screen smudge or glitch.

Fix by erasing the text-shadow as well as the text.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: