mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00

We need a style sheet to have an owning document to load it's fonts (to generate a length resolution context). Fixes #6445
18 lines
609 B
HTML
18 lines
609 B
HTML
<!DOCTYPE html>
|
|
<body>
|
|
<style id="style">
|
|
/*
|
|
The below data url is equivalent to:
|
|
@font-face {
|
|
font-family: Icons;
|
|
src: url(does/not/matter.ttf);
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
*/
|
|
@import url("data:text/css;charset=utf-8;base64,QGZvbnQtZmFjZSB7DQogICAgZm9udC1mYW1pbHk6IEljb25zOw0KICAgIHNyYzogdXJsKGRvZXMvbm90L21hdHRlci50dGYpOw0KICAgIGZvbnQtd2VpZ2h0OiA0MDA7DQogICAgZm9udC1zdHlsZTogbm9ybWFsOw0KfQ==");
|
|
</style>
|
|
<script>
|
|
style.remove();
|
|
</script>
|
|
</body>
|