ladybird/Tests/LibWeb/Ref/alternative-style-sheets.html
Tim Ledbetter 4a3497e9cd LibWeb: Support loading alternative style sheets
Alternative style sheets are now fetched and are applied to the
document if they are explicitly enabled by removing the disabled
attribute.
2024-04-17 07:12:44 +02:00

6 lines
456 B
HTML

<!DOCTYPE html>
<link rel="match" href="reference/alternative-style-sheets-ref.html" />
<link title="preferred" rel="stylesheet" href="data:text/css,html { background: green }">
<!-- These alternative style sheets shouldn't be applied -->
<link title="alternative" rel="alternate stylesheet" href="data:text/css,html { background: red !important }">
<link id="no-title" rel="alternate stylesheet" href="data:text/css,html { background: blue !important }">