NEW 170336
iframe/body marginwidth leftmargin et al attributes are not per spec
https://bugs.webkit.org/show_bug.cgi?id=170336
Summary iframe/body marginwidth leftmargin et al attributes are not per spec
Simon Pieters (:zcorpan)
Reported 2017-03-31 04:59:58 PDT
WebKit and Chromium copy marginwidth and marginheight attributes from <iframe> to the child document's <body>. This does not match Gecko or Edge and is non-conforming with HTML standard. See https://github.com/whatwg/html/issues/2484 https://github.com/whatwg/html/pull/2489 https://github.com/w3c/web-platform-tests/issues/5276
Attachments
Ahmad Saleem
Comment 1 2022-08-10 03:19:19 PDT
Radar WebKit Bug Importer
Comment 2 2022-08-10 10:53:54 PDT
Ryosuke Niwa
Comment 3 2022-08-10 14:19:54 PDT
We have a FIXME about this in HTMLBodyElement::didFinishInsertingNode(): https://github.com/WebKit/WebKit/blob/main/Source/WebCore/html/HTMLBodyElement.cpp#L166
Note You need to log in before you can comment on or make changes to this bug.