Created attachment 242318 [details] Testcase for dynamic switch changes Open the attached test file. The whole page should just display a lime color. When a new element is inserted in an SVG, the z-order of the svg elements should be updated to reflect the new addition. Also when existing svg elements are reinserted in a different order, the z-order should be updated to reflect this change. NOTE: The attached file is an imported Mozilla test file for svg.
<rdar://problem/19103165>
Safari 17.4.1 matches with Chrome Canary 125 and show three 'red' boxes while remaining page as 'lime' while Firefox Nightly 126 also has on 'red' box while remaining page as 'lime'. Just updating to share latest results.