Log In  


In the expandable textarea you get when you click Code under a cart, tabs are defaulting to 8 spaces, which is really ugly and rapidly pushes off of the right.

I found info here on how to fix it. If we assume that you're setting tabs to a default of 2 spaces in 0.1.12, then you'd want to do this for the code textarea:

style: -moz-tab-size: 2; -o-tab-size: 2; tab-size: 2;

Because intarwebz haz standardz. I mean, look at that crap. Not just three versions, but two start with hyphens. WTF.

You should also do this for the div surrounding [code]...[/code] regions of posts.

PS: Remember also to fix the broken glyph translation in the textarea.



What's that saying ... Standards are great, everybody has one!


I actually discovered a dumb dependent-bug-ordering roadblock in Firefox's bugzilla as a result of this and (I hope) got them on the road to supporting 'tab-size' instead of making everyone use -moz-tab-size.

So... yay?


Also, looks like Opera now supports 'tab-size' through its use of Chromium under the hood, so the '-o-tab-size' bit is probably not needed.



[Please log in to post a comment]