1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00
serenity/Libraries/LibWeb/Parser
myphs 0891f860f7 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.
2020-03-20 21:40:55 +01:00
..
CSSParser.cpp LibWeb: Add CSS property 'border' 2020-03-20 21:40:55 +01:00
CSSParser.h LibWeb: Add CSS property 'border' 2020-03-20 21:40:55 +01:00
HTMLParser.cpp LibWeb: Start working on DOM event support 2020-03-18 17:13:22 +01:00
HTMLParser.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00