ladybird/Userland/Libraries/LibWeb
Timothy Flynn dba261f79b LibWeb: Propagate body background properties to root HTML element
The Acid1 test has a bit of an unusual background - the html and body
tags have different background colors. Our painting order of the DOM was
such that the body background was painted first, then all other elements
were painted in-phase according to Appendix E of CSS 2.1. So the html
element's background color was painted over the body background.

This removes the special handling of the body background from
InitialContainingBlockBox and now all boxes are painted in-phase. Doing
this also exposed that we weren't handling Section 2.11.2 of the spec;
when the html background is unset, the body's background should be
propagated to the html element.
2021-05-13 16:16:25 +02:00
..
Bindings LibWeb: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
CodeGenerators LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
Cookie Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CSS LibWeb: Implement :nth-last-child pseudo-class 2021-05-11 21:17:16 +01:00
DOM LibWeb: Make Element::tag_name return the HTML uppercased qualified name 2021-05-11 18:01:36 +02:00
DumpLayoutTree Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HighResolutionTime Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HTML LibWeb: Propagate body background properties to root HTML element 2021-05-13 16:16:25 +02:00
Layout LibWeb: Propagate body background properties to root HTML element 2021-05-13 16:16:25 +02:00
Loader LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
NavigationTiming Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Page LibWeb: Make frames nesting-aware and disallow deep nesting 2021-05-07 22:34:34 +02:00
Painting LibWeb: Paint an element's foreground before painting its children 2021-05-11 18:03:21 +02:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SVG Userland: Move non-standard math constants from math.h 2021-04-27 23:06:16 +02:00
Tests LibWeb: Add tests for HTMLTableElement attributes 2021-05-09 18:38:34 +02:00
UIEvents AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
XHR AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
CMakeLists.txt Services: Rename ProtocolServer to RequestServer 2021-04-25 19:04:34 +02:00
DOMTreeModel.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DOMTreeModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Dump.cpp LibWeb: Implement :nth-last-child pseudo-class 2021-05-11 21:17:16 +01:00
Dump.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FontCache.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FontCache.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h LibWeb: Add WebSocket bindings 2021-04-25 19:04:34 +02:00
InProcessWebView.cpp LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
InProcessWebView.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
LayoutTreeModel.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LayoutTreeModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Namespace.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Namespace.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Origin.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
OutOfProcessWebView.cpp Userland: Use snake case names in .ipc files 2021-05-03 21:14:40 +02:00
OutOfProcessWebView.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
QualifiedName.h LibWeb: Use HTML-uppercased qualified name for the Element node name 2021-05-04 23:24:03 +01:00
StylePropertiesModel.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StylePropertiesModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
TreeNode.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
URLEncoder.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
URLEncoder.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WebContentClient.cpp Userland: Use snake case names in .ipc files 2021-05-03 21:14:40 +02:00
WebContentClient.h Userland: Use snake case names in .ipc files 2021-05-03 21:14:40 +02:00
WebViewHooks.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00