File: background-position-subpixel-at-border.tentative.html

package info (click to toggle)
firefox-esr 140.3.1esr-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 4,539,016 kB
  • sloc: cpp: 7,380,478; javascript: 6,388,099; ansic: 3,710,142; python: 1,393,715; xml: 628,165; asm: 426,918; java: 184,025; sh: 65,742; makefile: 19,302; objc: 13,059; perl: 12,912; yacc: 4,583; cs: 3,846; pascal: 3,352; lex: 1,720; ruby: 1,226; exp: 762; php: 436; lisp: 258; awk: 247; sql: 66; sed: 54; csh: 10
file content (89 lines) | stat: -rw-r--r-- 3,132 bytes parent folder | download | duplicates (24)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html>
<head>
    <title>CSS Backgrounds: Subpixel positions adjacent to the borders</title>
    <link rel="author" title="Stephen Chenney" href="mailto:schenney@chromium.org">
    <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#background-position">
    <link rel="match" href="reference/background-position-subpixel-at-border-ref.tentative.html">
    <style>
        #no-repeat-y-bottom {
            position: absolute;
            top: 200.5px;
            left: 8px;
            width: 150px;
            height: 37.5px;
            border-width: 0px 0px 1.25px;
            border-style: solid;
            border-color: rgba(0,0,0,0.5);
            border-bottom-color: transparent;
            box-sizing: border-box;
            background-color: lightgrey;
            background-image: url("resources/green50x1.png");
            background-position: bottom -1.25px left 0px;
            background-repeat: repeat-x;
            padding: 2.5px 2.5px 1.25px 2.5px;
        }
        #no-repeat-y-top {
            position: absolute;
            top: 160.25px;
            left: 8px;
            width: 150px;
            height: 37.5px;
            border-width: 1.25px 0px 0px 0px;
            border-style: solid;
            border-color: rgba(0,0,0,0.5);
            border-top-color: transparent;
            box-sizing: border-box;
            background-color: lightgrey;
            background-image: url("resources/green50x1.png");
            background-position: top -1.25px left 0px;
            background-repeat: repeat-x;
            padding: 1.25px 2.5px 2.5px 2.5px;
        }
        #no-repeat-x-right {
            position: absolute;
            top: 8px;
            left: 200.5px;
            width: 37.5px;
            height: 150px;
            border-width: 0px 1.25px 0px 0px;
            border-style: solid;
            border-color: rgba(0,0,0,0.5);
            border-right-color: transparent;
            box-sizing: border-box;
            background-color: lightgrey;
            background-image: url("resources/green1x50.png");
            background-position: right -1.25px top 0px;
            background-repeat: repeat-y;
            padding: 2.5px 1.25px 2.5px 2.5px;
        }
        #no-repeat-x-left {
            position: absolute;
            top: 8px;
            left: 160.25px;
            width: 37.5px;
            height: 150px;
            border-width: 0px 0px 0px 1.25px;
            border-style: solid;
            border-color: rgba(0,0,0,0.5);
            border-left-color: transparent;
            box-sizing: border-box;
            background-color: lightgrey;
            background-image: url("resources/green1x50.png");
            background-position: left -1.25px top 0px;
            background-repeat: repeat-y;
            padding: 2.5px 2.5px 2.5px 1.25px;
        }
    </style>
</head>
<body>
        <div id="no-repeat-y-top">
        </div>
        <div id="no-repeat-y-bottom">
        </div>
        <div id="no-repeat-x-right">
        </div>
        <div id="no-repeat-x-left">
        </div>
</body>
</html>