summaryrefslogtreecommitdiff
path: root/Libraries/LibGfx/Point.h
diff options
context:
space:
mode:
authormyphs <myphs+github@posteo.de>2020-03-20 20:29:39 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-20 21:40:55 +0100
commit0891f860f7127185b63d6e7ff67430b03e8ed287 (patch)
treef60c863caf7422fdffc0a47199960caf3de47038 /Libraries/LibGfx/Point.h
parent12e8efd74ec730f63fd78e22732b344ade77e935 (diff)
downloadserenity-0891f860f7127185b63d6e7ff67430b03e8ed287.zip
LibWeb: Add CSS property 'border'
This makes it possible to write shorter CSS. Instead of writing .foo { border-width: 3px; border-style: solid; border-color: blue; } it is now possible to write .foo { border: 3px solid blue; } while the order of values is irrelevant. Currently only the basic values are supported. More values should be added in the future. Three more value specific parse functions were added: parse_line_width, parse_color, and parse_line_style Additionally a few test cases were added to borders.html.
Diffstat (limited to 'Libraries/LibGfx/Point.h')
0 files changed, 0 insertions, 0 deletions