Files
ladybird/Tests/LibWeb/Screenshot/input/stroke-dasharray-none-application.html
Callum Law 87eef9e21a LibWeb: Always apply stroke-dasharray
Previously we didn't apply the value of `stroke-dasharray` if it was
`none`.

We also move resolution of this property into `ComputedProperties` in
line with other properties.
2026-02-12 10:26:43 +00:00

20 lines
513 B
HTML

<!doctype html>
<html>
<link rel="match" href="../expected/stroke-dasharray-none-application-ref.html" />
<svg>
<style>
line {
stroke: black;
}
</style>
<line id="line" style="stroke-dasharray: 4" x1="0" y1="1" x2="30" y2="1"></line>
</svg>
<script>
requestAnimationFrame(() => {
requestAnimationFrame(() => {
line.style.strokeDasharray = "none";
});
});
</script>
</html>