mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 18:24:45 -05:00
e81d4ca1ac
When negating a number, we should subtract it from 0, not 1. :^)
15 lines
No EOL
252 B
HTML
15 lines
No EOL
252 B
HTML
<!doctype html><style>
|
|
body {
|
|
background: #444;
|
|
}
|
|
.container {
|
|
width: 100px;
|
|
background: green;
|
|
height: 50px;
|
|
}
|
|
.foo {
|
|
width: calc(100% - 1px);
|
|
background: black;
|
|
height: 50px;
|
|
}
|
|
</style><div class=container><div class=foo> |