Ticket #2529081 (closed enhancement)
ReporterAlexander |
Opened: 07/20/10 Last modified: 04/20/11 Status: closed Type: enhancement Resolution: duplicate Duplicate of: #2528670 |
Owner Ryan Grove |
Target Release: FUTURE Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Correct loading CSS in Gecko and Webkit | ||
| Description: | As we know, nor Gecko nor Webkit not support onload and onerror for <link> nodes. Ordinary, but partially working solution is poll .sheet property until timeout. But i discovered different ways to Webkit Gecko Algorithm if gecko then create <iframe> previously; Create <object> with data = url, width = height = 1 and style.display = 'block' (yes, object like flash not loads if not visible ), onload = _onObjectLoad handler function. P.S. Sorry about my engrish :(. |
||
| Type: | enhancement | Observed in Version: | 3.1.1 |
| Component: | Get Utility | Severity: | S3 (normal) |
| Assigned To: | Ryan Grove | Target Release: | FUTURE |
| Location: | Priority: | P3 (normal) | |
| Tags: | css, webkit, gecko, load | Relates To: | |
| Browsers: | Firefox 3.x - All,Firefox 3.x - Mac,Firefox 3.x - PC,Safari 4.x - Mac,Safari 4.x - PC | ||
| URL: | http://github.com/bga/jbasis/blob/001e8515e44c0688e77faeb79ad38ee0ce73c578/src/$jb.Loader.CSSResource.js | ||
| Test Information: | |||
Change History
|
Posted: 07/24/10
|
|
Posted: 08/11/10
|
|
Posted: 08/11/10
This is interesting, but I'm not sure the extra overhead is worth it. Marking for future investigation. |
|
Posted: 04/20/11
|
|
Posted: 04/20/11
This ticket was marked as a duplicate of #2528670 |
Adam Moore
My implementation now not use iframe for gecko . Also bugs fixed http://github.com/bga/jbasis/commit/548511245b707666e68954340d3b195ad6eca845