Bug 214646 - Stop margins from propagating into (cross-origin?) iframes
Summary: Stop margins from propagating into (cross-origin?) iframes
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2020-07-22 11:35 PDT by Simon Fraser (smfr)
Modified: 2023-08-05 06:12 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Radar WebKit Bug Importer 2020-07-22 11:35:48 PDT
<rdar://problem/65946853>
Comment 2 Darin Adler 2020-07-22 11:37:34 PDT
The only challenge, I suppose, is to do this without breaking legacy webpages. The code for this is in HTMLBodyElement::didFinishInsertingNode.
Comment 3 Ahmad Saleem 2023-07-13 16:58:09 PDT
Possible duplicate of bug 170336 and bug 4917?
Comment 4 Ahmad Saleem 2023-08-05 06:12:22 PDT
Adding WPTImpact tag because we have test for this: https://wpt.fyi/results/html/rendering/non-replaced-elements/the-page?label=master&label=experimental&aligned&q=the-page%2F

Only Firefox seems to be passing them and when I remove "HTMLBodyElement::didFinishInsertingNode", we do start passing 'iframe' tests.