diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-09-22 11:11:54 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-22 20:32:35 +0200 |
commit | 5c7dca352679758ffc58103bea98921e19be4ad7 (patch) | |
tree | 5712fb661761b8a68210c06e52ab298701e86f3f /Userland/Libraries/LibGUI/TextEditor.cpp | |
parent | 635ab6db0bd6e7f0ef493835e33edfd6d05ee0f1 (diff) | |
download | serenity-5c7dca352679758ffc58103bea98921e19be4ad7.zip |
LibWeb: Stop rejecting valid values for several CSS properties
In StyleResolver, we were rejecting single values for properties that
take 1-4: `border-color`, `border-style`, and `border-width`. Now, we
handle them correctly. I also added support for `calc()` and `var()` to
`padding` and `margin`.
This fixes the orange border on Acid2, which now correctly appears
black. :^)
Diffstat (limited to 'Userland/Libraries/LibGUI/TextEditor.cpp')
0 files changed, 0 insertions, 0 deletions