Bug 139132

Summary: SVG elements are not reordered correctly when other elements are inserted through the svg DOM interface.
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase for dynamic switch changes none

Description Said Abou-Hallawa 2014-12-01 09:51:14 PST
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.
Comment 1 Radar WebKit Bug Importer 2014-12-01 10:35:32 PST
<rdar://problem/19103165>
Comment 2 Ahmad Saleem 2024-04-06 21:01:12 PDT
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.