Closed
Bug 353460
Opened 18 years ago
Closed 17 years ago
SVG image has no horizontal scrollbar
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: ria.klaassen, Assigned: jwatt)
References
Details
(Keywords: regression, testcase)
Attachments
(3 files, 1 obsolete file)
68.79 KB,
image/svg+xml
|
Details | |
335 bytes,
image/svg+xml
|
Details | |
2.53 KB,
patch
|
bzbarsky
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
I saw this while testing Bug 353450; the image in attachment 239300 [details] of Bug 353450 has no horizontal scrollbar in trunk. Branch displays the scrollbar. Regression between 1.9a1_2006031504 and 1.9a1_2006031521: http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2006-03-15+03%3A00&maxdate=2006-03-15+22%3A00 Caused by Bug 192767?
Reporter | ||
Updated•18 years ago
|
Keywords: regression
Comment 1•18 years ago
|
||
There are so many testcases in bug 192767 I found it rather hard to tell if I've broken any of them.
Comment 2•18 years ago
|
||
If the comment says it doesn't matter, why does it matter? In what cases is the comment wrong? SVG only, or others? Have you tested those others?
Comment 4•18 years ago
|
||
2000x2000 px svg, the horizontal scrollbar fails
Comment on attachment 239542 [details] [diff] [review] patch marking review- pending answer to question
Attachment #239542 -
Flags: review?(dbaron) → review-
Comment 6•18 years ago
|
||
Sorry for the delay responding to the question. I have looked into this further and since image frames work OK, perhaps this would be fixed by implementing bug 288276 comment 22 rather than the change I originally proposed. I'm going to look at doing things that way when I have time and see if scrolling then comes out in the wash.
Updated•18 years ago
|
Assignee: longsonr → general
Status: ASSIGNED → NEW
Assignee | ||
Updated•17 years ago
|
Assignee: general → jwatt
Assignee | ||
Comment 10•17 years ago
|
||
Attachment #239542 -
Attachment is obsolete: true
Attachment #278970 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 11•17 years ago
|
||
I'm not sure about the FinishAndStoreOverflow calls. It's unclear to me from that method's documenting comment under what circumstances you should or shouldn't call it. The scrolling is fixed with or without it, but it seems like a good idea to store the size since reflowing to get the size would be horribly expensive. Also there's unlikely to be that many nsSVGOuterSVGFrame objects per document.
Status: NEW → ASSIGNED
Comment 12•17 years ago
|
||
Comment on attachment 278970 [details] [diff] [review] patch In your case you never have overflow, so it doesn't matter much whether you cann FinishAndStoreOverflow... but it's the Right Thing To Do. r=bzbarsky, but get roc to sr, ok?
Attachment #278970 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 13•17 years ago
|
||
Comment on attachment 278970 [details] [diff] [review] patch Sure thing. Thanks Boris.
Attachment #278970 -
Flags: superreview?(roc)
Comment on attachment 278970 [details] [diff] [review] patch this is OK. However, I actually think nsSVGOuterSVGFrame should calculate its overflow area as the bounding box of its descendants. Another time.
Attachment #278970 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Comment 15•17 years ago
|
||
Checked in. I added a comment to that effect.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 16•17 years ago
|
||
The comment should use "in principle" rather than "in principal"
Assignee | ||
Comment 17•17 years ago
|
||
Oops.
You need to log in
before you can comment on or make changes to this bug.
Description
•