mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #13705 from calixteman/lineheight3
XFA - Fix text positions (bug 1718741)
This commit is contained in:
commit
d416b23898
15 changed files with 220 additions and 103 deletions
|
@ -41,7 +41,7 @@
|
|||
font-style: inherit;
|
||||
font-weight: inherit;
|
||||
font-kerning: inherit;
|
||||
letter-spacing: inherit;
|
||||
letter-spacing: -0.01px;
|
||||
text-align: inherit;
|
||||
text-decoration: inherit;
|
||||
vertical-align: inherit;
|
||||
|
@ -118,13 +118,9 @@
|
|||
pointer-events: none;
|
||||
}
|
||||
|
||||
.xfaWrapper {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.xfaWrapped {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.xfaTextfield,
|
||||
|
@ -169,8 +165,8 @@
|
|||
|
||||
.xfaRich {
|
||||
white-space: pre-wrap;
|
||||
width: auto;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.xfaImage {
|
||||
|
@ -188,12 +184,6 @@
|
|||
align-items: stretch;
|
||||
}
|
||||
|
||||
.xfaLr,
|
||||
.xfaRl,
|
||||
.xfaTb > div {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.xfaLr {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
@ -229,20 +219,12 @@
|
|||
align-items: stretch;
|
||||
}
|
||||
|
||||
.xfaTable > div {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.xfaTable .xfaRow {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.xfaTable .xfaRow > div {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.xfaTable .xfaRlRow {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue