HomePhabricator

renderer: Ensure images don't overflow container

Authored by phuedx on Mar 6 2017, 5:29 PM.

Description

renderer: Ensure images don't overflow container

Unlike modern browsers, IE9-11 (at least) don't hide the overflowing
parts of an SVG image element. Make this explicit by adding the
overflow: hidden property to the preview's container element.

Bug: T156800
Bug: T139297
Change-Id: I19e67ae4584d90c02dc5a2dd1c8bdb5773cd2283

Details

Committed
phuedxMar 6 2017, 5:29 PM
Parents
rEPOP8c959235e27e: rest: Don't scale unscalable thumbnails
Branches
Unknown
Tags
Unknown
References
refs/changes/65/341365/1
ChangeId
I19e67ae4584d90c02dc5a2dd1c8bdb5773cd2283