1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00
serenity/Libraries/LibHTML
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
..
CSS LibHTML: Implement "text-align: justify" 2019-10-20 12:55:55 +02:00
DOM LibHTML: Rename HTMLImageElement::m_image_loader => m_image_decoder 2019-10-20 12:55:55 +02:00
Layout LibHTML: Implement "text-align: justify" 2019-10-20 12:55:55 +02:00
Parser LibHTML: The CSS parser should tolerate whitespace-only stylesheets 2019-10-20 12:55:55 +02:00
Scripts Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
Dump.cpp LibHTML: Introduce LayoutBox and LayoutNodeWithStyleAndBoxModelMetrics 2019-10-15 16:48:38 +02:00
Dump.h LibHTML: Hide debugging output unless HTML_DEBUG is defined 2019-09-28 18:29:42 +02:00
FontCache.cpp LibHTML: Add a simple font cache 2019-10-18 23:06:03 +02:00
FontCache.h LibHTML: Add a simple font cache 2019-10-18 23:06:03 +02:00
Frame.cpp LibHTML: Implement the <blink> element 2019-10-09 21:25:29 +02:00
Frame.h LibHTML: Make TreeNode inherit from Weakable by default 2019-10-19 09:42:20 +02:00
HtmlView.cpp LibHTML: HtmlView only needs to store the main Frame, not the Document 2019-10-20 10:36:14 +02:00
HtmlView.h LibHTML: HtmlView only needs to store the main Frame, not the Document 2019-10-20 10:36:14 +02:00
install.sh LibHTML: Add install.sh 2019-09-28 18:29:42 +02:00
Makefile Userland+LibHTML: Add the html command 2019-09-28 18:29:42 +02:00
Makefile.host AK: Remove empty files JsonArray.cpp and JsonObject.cpp 2019-10-01 11:24:54 +02:00
Makefile.shared LibHTML: Add a simple font cache 2019-10-18 23:06:03 +02:00
RenderingContext.h LibHTML: Add the currently visible viewport rect to RenderingContext 2019-10-15 21:52:01 +02:00
ResourceLoader.cpp LibHTML+Browser: Show the number of pending resource loads 2019-10-10 22:07:08 +02:00
ResourceLoader.h LibHTML+Browser: Show the number of pending resource loads 2019-10-10 22:07:08 +02:00
TreeNode.h LibHTML: Add TreeNode<T>::for_each_in_subtree(callback) 2019-10-19 18:14:54 +02:00