Hacker News new | past | comments | ask | show | jobs | submit login

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.



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...


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.


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.


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:

http://userstyles.org/styles/54719/ctrl-plus-text-zoom-fix



Upgrade from IE - it doesn’t resize fonts specified in pixels in text resize mode.


You wound me sir. I use Chrome on Linux. Linux user since v1.2.3!


I take it all back!


I seriously doubt they are using IE. Using Google Chrome, I can't resize text either. On Firefox, I can though.


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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: