Kozea/WeasyPrint

@footnote::before and other broken at-rules not discarded

已关闭

#2,215 创建于 2024年7月31日

 (4 条评论) (0 个反应) (0 位负责人)Python (630 个派生)batch import
buggood first issue

仓库指标

星标
 (6,291 个星标)
PR 合并指标
 (平均合并 14天 23小时) (30 天内合并 10 个 PR)

描述

The spec mentions the "footnote rule", but doesn't actually specify how to create it.

I tried to create a 20% wide rule with @footnote::before:

@page
   @footnote::before {
        display: block;
        width: 20%;
        border-top: solid 0.2mm;
    }
}

but the "::before" seems to be stripped and the rule applied to the entire area instead:

ss

Is it reasonable to expect "::before" to apply to the footnote area?

贡献者指南