Status: PASS | Duration: 4ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-backgrounds/border-width-pixel-snapping-001-b.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Backgrounds and Borders Test: border-width pixel snapping</title> <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com"> <link rel="help" href="https://drafts.csswg.org/css-ui/#outline-width"> <link rel="match" href="reference/border-width-pixel-snapping-001-ref.html"> <meta name="assert" content="Test checks that outline-width is floored down when it needs to do pixel snapping (so 2.1px are the same than 2px)."> <div style="border: 2.1px solid black; width: 99.8px; height: 99.8px;"></div>
/css/css-backgrounds/reference/border-width-pixel-snapping-001-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Backgrounds and Borders Reference Test: border-width pixel snapping</title> <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com"> <div style="border: 2px solid black; width: 100px; height: 100px;"></div>