Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug #8099 - Always restore to correct display value based on element's expected default display #217

Merged
2 commits merged into from
Feb 14, 2011

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
4 participants