Skip to content

Conversation

@rwaldron
Copy link
Member

Prior to cehcking the default display, disable the document's stylesheets to ensure an untampered read.

@jitter
Copy link
Contributor

jitter commented Feb 12, 2011

I feel kinda uneasy about this patch. It still won't work when people have inline styles on the body. And in the light of bugs like http://jqbug.com/8239 I would almost bet that there are browsers / platforms out there where disabling/enabling the stylesheets will cause major reflows and FOUC

@rwaldron
Copy link
Member Author

jitter, i tested this pretty heavily in even the worst/slowest UAs and experienced no FOUC. I additionally tested it on a low end machine running IE6/7 as well - with consistent results. I'm open to further discussion though, as it is certainly unorthodox.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants