Created attachment 80057 [details] SVG version - displays X too high Chromium bug: http://code.google.com/p/chromium/issues/detail?id=70758 Repro = compare visually: <?xml version="1.0" standalone="yes"?> <html xmlns="http://www.w3.org/1999/xhtml"> <body style="margin:50px"> X </body> </html> and <?xml version="1.0" standalone="yes"?> <svg xmlns="http://www.w3.org/2000/svg"> <foreignObject x="0" y="0" width="100%" height="100%"> <body xmlns="http://www.w3.org/1999/xhtml" style="margin:50px"> X </body> </foreignObject> </svg> The later (SVG) version does not apply the margin on the TOP, so the X is not displayed in the correct location.
Created attachment 80058 [details] XHTML version - displays X located correctly
I am still able to reproduce the following issue from the attached test case "display X too high" on Safari 15.5 (macOS 12.4). It renders fine on Chrome Canary 104 and Firefox Nightly 102. Chrome fixed this issue in 2016 in this bug - https://bugs.chromium.org/p/chromium/issues/detail?id=226805 Thanks!
Let's try - https://github.com/WebKit/WebKit/pull/5252
*** This bug has been marked as a duplicate of bug 245908 ***