Created attachment 460535 [details] the two file only change padding-left Some grammar in webkit and chrome have different display . chrome display the html like n space .But webkit show it like </br>. I show the https://developer.mozilla.org/en-US/docs/Web/CSS/padding-left , I think it might a bug in webkit.
Created attachment 460610 [details] Test reduction
Created attachment 460611 [details] Test reduction
(In reply to 2843035794 from comment #0) > Created attachment 460535 [details] > the two file only change padding-left > > Some grammar in webkit and chrome have different display . > chrome display the html like n space .But webkit show it like </br>. > I show the https://developer.mozilla.org/en-US/docs/Web/CSS/padding-left , I > think it might a bug in webkit. This is indeed a bug in WebKit. Thank you for filing it.
<rdar://problem/96503334>
*** Bug 242887 has been marked as a duplicate of this bug. ***
HTML Standard https://html.spec.whatwg.org/multipage/rendering.html#hidden-elements Chromium https://github.com/chromium/chromium/blob/fa8c80de7c2cdfd12f7ad59fe1b66f1d29445058/third_party/blink/renderer/core/html/resources/html.css#L772-L779
*** This bug has been marked as a duplicate of bug 245205 ***