Check for text-indent <-99 for RTL support #109

Closed
stubbornella opened this Issue Jul 12, 2011 · 2 comments

Projects

None yet

2 participants

@stubbornella
Contributor

RTL doesn't play nice with high values of text-indent. This technique is often used as an image replacement method to move text off screen. Paul Irish suggested that we should check for explicitly setting the text-direction to LTR on the particular element.

@shapeshifta78

Hi there,
this line works if I check it on csslint.net, but not if I check it locally with the latest repo version (0.5.0)
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr }

Any ideas? :)

@shapeshifta78

I'll file a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment