tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 7e3fc9c9a43876530412f53e7ac8eb5bb62a9d96
parent 4a15226823c363c7b6b679fcd8798bbcc2a74300
Author: Manuel Rego Casasnovas <rego@igalia.com>
Date:   Tue, 21 Oct 2025 10:35:02 +0000

Bug 1994986 [wpt PR 55506] - Move caret-shape-block-empty-element.html to WPT, a=testonly

Automatic update from web-platform-tests
Move caret-shape-block-empty-element.html to WPT

Bug: 353713061
Change-Id: Ic154e0a5e8f0091ee3c1f9b615853877b37f4c3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7052727
Reviewed-by: Ziran Sun <zsun@igalia.com>
Commit-Queue: Ziran Sun <zsun@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1531362}

--

wpt-commits: 2f29dd2ea84c013c93f56a29dfa65869129e88b1
wpt-pr: 55506

Diffstat:
Atesting/web-platform/tests/css/css-ui/caret-shape-block-empty-001.html | 28++++++++++++++++++++++++++++
1 file changed, 28 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/css/css-ui/caret-shape-block-empty-001.html b/testing/web-platform/tests/css/css-ui/caret-shape-block-empty-001.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<meta charset="utf-8"> +<title>caret-shape block empty text</title> +<link rel=help href="https://drafts.csswg.org/css-ui/#caret-shape"> +<link rel="match" href="../reference/ref-filled-green-100px-square.xht" /> +<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> +<meta name="assert" content="Test checks that caret-shape block works as expected when there's no text"> +<script src="/common/reftest-wait.js"></script> +<style> + #target { + font: 100px/1 Ahem; + caret-color: green; + caret-shape: block; + caret-animation: manual; + width: 1ch; + background: red; + } + #target:focus { + outline: none; + } +</style> +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> +<div id="target" contenteditable spellcheck="false"></div> +<script> + document.getElementById("target").focus(); + takeScreenshot(); +</script>