mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-28 23:17:35 +01:00
Add a reference to the bug
This commit is contained in:
parent
537efd11b1
commit
f38ac80991
1 changed files with 2 additions and 1 deletions
|
|
@ -509,7 +509,8 @@ def jump_to_anchor(name):
|
|||
def scrollable_element(elem):
|
||||
# bounding rect calculation for an inline element containing a block
|
||||
# element that spans multiple columns is incorrect. Detet the common case
|
||||
# of this and avoid it.
|
||||
# of this and avoid it. See https://bugs.launchpad.net/calibre/+bug/1918437
|
||||
# for a test case.
|
||||
if not in_paged_mode() or window.getComputedStyle(elem).display.indexOf('inline') < 0 or not elem.firstElementChild:
|
||||
return elem
|
||||
if window.getComputedStyle(elem.firstElementChild).display.indexOf('block') > -1:
|
||||
|
|
|
|||
Loading…
Reference in a new issue