mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
XFA - Implement aspect property on image element
- it aims to fix issue #13634; - move some img-related functions in test/drivers.js in order to have images in xfa reftests.
This commit is contained in:
parent
ff3a5382ee
commit
71d17b0cc4
5 changed files with 91 additions and 44 deletions
|
@ -188,6 +188,8 @@
|
|||
}
|
||||
|
||||
.xfaImage {
|
||||
object-position: left top;
|
||||
object-fit: contain;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue