Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

Why is display:block; required in FF 3.6 to get HTML5 styleable elements to work properly?

more options

I had all sorts of problems getting styleable elements to work in Firefox 3.6. The below code works:



Test

 article { display: block; border: 1px solid red }



Welcome This is a test.



However, it works only because of:

display: block;

when styling the HTML5 article element. If I leave the above code out of the style then the red border is not displayed properly. This code works fine in Chrome and even versions of IE when the article element is added to the DOM.

This happened

Every time Firefox opened

== Always

I had all sorts of problems getting styleable elements to work in Firefox 3.6. The below code works: Test article { display: block; border: 1px solid red } Welcome This is a test. However, it works only because of: display: block; when styling the HTML5 article element. If I leave the above code out of the style then the red border is not displayed properly. This code works fine in Chrome and even versions of IE when the article element is added to the DOM. == This happened == Every time Firefox opened == Always

선택된 해결법

The HTML5 parsing engine is not turned on by default in the 3.6.x versions, it is turned on in Firefox 4

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (1)

more options

선택된 해결법

The HTML5 parsing engine is not turned on by default in the 3.6.x versions, it is turned on in Firefox 4