bump base/crengine: stylesheet handling improvements (#3934)

Includes:
- Fix a few CSS selector issues
- CSS: add support for some pseudo-classes
- Hyphenation: update fr & de patterns
- CSS: Fix non-lowercasing of specific elements names
- Revert parts of recent BR handling fixes
pull/3943/head
poire-z 6 years ago committed by GitHub
parent fedb34c558
commit 62630706bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
Subproject commit ed2a7bd6a3a126e30c7e5cd46d8dd468b64508d8
Subproject commit a5ee5e14ed077a9d76700929b10f40d35a508982

@ -16,9 +16,9 @@ describe("ReaderLink module", function()
local readerui = ReaderUI:new{
document = DocumentRegistry:openDocument(sample_epub),
}
readerui.rolling:onGotoPage(6)
readerui.link:onTap(nil, {pos = {x = 336, y = 166}})
assert.is.same(40, readerui.rolling.current_page)
readerui.rolling:onGotoPage(4)
readerui.link:onTap(nil, {pos = {x = 336, y = 668}})
assert.is.same(36, readerui.rolling.current_page)
end)
it("should jump to links in pdf page mode", function()
@ -53,11 +53,11 @@ describe("ReaderLink module", function()
local readerui = ReaderUI:new{
document = DocumentRegistry:openDocument(sample_epub),
}
readerui.rolling:onGotoPage(6)
readerui.link:onTap(nil, {pos = {x = 336, y = 166}})
assert.is.same(40, readerui.rolling.current_page)
readerui.rolling:onGotoPage(4)
readerui.link:onTap(nil, {pos = {x = 336, y = 668}})
assert.is.same(36, readerui.rolling.current_page)
readerui.link:onGoBackLink()
assert.is.same(6, readerui.rolling.current_page)
assert.is.same(4, readerui.rolling.current_page)
end)
it("should be able to go back after link jump in pdf page mode", function()

Loading…
Cancel
Save