Use the iphone user-agent in the webkit-nightly to see the bug. Some text initially appears off-screen and then appears when you resize or refresh the page. After that point it is difficult to reproduce the issue again. To reproduce it after that, I needed to visit other sites and then clear history/cache. Here is a reduced test. Making trivial changes to either file can mask the bug. For example, even removing the script tag (to an non-existent script) appears to fix the problem. TextMoves.html <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css">@import url(TextMoves.css);</style> <script type="application/x-javascript" src="doesntmatter.js"></script> </head> <body> <div class="row"> <label>This label moves after resize or refresh.</label> </div> </body> </html> TextMoves.css .row { position: relative; text-align: right; } .row > label { position: absolute; }
This test case appears to work properly on modern webkit.