| 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 | ||
|
Description
Simon Fraser (smfr)
2020-07-22 11:35:20 PDT
The only challenge, I suppose, is to do this without breaking legacy webpages. The code for this is in HTMLBodyElement::didFinishInsertingNode. Possible duplicate of bug 170336 and bug 4917? 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. |