target-text-bg-is-same-as-dark.html (313B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>Background color is yellow-20, therefore the highlight must be yellow-00</title> 4 <script> 5 location.hash = '#:~:text=HighlightThis'; 6 </script> 7 <style> 8 body { background:#f5cc58; } 9 </style> 10 11 <p>HighlightThis is a keyword to test ::target-text highlight colour.</p>