Open MurakamiShinyu opened 3 months ago
This error occurs when footnote is used in page float. e.g.:
figure {
float-reference: page;
float: block-start;
}
.footnote {
float: footnote;
}
<figure>
<img
src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Gustave_Moreau_006.jpg/200px-Gustave_Moreau_006.jpg"
alt="">
<figcaption>
ギュスターヴ・モロー1868年作『プロメテウス』。神話の共通テーマ
「火」を代表する物語である<span
class="footnote">世界神話事典 p.129、吉田</span>。</figcaption>
</figure>
After fixing Issue #1354, this error does not occur when figure { display: flex; }
. However, in this case, float: footnote
does not work in <figcaption>
.
Test case: https://gist.githubusercontent.com/MurakamiShinyu/dd49bcd1a882883299bab9d8c256a2c5/raw/test.html
Test with Vivliostyle Viewer v2.30.1: https://vivliostyle.github.io/viewer/v2.30.1/#src=https://gist.githubusercontent.com/MurakamiShinyu/dd49bcd1a882883299bab9d8c256a2c5/raw/test.html
Screenshot: