From 6becc199e081b14b7b1ae72b96fee75cf3efb56f Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sat, 13 Jul 2024 21:51:25 +0100 Subject: [PATCH] Theme: Set `user-select: none;` on "Rerun" link and "runtime" Tripple-clicking to select a test result line and copying to clipboard now yields: > example: my test (5) Instead of: > example: my test (5)Rerun0 ms --- src/qunit.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qunit.css b/src/qunit.css index ac292a3c4..081c771a5 100644 --- a/src/qunit.css +++ b/src/qunit.css @@ -325,6 +325,7 @@ body { padding: 0.5em; color: inherit; text-decoration: underline; + user-select: none; } #qunit-tests li a:hover, #qunit-tests li a:focus { @@ -334,6 +335,7 @@ body { #qunit-tests li .runtime { float: right; font-size: smaller; + user-select: none; } .qunit-assert-list {