WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-08-10 03:19:19 PDT
Safari Technical Preview 150 still fail following WPT tests:
https://wpt.fyi/results/html/rendering/non-replaced-elements/the-page?label=master&label=experimental&aligned&view=subtest&q=iframe%20margin
Just wanted to update. Thanks!
Radar WebKit Bug Importer
Comment 2
2022-08-10 10:53:54 PDT
<
rdar://problem/98459931
>
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.
Top of Page
Format For Printing
XML
Clone This Bug