Bug #8099 - Always restore to correct display value based on element's expected default display#217
Merged
2 commits merged intojquery:masterfrom Feb 14, 2011
Merged
Conversation
…s expected default display
Contributor
|
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 |
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. |
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prior to cehcking the default display, disable the document's stylesheets to ensure an untampered read.