Closed Bug 425826 Opened 16 years ago Closed 16 years ago

Test case for bug 425662 renders at different scale for HTTP vs FILE URLs on some PCs but not others

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: duncan.loveday, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008032805 Minefield/3.0pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008032805 Minefield/3.0pre

On some PCs if you take download the test case from bug 425662 and open them as a file:// URL the image is sometimes rendered at a different scale when compared to opening the test case directly.

Reproducible: Sometimes

Steps to Reproduce:
1. Download and save the SVG attachment https://bugzilla.mozilla.org/attachment.cgi?id=312319 as, say, "test.svg"
2. Download and save the HTML attachment https://bugzilla.mozilla.org/attachment.cgi?id=312374 as, say, "test.html" in the same folder.
3. Edit the file "test.html" to remove the value "https://bugzilla.mozilla.org/attachment.cgi?id=312319" from the EMBED tag and replace it with "test.svg"
4. Use File->Open File to open "test.html".
5. Compare the image you see with that seen when loading the HTML attachment https://bugzilla.mozilla.org/attachment.cgi?id=312374 directly.
Actual Results:  
On one of my two PCs the images in 4 and 5 look the same but on the other the image in step 5 is rendered at a larger scale than that in step 4.

Expected Results:  
I would have expected the two images to always be the same.
You do understand that the zoom state saves on a per domain basis don't you? If you zoom on a PC it remembers the zoom state and next time you visit that site on that PC you will see things zoomed in. I suspect you have done that on some of your PCs.
Robert - no, I didn't know zoom state was saved. That could explain what I see.
In fact I'm sure of it. By zooming in one of the URLs it is rendered at a different scale from then on.

One other think I don't understand is why when I zoom the attachment https://bugzilla.mozilla.org/attachment.cgi?id=312374 it scales up by a massive amount until I reload the page but there'll be a reason for that too I'm sure.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
(In reply to comment #3)
> One other think I don't understand is why when I zoom the attachment
> https://bugzilla.mozilla.org/attachment.cgi?id=312374 it scales up by a massive
> amount until I reload the page but there'll be a reason for that too I'm sure.
> 

I suspect that is a bug. Is it connected to the dynamic assignment of a viewBox?
Filed bug 425954 on the big jump in scaling
You need to log in before you can comment on or make changes to this bug.