Re:Apple Never Designed the iPad - They Undesigned it
by samtregar2 on Thursday December 08, 2011 @12:24PM
(#3330011)
That's amazing - this site managed to come up with CSS that prevents the font from getting bigger even when I ctrl-+ the page. Thanks for making it impossible for me to read, asshats.
[ Parent
| on HN ]
Re:Apple Never Designed the iPad - They Undesigned it
by sirn on Thursday December 08, 2011 @01:31PM
(#3330387)
It's `-webkit-text-size-adjust`. This property, at its original intent, was introduced as a way to tell Mobile Safari (and other WebKit mobile browsers) to not auto-adjust the font size on orientation change. However, there also exists `-apple-text-size-adjust` that used in several WebKit views in Apple softwares (e.g. Safari's RSS reader use `-apple-text-size-adjust` for its sidebar). At one point they deprecated `-apple` prefix for `-webkit` and the collision occurs.
This is a bug[1][2] rather than expected behavior. They can't disable it right away because Apple softwares and Qt requires this "feature". The website is likely not the one to blame here.
Update: looks like there's a new patch to fix this earlier this week.
[1]: https://lists.webkit.org/pipermail/webkit-dev/2011-May/01686...
[2]: https://bugs.webkit.org/show_bug.cgi?id=56543
[3]: https://bug-56543-attachments.webkit.org/attachment.cgi?id=1...
Re:Apple Never Designed the iPad - They Undesigned it
by samtregar2 on Thursday December 08, 2011 @02:07PM
(#3330585)
Thanks - very informative. Why would they bother trying to prevent font re-sizing on orientation change? Surely that's done to make the text more readable.
Re:Apple Never Designed the iPad - They Undesigned it
by sirn on Thursday December 08, 2011 @02:23PM
(#3330663)
Behavior for resizing on orientation change is kind of annoying sometimes because it adjust some font size but not all. When you create a mobile optimized site, for example, this behavior make it a lot harder to style page elements.
Re:Apple Never Designed the iPad - They Undesigned it
by Stratoscope on Thursday December 08, 2011 @01:29PM
(#3330377)
They are using this evil CSS style:
body { -webkit-text-size-adjust: none; }
Here is a userstyle that will fix the problem on this site and on all other sites that use this style:
Re:Apple Never Designed the iPad - They Undesigned it
by funkah on Thursday December 08, 2011 @01:44PM
(#3330456)
Use Readable. http://readable.tastefulwords.com/
Re:Apple Never Designed the iPad - They Undesigned it
by robin_reala on Thursday December 08, 2011 @12:32PM
(#3330053)
Upgrade from IE - it doesn’t resize fonts specified in pixels in text resize mode.
Re:Apple Never Designed the iPad - They Undesigned it
by samtregar2 on Thursday December 08, 2011 @01:41PM
(#3330444)
You wound me sir. I use Chrome on Linux. Linux user since v1.2.3!
Re:Apple Never Designed the iPad - They Undesigned it
by robin_reala on Friday December 09, 2011 @04:20AM
(#3333154)
I take it all back!
Re:Apple Never Designed the iPad - They Undesigned it
by eren-tantekin on Thursday December 08, 2011 @12:56PM
(#3330175)
I seriously doubt they are using IE. Using Google Chrome, I can't resize text either. On Firefox, I can though.
Re:Apple Never Designed the iPad - They Undesigned it
by Stratoscope on Thursday December 08, 2011 @01:30PM
(#3330384)
Yes, that is because they are using a webkit CSS style that is not intended for normal websites. See my comment above for a fix.