Bug 214646
Summary: | Stop margins from propagating into (cross-origin?) iframes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | CSS | Assignee: | 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 |
Simon Fraser (smfr)
We should cut this off:
https://research.securitum.com/marginwidth-marginheight-the-unexpected-cross-origin-communication-channel/
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/65946853>
Darin Adler
The only challenge, I suppose, is to do this without breaking legacy webpages. The code for this is in HTMLBodyElement::didFinishInsertingNode.
Ahmad Saleem
Possible duplicate of bug 170336 and bug 4917?
Ahmad Saleem
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.