Open rhn opened 1 month ago
Hi!
The spec mentions the "footnote rule", but doesn't actually specify how to create it.
Here’s a simple example that will help.
Is it reasonable to expect "::before" to apply to the footnote area?
::before
is a pseudo-element, it can only be applied to selectors. So it can’t be applied to @footnote
and should give a warning (and discard the whole block) instead of being ignored.
(Let’s keep this issue open to track this bug.)
You can get what you want by removing the width and using a border gradient:
border-image: linear-gradient(to right, black 20%, transparent 20%) 1;
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:
but the "::before" seems to be stripped and the rule applied to the entire area instead:
Is it reasonable to expect "::before" to apply to the footnote area?