ladybird/Base/home/anon/www/link.html
Andreas Kling 71e8ddcd1c LibHTML: Start adding support for <link rel="stylesheet">
This patch adds basic support for external stylesheets. It currently
only works with file:// URLs.

We do a synchronous full relayout after loading a stylesheet, which is
definitely on the aggressive side, but it gives us something to work
on improving. :^)
2019-10-07 19:06:47 +02:00

10 lines
158 B
HTML

<html>
<head>
<title>Link element test</title>
<link rel="stylesheet" href="link.css">
</head>
<body>
<div id="foo">I should be styled!</div>
</body>
</html>