3 ms·
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
by sirn 15y ago
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/016865.html https://lists.webkit.org/pipermail/webkit-dev/2011-May/01686...
[2]: https://bugs.webkit.org/show_bug.cgi?id=56543 https://bugs.webkit.org/show_bug.cgi?id=56543
[3]: https://bug-56543-attachments.webkit.org/attachment.cgi?id=117877 https://bug-56543-attachments.webkit.org/attachment.cgi?id=1...
- samtregar2 15y agoThanks - 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.
- sirn 15y agoBehavior 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.