RESOLVED CONFIGURATION CHANGED 137900
SVG stacks do not work correctly when loaded over the network
https://bugs.webkit.org/show_bug.cgi?id=137900
Summary SVG stacks do not work correctly when loaded over the network
Bear Travis
Reported 2014-10-20 17:21:43 PDT
Created attachment 240158 [details] SVG Stack I have noticed that SVG stacks do not work correctly when loaded from a server. When loaded from the local file system, they work fine. This is related to bug 129387 and the master bug 91791.
Attachments
SVG Stack (576 bytes, image/svg+xml)
2014-10-20 17:21 PDT, Bear Travis
no flags
Test File (380 bytes, text/html)
2014-10-20 17:24 PDT, Bear Travis
no flags
Correct behavior (loaded from file system) (11.56 KB, image/png)
2014-10-20 17:26 PDT, Bear Travis
no flags
Incorrect behavior (loaded from server) (12.50 KB, image/png)
2014-10-20 17:26 PDT, Bear Travis
no flags
Explicitly setting height (24.04 KB, image/png)
2014-10-22 22:51 PDT, Bear Travis
no flags
Bear Travis
Comment 1 2014-10-20 17:24:07 PDT
Created attachment 240159 [details] Test File
Bear Travis
Comment 2 2014-10-20 17:26:25 PDT
Created attachment 240160 [details] Correct behavior (loaded from file system)
Bear Travis
Comment 3 2014-10-20 17:26:45 PDT
Created attachment 240161 [details] Incorrect behavior (loaded from server)
Antoine Quint
Comment 4 2014-10-22 05:30:32 PDT
I see this too, it seems the scrollIntoView call isn't quite setting the right metrics.
Antoine Quint
Comment 5 2014-10-22 06:07:54 PDT
Actually, if I change the test.html file to set "height: 100px", I get the expected behaviour both when viewed locally or through an HTTP server. Also, on OS X Yosemite 10.10 (14A389) running stock Safari 8.0 (10600.1.25), the SVG stacks doesn't render at all until I select content in the page and then it draws, as expected. There might be an issue here that's not specific to handling of SVG fragment identifiers.
Bear Travis
Comment 6 2014-10-22 22:51:19 PDT
Created attachment 240330 [details] Explicitly setting height When I set the height explicitly (in the inspector), I get distinct shapes, but they are the wrong ones. #orange-square shows a blue circle and #blue-circle shows an orange square. Is this what you are seeing?
Bear Travis
Comment 7 2014-10-23 11:58:29 PDT
I think this may be related to bug 137328.
Ahmad Saleem
Comment 8 2022-08-03 15:27:56 PDT
I am unable to reproduce this bug in Safari 15.6 on macOS 12.5 using "Test File" attached test case and SVG load properly where it meant and does not have any "Incorrect behavior" even when I am loading this test case form Internet / sever, it also matches with other browsers. As for SVG Stack, all browsers render it as "empty" / "blank" similar to Safari 15.6 on macOS. I think something along the lines fixed this bug, hence, I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Thanks!
Note You need to log in before you can comment on or make changes to this bug.