59 lines
2.0 KiB
HTML
59 lines
2.0 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv=Content-Type content=text/html;charset=utf8>
|
|
<!-- currentColor means 'inherit' on color itself. -->
|
|
<link rel=stylesheet href="data:text/css;charset=ASCII,a%7Bcolor%3AcurrentColor%7D">
|
|
<style media=print>
|
|
@import url(sub_directory/sheet1.css);
|
|
@import "data:text/css;charset=utf-16le;base64,\
|
|
bABpAHsAYwBvAGwAbwByADoAcgBlAGQAfQA=";
|
|
@import "data:,ul {border-width: 1000px !important}" screen;
|
|
@font-face { src: url(AHEM____.TTF); font-family: ahem }
|
|
a:after {
|
|
content: " [" attr(href) "]";
|
|
border-style: solid;
|
|
border-top-width: inherit;
|
|
border-bottom-width: initial;
|
|
}
|
|
@page :first { margin-top: 5px }
|
|
ul {
|
|
border-style: none solid hidden;
|
|
border-width: thin thick 4px .25in;
|
|
}
|
|
body > h1:first-child {
|
|
background-image: url(logo_small.png);
|
|
}
|
|
h1 ~ p ~ ul a:after {
|
|
background: red;
|
|
}
|
|
</style>
|
|
<style type=text/NOT-css>
|
|
ul {
|
|
border-width: 1000px !important;
|
|
}
|
|
</style>
|
|
<style media=screen>
|
|
ul {
|
|
border-width: 1000px !important;
|
|
}
|
|
</style>
|
|
<link rel=not_stylesheet href="data:,ul {border-width: 1000px !important}">
|
|
</head>
|
|
<body style="font-size: 20px">
|
|
<h1 style="font-size: 2em">WeasyPrint test document (with Ünicōde)</h1>
|
|
<p style="color: blue; font-size: x-large;
|
|
-weasy-link: attr(foo-link) /* no such attribute */">Hello</p>
|
|
<ul style="font-family: ahem; font-size: 1.25ex">
|
|
<li style="font-size: 6pt; font-weight: bold">
|
|
<a href=home.html
|
|
style="padding: 1px 2px 3px 4px; border: 42px solid;
|
|
font-size: 300%; font-weight: bolder">Home</a>
|
|
<li>…
|
|
</ul>
|
|
<div style="font-size: 2em">
|
|
<span style="display: block; width: 10rem; height: 10em">
|
|
<span style="font-size: 2rem">WeasyPrint</span>
|
|
</span>
|
|
</div>
|
|
</body>
|