Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need a rule for
.xfaLeft
as well? Moreover, in the Bugzilla ticket the margin directions are reversed, so.xfaRight
sets amargin-left
but here we set amargin-right
; is that correct?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The styles in the bugzilla ticket target the
.xfaCaption
and.xfaCaptionForCheckButton
classes which leads to the unexpected html element movement we observed last week (See calixteman's comment re: xfa_issue14071.pdf).I took an alternative approach by targeting the
.xfaRadio
and.xfaCheckbox
classes instead and as a result had to swap the margin left/right properties.The
xfaRight
styles below work correctly and are included in the PR:The
xfaLeft
styles below do not work correctly and were not included in the PR (I apologize, I should have explained my rationale for this). These styles once again lead to unexpected HTML element movement.See the attached examples of incorrect element movement. The green background was add by me to highlight the element shift.
Any suggestions on how to proceed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Joewebsta Can you share a link to the pdf you used ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The images above were taken from the following test pdfs:
Some additional examples are: