ladybird/Libraries/LibWeb/CSS
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
..
.gitignore LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Default.css LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Length.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LengthBox.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Properties.json LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Selector.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Selector.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
SelectorEngine.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
SelectorEngine.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Specificity.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleDeclaration.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleDeclaration.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleProperties.cpp LibWeb: Skip non-font files when looking for fonts instead of asserting 2020-03-11 21:27:03 +01:00
StyleProperties.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleResolver.cpp LibWeb: Add CSS property 'border' 2020-03-20 21:40:55 +01:00
StyleResolver.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleRule.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleRule.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleSheet.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleSheet.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleValue.cpp LibWeb: Don't try to repaint frameless documents in CSSStyleValue 2020-03-18 11:26:31 +01:00
StyleValue.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00