2025-03-18 19:28:35 +01:00
|
|
|
<!DOCTYPE html>
|
2024-12-25 20:54:23 +09:00
|
|
|
<script src="include.js"></script>
|
|
|
|
|
<svg>
|
|
|
|
|
<textPath></textPath>
|
|
|
|
|
<clipPath></clipPath>
|
|
|
|
|
<foreignObject></foreignObject>
|
|
|
|
|
<linearGradient></linearGradient>
|
|
|
|
|
<radialGradient></radialGradient>
|
|
|
|
|
</svg>
|
|
|
|
|
<script>
|
|
|
|
|
test(() => {
|
|
|
|
|
if (document.querySelector("textPath"))
|
|
|
|
|
println("✅ Pass: Selector match for SVG element textPath.");
|
|
|
|
|
else
|
|
|
|
|
println("❌ Fail: No selector match for SVG element textPath.");
|
|
|
|
|
if (document.querySelector("clipPath"))
|
|
|
|
|
println("✅ Pass: Selector match for SVG element clipPath.");
|
|
|
|
|
else
|
|
|
|
|
println("❌ Fail: No selector match for SVG element clipPath.");
|
|
|
|
|
if (document.querySelector("foreignObject"))
|
|
|
|
|
println("✅ Pass: Selector match for SVG element foreignObject.");
|
|
|
|
|
else
|
|
|
|
|
println("❌ Fail: No selector match for SVG element foreignObject.");
|
|
|
|
|
if (document.querySelector("radialGradient"))
|
|
|
|
|
println("✅ Pass: Selector match for SVG element radialGradient.");
|
|
|
|
|
else
|
|
|
|
|
println("❌ Fail: No selector match for SVG element radialGradient.");
|
|
|
|
|
});
|
|
|
|
|
</script>
|