From d6e981e5680e814a1d6a6a56cd9a1d241c1e409f Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Fri, 12 Jun 2026 02:32:39 +0800 Subject: [PATCH] fix(reader): hide footnote aside border again when custom fonts are loaded (#4438) (#4540) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #4383 inlined custom `@font-face` rules at the very front of the iframe stylesheet, ahead of the `@namespace epub` declaration that lived inside `getPageLayoutStyles`. Per the CSS spec a `@namespace` rule is only honored when it precedes every style and `@font-face` rule; a misplaced one is silently ignored. That dropped the namespaced `aside[epub|type~="footnote"]` hide rule, so EPUBs whose footnote `