CSS Syntax Error on @footnote
Posted: Mon Oct 28, 2024 6:59 am
I am writing a CSS Stylesheet for PDF Chemistry. My @page rule is:
It works as expected. But when i run a Format Document (pretty-print the whole CSS Document) i get a Syntax Error which reads:
The expected keyword for formatting is @footnotes (plural), while CSS Syntax only allows @footnote (singular).
This happens with a fresh Oxygen 26.1 on Linux.
Greetings, Frank
Code: Select all
@page {
size: A4;
@bottom-center {
content: counter(page);
color: #606060;
font-size:0.9rem;
}
@footnote {
content: leader(solid);
color: silver;
}
}
Code: Select all
System-ID: /home/frank/oxygenxml/xsltng-kosit/print-css/oxygen-chemistry.css
Fehlerlevel: error
Beschreibung: Encountered " <ATKEYWORD> "@footnote "" at line 22, column 5.
Was expecting one of:
"}" ...
";" ...
<IDENT> ...
"@top-left-corner" ...
... some more lines ...
"@right-bottom" ...
"@footnotes" ...
This happens with a fresh Oxygen 26.1 on Linux.
Greetings, Frank