Closed Bug 605323 Opened 14 years ago Closed 9 years ago

In svg-as-image with overflow:scroll on root node, we leave white space for scrollbars even though they aren't drawn

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dholbert, Unassigned)

Details

Attachments

(3 files)

See upcoming testcases, for an SVG image that has "overflow:scroll" on the root SVG node.

No scrollbars are painted, so we should end up with a perfect circle inside of a dotted border.  But in both cases (with <img> and CSS background), we actually get a blank strip on the bottom & right edges, apparently reserved for scrollbars.

We might consider just force-applying "overflow: hidden" root nodes of SVG-as-image helper-documents, since we're refusing to draw scrollbars anyway.
Attached image (helper SVG image)
Seems to display correctly now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: