Chrome bug: iframe rendering lines on screen when scrolling up

前端 未结 7 1494
深忆病人
深忆病人 2021-01-05 16:28

bug here: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-bugs/eUfzp3UJDwo%5B1-25%5D

just encountered this problem, streaking up my screen

7条回答
  •  滥情空心
    2021-01-05 17:00

    I ran in to a similar problem and was able to fix it in my case by setting -webkit-margin-after and -webkit-margin-before to 0.

    foobar

    Also, I initially tried replacing the H1 with a span as in Jiri's example, but the lines came back when I tried to apply a top and bottom margin of .2em to the span. Removing margins cleaned things up (I just used line-height to create some space around the header)

提交回复
热议问题