pisi/Reel — Issue #89: Too tight dependency on `style`/`link` tags in the `head`
Author: pisi
Created: 2011-12-21 16:14:45+00:00
State: open

Originaly reported by @lopsided in issue #84:

> There were two problems with my test page. The first (which fixes the code in the previous comment) was to add
>
> < style type="text/css" > < /style >
>
> to the head. On my actual site I did not need this for some reason. Maybe because I have stylesheet links then IE has already fired up the CSS handlers...?

It turned out it is a bug, which @lopsided had tapped. Reel keeps some its styling rules in a dynamically injected stylesheet in the head. The `

` not caring about what's inside:

```js
... .prependTo('head');
```

It would be much cleaner then, but at the same time far too prominent when viewing the source code. But I guess that's the price it has to pay to sit below all other styles no matter what ;)