Bug 71992
Summary: | style applied immediately before alert() is not rendered | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mike Lawther <mikelawther> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ap, bfulgham, mitz, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Mike Lawther
As reported at http://code.google.com/p/chromium/issues/detail?id=92416:
Repro:
<html>
<body>
<script>
document.body.style.backgroundColor = 'red';
alert('The background should already be red now');
document.body.style.backgroundColor = 'green';
</script>
</body>
</html>
Expected:
Body should be red when the alert pops up
Actual:
Body color does not change when alert pops up, then turns green after alert is dismissed.
Tested with:
Firefox 7.0.1 MacOS 10.6 : OK
Opera 11.51 MacOS 10.6 : OK
WebKit Nightly r99757 MacOS 10.6 : BAD
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brent Fulgham
Safari and Chrome behave the same (no background color change, then Green after 'OK').
Firefox acts as requested by the reporter.
Radar WebKit Bug Importer
<rdar://problem/96914168>