Bug 214646

Summary: Stop margins from propagating into (cross-origin?) iframes
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, darin, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar, WPTImpact
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

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.