Summary: | Some Web Inspector UI elements use offsetWidth and offsetHeight before the stylesheet loads | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Timothy Hatcher <timothy> | ||||||
Component: | Web Inspector (Deprecated) | Assignee: | Timothy Hatcher <timothy> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | mitz | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Timothy Hatcher
2007-11-24 00:08:05 PST
Created attachment 17482 [details]
Patch
Sounds like onload events for stylesheets could solve this... DO we support load events for stylesheets? (In reply to comment #3) > DO we support load events for stylesheets? I don't think so. I don't even know if they're spec'ed. (So my remark didn't mean to say that you should use them instead). We also use offsetHeight when updating the DOM tree selection highlight. The highlight will show up filling the screen blue unless we wait for the stylesheet load. Created attachment 17486 [details]
Revised patch
Comment on attachment 17486 [details]
Revised patch
r=me
|