| Summary: | Page fails to update CSS sometimes when styles are dynamically injected into the page | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | dak |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | dak |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.10 | ||
|
Description
dak
2015-05-20 22:30:32 PDT
Note also that the issue is only apparent on a fresh load with no CSS cached. It appears that under certain conditions, injected stylesheets are not initially appearing in `document.styleSheets` when injected with a <style> tag somewhere other than the <head>. Forcing the styles to be recalculated fixes the issue. |