diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-backgrounds/background-position-subpixel-at-border.tentative.html | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/background-position-subpixel-at-border.tentative.html')
-rw-r--r-- | testing/web-platform/tests/css/css-backgrounds/background-position-subpixel-at-border.tentative.html | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-position-subpixel-at-border.tentative.html b/testing/web-platform/tests/css/css-backgrounds/background-position-subpixel-at-border.tentative.html new file mode 100644 index 0000000000..ad2fa4dc02 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/background-position-subpixel-at-border.tentative.html @@ -0,0 +1,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>
\ No newline at end of file |