mwrock/RequestReduce — Issue #85: X-UA-Compatible meta tag and position of generated RR stylesheet
Author: cmjacques
Created: 2011-12-21 02:42:07+00:00
State: open

Hi Matt,

I've just run into a problem using the the following meta tag with RR:
``````

According to Microsoft (http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx) -
"The X-UA-Compatible header is not case sensitive; however, it must appear in the header of the webpage (the HEAD section) before all other elements except for the title element and other meta elements."

However, the generated RR stylesheet is inserted as the first element inside the ```

```. This stops any X-UA-Compatible meta tags from working.

Would it be possible for RR to check for a X-UA-Compatible meta tag and if found inject the styles after it?
Or better yet, inject the generated styles in the same position as the first discovered ```

``` (where the developer intended)?

Cheers,
Chris