Page MenuHomePhabricator

Add "max-width: 100%;" to stop large images from overflowing the new rendering engine UI
ClosedPublic

Authored by epriestley on Jun 1 2018, 8:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 11:33 AM
Unknown Object (File)
Fri, Nov 22, 2:09 AM
Unknown Object (File)
Thu, Nov 21, 9:48 PM
Unknown Object (File)
Tue, Nov 19, 7:50 AM
Unknown Object (File)
Tue, Nov 19, 7:49 AM
Unknown Object (File)
Tue, Nov 19, 7:49 AM
Unknown Object (File)
Tue, Nov 19, 7:23 AM
Unknown Object (File)
Tue, Nov 19, 4:48 AM
Subscribers
None

Details

Summary

Fixes T13148. Ref T13105. The new document rendering engine for images let them overflow the UI bounds.

Add max-width: 100%; to keep them contained.

Test Plan
  • Viewed a very wide image in Safari, Firefox and Chrome. Saw sensible rendering.
  • Also viewed a normal image, saw normal behavior.

Diff Detail

Repository
rP Phabricator
Branch
width1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20353
Build 27641: Run Core Tests
Build 27640: arc lint + arc unit