Bug 12084
Summary: | Incomplete repaint when moving from page with large body margin to page with large font size | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mark Rowe (bdash) <mrowe> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Major | CC: | mitz |
Priority: | P2 | Keywords: | HasReduction |
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Mark Rowe (bdash)
<html>
<head>
<title>Test HTML Page</title>
<script type="text/javascript">
var l = window.location.toString();
if (l[l.length - 1] == 'X')
document.write('<style type="text/css">menu { font-size: 985902680pt; }</style>');
else {
document.write('<style type="text/css">body { margin: 660402812px; }</style>');
window.onload = function() {
var x = document.documentElement.offsetHeight;
window.setTimeout(function () { location += "?X"; }, 100);
}
}
</script>
</head>
<body>
<script type="text/javascript">
var l = window.location.toString();
if (l[l.length - 1] != 'X')
document.write('<h1>This should go away after the redirect</h1>')
</script>
<menu>menu</menu>
</body>
</html>
Steps to reproduce:
1. Load the file in your browser.
2. Wait for it to reload with an '?X' on the end of the URL.
3. Note that the top 10 or 15 pixels contains remnants of the text 'This should go away after the redirect'.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
This doesn't occur with WebKit 418.9.1.
Mark Rowe (bdash)
I lied. The test case doesn't demonstrate the problem in 418.9.1, but loading the test case then changing to a different tab then back shows that the top few pixels are not repainted.
mitz
Can't reproduce in TOT.
Mark Rowe (bdash)
Works for me now too.