简体   繁体   English

哪种浏览器将正确显示display:run-in?

[英]Which of the browser(s) will render display:run-in correctly?

  1. IE7 & FF2.0 IE7和FF2.0
  2. IE8 & Opera 9+ IE8和Opera 9+
  3. IE7 only 仅限IE7
  4. IE8 & FF3.5 IE8和FF3.5
  5. IE7 & Safari IE7和Safari

I encountered this question in a quiz. 我在测验中遇到了这个问题。 Don't have all browser to experiment with. 没有所有的浏览器都可以尝试。 Thanks for any help. 谢谢你的帮助。

According to quirksmode : 根据quirksmode

  • IE8 (as IE8) and Opera 9.6.2 and 10 will render it correctly; IE8(与IE8相同)以及Opera 9.6.2和10可以正确呈现它;
  • Safari 3/4, Chrome 1+ and Konqueror render it incorrectly; Safari 3/4,Chrome 1+和Konqueror无法正确渲染; and
  • other browsers do not render it at all. 其他浏览器根本不渲染它。
  1. NO & NO 不,不
  2. YES & YES 是的是的
  3. NO 没有
  4. YES & NO 是与否
  5. NO & YES* 否&是*

*Safari supports run-in when it occurs before an element with display: inline. * Safari在出现display:inline元素之前支持磨合。 This should not happen. 这不应该发生。 So technically, it is supported, but has issues. 因此从技术上讲,它受支持,但是存在问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM