ladybird/Tests/LibWeb/Ref/calc-border-radius.html
Aliaksandr Kalenik e8f04be3ae LibWeb/CSS: Fix crashing when calc() is used for border-radius
`BorderRadiusStyleValue::absolutized` should not try to extract length
from LengthPercentage that represents calculated.
2024-01-01 10:12:20 +01:00

20 lines
381 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="match" href="reference/calc-border-radius-ref.html" />
<style>
.box {
width: 200px;
height: 200px;
background-color: lightblue;
border-radius: calc(2 * 10px);
border: 2px solid black;
}
</style>
</head>
<body>
<div class="box"></div>
</body>
</html>