ladybird/Tests/LibWeb/Text/input/css/style-sheet-with-byte-order-mark.css
Andreas Kling fb727332f9 LibWeb: Decode linked style sheets before parsing them
This fixes an issue where a BOM at the head of a style sheet would be
passed verbatim to the parser, who would then interpret it as an ident
token and (after some confusion) fail to parse the first rule, but then
carry on with the rest of the sheet.
2023-07-04 10:45:20 +02:00

7 lines
61 B
CSS

.pass {
display: block;
}
div {
display: none;
}