testing/web-platform/tests/css/css-backgrounds/border-width-pixel-snapping-001-a.html
author Sotaro Ikeda <sotaro.ikeda.g@gmail.com>
Thu, 10 Jul 2025 00:10:09 +0000 (6 hours ago)
changeset 795941 23763b72c35abeead04f63e4503c28abc73d065d
parent 532401 62629f3f8ec555fd590af327bd62c3362e5bf624
permissions -rw-r--r--
Bug 1976135 - Remove nightly only limitation of pref gfx.webrender.layer-compositor r=gfx-reviewers,gw Differential Revision: https://phabricator.services.mozilla.com/D256379
<!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="mismatch" 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 1.9px are not the same than 2px).">
<div style="border: 1.9px solid black; width: 100.2px; height: 100.2px;"></div>