1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 10:17:41 +00:00
serenity/Userland/Libraries/LibWeb
Nico Weber d670c13a3b LibWeb: Make attribute hidden have an effect; hide some other elements
This moves LibWeb to using the list of hidden elements from the spec.

Concretely, the following things are now explicitly marked
`display: none` in addition to before:

- elements with the `hidden` attribute
- area
- base
- basefont
- datalist
- param
- rp

The spec also wants `noframes` and `noembed` to be `display: none`,
but since support for frames and embeds doesn't exist yet, these
are omitted for now.

With this, everyone's favorite website http://45.33.8.238/ no longer
displays spans with attribute hidden. (Whitespace handling still
looks a bit off though.)
2022-01-22 01:28:42 +00:00
..
Bindings LibJS: Add host layering point related to modules to VM 2022-01-22 01:21:18 +00:00
Cookie
Crypto
CSS LibWeb: Make attribute hidden have an effect; hide some other elements 2022-01-22 01:28:42 +00:00
DOM LibJS: Refactor interpreter to use Script and Source Text Modules 2022-01-22 01:21:18 +00:00
DOMParsing
DumpLayoutTree
Encoding
Geometry
HighResolutionTime
HTML LibJS: Refactor interpreter to use Script and Source Text Modules 2022-01-22 01:21:18 +00:00
IntersectionObserver
Layout Userland: Add horizontal mouse scroll support 2022-01-20 10:37:52 +01:00
Loader LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
NavigationTiming
Page Userland: Add horizontal mouse scroll support 2022-01-20 10:37:52 +01:00
Painting LibWeb: Remove reference_for_percent parameter from Length::resolved() 2022-01-20 00:04:10 +01:00
RequestIdleCallback
ResizeObserver
Scripts
Selection
SVG LibWeb: Convert stroke-width to LengthPercentage 2022-01-20 00:04:10 +01:00
Tests
UIEvents
URL
WebAssembly LibJS: Replace the custom unwind mechanism with completions :^) 2022-01-06 12:36:23 +01:00
XHR
CMakeLists.txt
DOMTreeModel.cpp
DOMTreeModel.h
Dump.cpp
Dump.h
FontCache.cpp
FontCache.h
Forward.h LibWeb: Add PercentageStyleValue, and parse it 2022-01-20 00:04:10 +01:00
ImageDecoding.cpp LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
ImageDecoding.h
InProcessWebView.cpp Userland: Add horizontal mouse scroll support 2022-01-20 10:37:52 +01:00
InProcessWebView.h
Namespace.cpp
Namespace.h
Origin.h
OutOfProcessWebView.cpp Userland: Add horizontal mouse scroll support 2022-01-20 10:37:52 +01:00
OutOfProcessWebView.h
QualifiedName.h
StylePropertiesModel.cpp
StylePropertiesModel.h
TreeNode.h
WebContentClient.cpp LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
WebContentClient.h LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
WebViewHooks.h