Conversation
Codecov Report
@@ Coverage Diff @@
## master #486 +/- ##
==========================================
- Coverage 89.9% 89.89% -0.02%
==========================================
Files 134 134
Lines 5241 5244 +3
Branches 905 906 +1
==========================================
+ Hits 4712 4714 +2
- Misses 529 530 +1
Continue to review full report at Codecov.
|
|
@jccr - What's the easiest way to test this with a standalone HTML page? |
|
@robertknight |
|
Possibly related: #487 |
|
The problem here actually happened earlier before Additionally, code in |
|
I've investigated a couple of options for addressing the issue described in #486 (comment) and the related issue described in #487 and have created a follow-up PR in #493 which addresses both and adds some tests. If you get a chance, could you please try out the PR (#493) and let me know if that works correctly with Readium? |
An issue with the adder not showing up was encountered when testing the integration with the Readium EPUB reader.
The issue was caused by the way Readium renders the document content. CSS Multiple Columns properties are applied at the root element level which cause the body element to be "split" into columns with multiple left based offsets.
The fix is to query the body element's client rectangle geometry at the time the adder is being displayed and adjust by the left offsets.