File: doc1.html

package info (click to toggle)
weasyprint 62.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,964 kB
  • sloc: python: 54,652; makefile: 12
file content (58 lines) | stat: -rw-r--r-- 2,109 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<html>
<head>
    <meta http-equiv=Content-Type content=text/html;charset=utf-8>
    <!-- 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(weasyprint.otf); font-family: weasyprint }
        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: weasyprint; 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>