mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
View HTML: Show matched rules: ignore style & tweaks on long-press
On long-press on the "Show matched stylesheets rules" buttons, ignore those from our epub.css/html5.css and from styletweaks, which may make investigating a book style simpler without their noise.
This commit is contained in:
@@ -946,8 +946,8 @@ function CreDocument:getHTMLFromXPointers(xp0, xp1, flags, from_root_node)
|
||||
end
|
||||
end
|
||||
|
||||
function CreDocument:getStylesheetsMatchingRulesets(node_dataindex)
|
||||
return self._document:getStylesheetsMatchingRulesets(node_dataindex)
|
||||
function CreDocument:getStylesheetsMatchingRulesets(node_dataindex, with_main_stylesheet)
|
||||
return self._document:getStylesheetsMatchingRulesets(node_dataindex, with_main_stylesheet)
|
||||
end
|
||||
|
||||
function CreDocument:getNormalizedXPointer(xp)
|
||||
|
||||
Reference in New Issue
Block a user