mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
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.
20 lines
513 B
HTML
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>
|