How does the DiggBar dynamically resize its iframe's height based on content not on their domain?

前端 未结 5 2139
南方客
南方客 2020-12-13 01:08

Someone has already asked, How does the DiggBar work? in a previous question.

While someone provided a decent answer it didn\'t address one thing:

5条回答
  •  再見小時候
    2020-12-13 01:47

    An iframe can have height 100% in quirks mode. Digg achieves this by leaving out the doctype.

提交回复
热议问题