ladybird/Libraries/LibHTML/CSS
Andreas Kling 00d171e4d6 LibHTML: Implement the "margin" shorthand property
This is a very bulky way of doing this, and doesn't seem sustainable to
implement every shorthand property this way, but it's a place to start.

The "margin" CSS property now expands into its four longhands as far as
my understanding of the specs.

Note that shorthand expansion happens when we *resolve* style, not when
we parse CSS. I'm not sure this is correct anymore, I think other UA's
may actually expand shorthands into the declaration directly at parse
these days. If so, we should do this at parsing as well.
2019-11-18 11:51:02 +01:00
..
.gitignore LibHTML: Start building a simple code generator for CSS properties 2019-11-18 11:48:41 +01:00
Default.css LibHTML: Fix the default style for <hr> elements 2019-11-07 21:35:59 +01:00
Length.h LibHTML: Implement the "margin" shorthand property 2019-11-18 11:51:02 +01:00
LengthBox.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
Properties.json LibHTML: Start building a simple code generator for CSS properties 2019-11-18 11:48:41 +01:00
Selector.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
Selector.h LibHTML: Parse the :link and :hover CSS pseudo-classes 2019-10-14 17:31:52 +02:00
SelectorEngine.cpp LibHTML: Only actually-linked <a> elements should be blue+underlined 2019-10-20 10:07:26 +02:00
SelectorEngine.h LibHTML: Move selector matching into a SelectorEngine namespace 2019-10-08 15:35:05 +02:00
Specificity.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
StyleDeclaration.cpp LibHTML: Fix incorrect CSS object model 2019-09-30 20:06:17 +02:00
StyleDeclaration.h LibHTML: Use an enum for CSS property ID's 2019-10-08 15:35:05 +02:00
StyleProperties.cpp LibHTML: Add a simple font cache 2019-10-18 23:06:03 +02:00
StyleProperties.h LibHTML: Implement basic partial style invalidation 2019-10-14 18:33:23 +02:00
StyleResolver.cpp LibHTML: Implement the "margin" shorthand property 2019-11-18 11:51:02 +01:00
StyleResolver.h LibHTML: Use an enum for CSS property ID's 2019-10-08 15:35:05 +02:00
StyleRule.cpp LibHTML: Fix incorrect CSS object model 2019-09-30 20:06:17 +02:00
StyleRule.h LibHTML: Fix incorrect CSS object model 2019-09-30 20:06:17 +02:00
StyleSheet.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
StyleSheet.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
StyleValue.cpp LibHTML: Implement basic tiled background image support 2019-10-19 11:49:46 +02:00
StyleValue.h LibHTML: Implement the "margin" shorthand property 2019-11-18 11:51:02 +01:00