mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-26 19:22:30 -05:00
1f2629f132
This reintroduces bounds-checking for the CSS `<angle>`, `<frequency>`,
`<integer>`, `<length>`, `<number>`, `<percentage>`, `<resolution>`,
and `<time>` types.
I regressed this around 6b8f484114
when
changing how we parsed StyleValues.
This is an improvement from before though, since we now allow the bounds
of a dimension type to have units.
Added a test to make sure we don't regress this again. :^)
9 lines
No EOL
184 B
HTML
9 lines
No EOL
184 B
HTML
<!doctype html><style>
|
|
* {
|
|
font: 16px SerenitySans;
|
|
}
|
|
div {
|
|
border: 1px solid black;
|
|
max-width: -90px;
|
|
}
|
|
</style><div>Well, hello friends!</div> |