Nacre/tests/smoke/pages/basics.html
astar76 2e3647aa8d S006: R1-13 inline SVG icons take the page's colour
Servo 0.7 paints inline <svg> from its own markup, so currentColor fell back
to black (DuckDuckGo's icons in dark mode). SVG_COLOR_JS copies each SVG's
computed colour into its color attribute; basics.txt checks it. Engine limits
(MSE, mask-image, SVG colour) in DESIGN.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-12 09:14:57 -06:00

14 lines
915 B
HTML

<!doctype html>
<html>
<!-- Browser basics (S006): find text, a target=_blank link, a window.open pop-up, page full screen, an
inline SVG icon drawn in currentColor (green from its parent's CSS). -->
<head><meta charset="utf-8"><title>Basics</title>
<style>body { margin: 0; padding: 20px; font: 16px sans-serif } a, button { display: block; margin: 0 0 20px; height: 30px; width: 300px; font-size: 16px }</style></head>
<body>
<a id="blank" href="hello.html" target="_blank">Open in a new tab</a>
<button id="popup" onclick="window.open('hello.html', 'pop', 'width=400,height=300')">Pop-up</button>
<button id="full" onclick="document.documentElement.requestFullscreen()">Full screen</button>
<p>needle one, needle two, Needle three.</p>
<div style="color: rgb(0, 160, 0)"><svg id="icon" viewBox="0 0 16 16" width="32" height="32"><circle cx="8" cy="8" r="7" fill="currentColor"/></svg></div>
</body>
</html>