-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Detect support for display: run-in
?
#198
Comments
Example:
In good browsers, it renders like
But when
which is just plain stupid-looking. |
i got halfway done on this.. maybe you could finish it off?
is basically the test. I think. can you test this around and see if it's true in supporting browsers and false in others? |
Thanks, Paul. I made a JSFiddle page (ajh.us/run-in-test) for it. Results: ✓ Correctly passes in Webkit, Opera, and IE8 So I made another jsFiddle page (http://ajh.us/run-in-2) and changed the test to use ✓ All browsers' results as expected. |
(jsfiddle breaks IE9 but tweaking the test to So, what’s the next step? Could we see this in Modernizr soon, or should I just use this test in my own code? |
We should be good. If you wanna doublecheck support that'd be great but this follows your pattern. woo! |
Boom! Great, thanks, Paul! |
Currently all the major desktop browsers except FF ≤ 4 support
display: run-in
. Because I want to only add generated content whenrun-in
is supported by the browsers, I would like to be able to detect this. I don’t see this sort of thing in either the documentation, or the Undetectables wiki page.Thoughts on my situation or support for this detection would be appreciated.
The text was updated successfully, but these errors were encountered: