1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 20:58:13 +00:00
serenity/Libraries/LibHTML/CSS
Andreas Kling eb77e680ed LibHTML: Implement "text-align: justify"
In order for this to work nicely, I made the line box classes use float
instead of int for its geometry information.

Justification works by distributing all of the whitespace on the line
(including the trailing whitespace before the line break) evenly across
the spaces in-between words.

We should probably use floating point (or maybe fixed point?) for all
the layout metrics stuff. But one thing at a time. :^)
2019-10-20 12:55:55 +02:00
..
.gitignore Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
Default.css LibHTML: Only actually-linked <a> elements should be blue+underlined 2019-10-20 10:07:26 +02:00
Length.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
LengthBox.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
PropertyID.h LibHTML: Implement basic tiled background image support 2019-10-19 11:49:46 +02: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: Use an enum for CSS property ID's 2019-10-08 15:35:05 +02: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 "text-align: justify" 2019-10-20 12:55:55 +02:00