Bug 71992

Summary: style applied immediately before alert() is not rendered
Product: WebKit Reporter: Mike Lawther <mikelawther>
Component: CSSAssignee: 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
Reported 2011-11-09 19:50:07 PST
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
Brent Fulgham
Comment 1 2022-07-12 15:32:22 PDT
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
Comment 2 2022-07-12 15:32:43 PDT
Note You need to log in before you can comment on or make changes to this bug.