diff options
author | Tobias Christiansen <tobi@tobyase.de> | 2021-05-16 20:03:04 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-20 22:08:02 +0200 |
commit | adfdfd6aba58f378b00319ac5fc6cdcf78b40a84 (patch) | |
tree | b966b88c443228fdce5754c5f10426b0354b3b53 /Userland/Libraries/LibWeb/Painting | |
parent | a49812cb0740be90963fc6b24a3baceff7936550 (diff) | |
download | serenity-adfdfd6aba58f378b00319ac5fc6cdcf78b40a84.zip |
LibWeb: Deal with Boxes that have a background, border and -radius
This hack allows for Boxes that have a background to be painted and a
border to accurately paint their border-radii if needed.
For that the box in with the background is drawn is extended to the
bordered_rect. The border is later drawn over this regardless.
Previously when drawing a Box that had all three, background, border
and a border-radius, there could be some white between the filling and
the border.
Diffstat (limited to 'Userland/Libraries/LibWeb/Painting')
0 files changed, 0 insertions, 0 deletions