Bug 191501

Summary: REGRESSION: HTML object elements disappear after pressing the back button
Product: WebKit Reporter: kari.pihkala
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bfulgham, sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac   
OS: macOS 10.14   
Attachments:
Description Flags
Test case: svg-object.zip none

kari.pihkala
Reported 2018-11-10 03:02:01 PST
Created attachment 354455 [details] Test case: svg-object.zip SVG graphics embedded on HTML page using the <object> element displays correctly on its initial page load, but if another page is visited and the Back button is pressed, the <object> element isn't visible anymore. Steps to reproduce: 1. Uncompress the attached svg-object.zip test case 2. Open test.html in Safari - the diamond shaped black SVG graphics is visible 3. Click the "Link to Google" link 4. Press the browser's Back button 5. Expected: The diamond shaped graphics should be visible. Actual: The diamond shaped graphics has disappeared. The size of the <object> elements is 0x0. The test case works in Safari version 11.1 (11605.1.33.1.4). It doesn't work anymore in Safari Version 12.0.1 (14606.2.104.1.1) or Safari Technology Preview Release 69 (Safari 12.1, WebKit 14607.1.12). The test case works in other browsers (tested Google Chrome 70.0.3538.77 and Firefox 63.0.1).
Attachments
Test case: svg-object.zip (1.38 KB, application/zip)
2018-11-10 03:02 PST, kari.pihkala
no flags
Radar WebKit Bug Importer
Comment 1 2018-11-10 11:44:26 PST
Said Abou-Hallawa
Comment 2 2018-11-12 10:53:17 PST
This is fixed in the WebKit trunk.
Note You need to log in before you can comment on or make changes to this bug.