| Index: third_party/WebKit/LayoutTests/fast/sub-pixel/sub-pixel-border-2.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/sub-pixel/sub-pixel-border-2.html b/third_party/WebKit/LayoutTests/fast/sub-pixel/sub-pixel-border-2.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2ede555801263df087f4d2c399784df3453684d1
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/sub-pixel/sub-pixel-border-2.html
|
| @@ -0,0 +1,41 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <meta charset="utf-8">
|
| + <title>Test rendering of sub-pixel borders</title>
|
| + <style>
|
| + .test {
|
| + box-sizing: content-box;
|
| + display: inline-block;
|
| + margin: 5px;
|
| + width: 80px;
|
| + height: 80px;
|
| + border: 1px solid green;
|
| + background: lightgreen;
|
| + text-align: center;
|
| + line-height: 80px;
|
| + }
|
| + </style>
|
| + </head>
|
| + <body>
|
| + <div class="test" style="border-width: 0.25px">0.25px</div>
|
| + <div class="test" style="border-width: 0.5px">0.5px</div>
|
| + <div class="test" style="border-width: 0.75px">0.75px</div>
|
| + <div class="test" style="border-width: 1px">1px</div>
|
| + <div class="test" style="border-width: 1.25px">1.25px</div>
|
| + <br>
|
| + <div class="test" style="border-width: 1.5px">1.5px</div>
|
| + <div class="test" style="border-width: 1.75px">1.75px</div>
|
| + <div class="test" id="reference-2" style="border-width: 2px">2px</div>
|
| + <div class="test" style="border-width: 2.25px">2.25px</div>
|
| + <br>
|
| + <div class="test" style="border-width: 2.5px">2.5px</div>
|
| + <div class="test" style="border-width: 2.75px">2.75px</div>
|
| + <div class="test" id="reference-3" style="border-width: 3px">3px</div>
|
| + <div class="test" style="border-width: 3.25px">3.25px</div>
|
| + <p>
|
| + Border thickness should be rounded, not floored, with the exception of
|
| + values below 1px where it should always round up.
|
| + </p>
|
| + </body>
|
| +</html>
|
|
|