Публикации в категории «CSS/HTML Hacks»
The reason behind that is security. If you have
yoursite.com in one window and
gmail.com in another one, then you’d not want a script from yoursite
.com to access or modify your mail or run actions in context of gmail on your behalf.
Windows can work in contexts of each other only if they are from same protocol://domain:port, or, shortly, from same origin.
There’s an issue in Android web view, at least on HTC EVO and Samsung Galaxy Nexus that causes input field label text to behave just like placeholder: appear as a watermark over the empty input field and disappear as soon as user starts typing (see image).
Also default system styles may apply on input fields when they receive focus, causing layout break, overlapping other elements with a system input field (e.g. search icon will disappear for search field) that quite often can be vertically misaligned with the original input field (see screenshot) if the one is placed in element with position absolute or fixed.…