diff options
author | myphs <myphs+github@posteo.de> | 2020-03-20 20:29:39 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-20 21:40:55 +0100 |
commit | 0891f860f7127185b63d6e7ff67430b03e8ed287 (patch) | |
tree | f60c863caf7422fdffc0a47199960caf3de47038 /Base/home/anon/www/images.html | |
parent | 12e8efd74ec730f63fd78e22732b344ade77e935 (diff) | |
download | serenity-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 'Base/home/anon/www/images.html')
0 files changed, 0 insertions, 0 deletions