Created attachment 471289 [details] Example file to reproduce bug SVGs with absolute positioning are incorrectly sized when ancestor has padding. There are two symptoms demonstrated in the attachment: 1. When I have an div that has `width: 200px; padding: 20px`, a child SVG with `position: absolute; left: 0; right: 0` has a width that matches the div's content width when it should match the div's padding width. 2. When I have an absolutely positioned div that has `padding: 20px` and a computed height of 200px, a child SVG with `position: absolute; height: 100%` has a height that matches the div's content height when it should match the div's padding height. Chrome and Firefox do not have this bug.
Created attachment 471290 [details] Screenshot of current layout in Safari
Created attachment 471291 [details] Screenshot of current layout in Chrome
Created attachment 471292 [details] Screenshot of current layout in Firefox
<rdar://problem/127608838>