1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00
serenity/Userland/Libraries/LibWeb
Andreas Kling 04311ca7f1 LibWeb: Flush pending layouts when accessing element resolved style
We were handing out stale values from window.getComputedStyle() objects
after the first layout.

Fix this by always updating layout on property access. This is not
necessary for all properties, but for now let's go with the simplest
approach to make it work correctly.
2022-03-09 18:14:24 +01:00
..
Bindings LibWeb: Add support for DOM's TreeWalker 2022-03-09 16:43:55 +01:00
Cookie Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
Crypto LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
CSS LibWeb: Flush pending layouts when accessing element resolved style 2022-03-09 18:14:24 +01:00
DOM LibWeb: Implement "NodeIterator pre-removing steps" 2022-03-09 16:43:56 +01:00
DOMParsing LibWeb: Clean up static function in header 2021-10-06 23:52:40 +01:00
DumpLayoutTree Everywhere: Remove unused ArgsParser header 2021-11-01 21:12:58 +01:00
Encoding LibWeb: Implement a very basic version of TextDecoder 2022-02-16 22:48:32 +03:30
Fetch LibWeb: Implement spec-compliant MIME type struct and parser 2022-02-12 12:53:28 +01:00
Geometry LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
HighResolutionTime LibWeb: Move Window from DOM directory & namespace to HTML 2022-03-08 00:30:30 +01:00
HTML LibWeb: Use reverse iterator for reverse loop into NonnullRefPtrVector 2022-03-09 17:16:28 +01:00
IntersectionObserver LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
Layout LibWeb: Make InlineLevelIterator emit absolutely positioned items 2022-03-08 00:19:49 +01:00
Loader LibWeb: Fail resource loads on HTTP 4xx or 5xx error 2022-03-09 16:43:00 +01:00
MimeSniff LibWeb: Fix comparing current position to quote in Mime Type quote parse 2022-02-12 17:13:14 +00:00
NavigationTiming LibWeb: Move Window from DOM directory & namespace to HTML 2022-03-08 00:30:30 +01:00
Page LibWeb: Move Window from DOM directory & namespace to HTML 2022-03-08 00:30:30 +01:00
Painting LibWeb: Make stacking context tree dumps more readable 2022-03-04 15:52:42 +01:00
RequestIdleCallback LibWeb: Add the IdleDeadline interface from the RequestIdleCallback spec 2021-09-17 13:20:18 +02:00
ResizeObserver LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Selection LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
SVG LibWeb: Correct SVG smooth curve reflected control point calculation 2022-03-04 20:08:58 +01:00
Tests LibWeb: Capture <script> element's node document on execution 2021-12-21 13:50:00 -08:00
UIEvents LibWeb: Move Window from DOM directory & namespace to HTML 2022-03-08 00:30:30 +01:00
URL LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
WebAssembly LibWeb: Don't check for get().is_empty() in WebAssemblyMemoryConstructor 2022-02-16 22:48:32 +03:30
WebSockets LibWeb: Move Window from DOM directory & namespace to HTML 2022-03-08 00:30:30 +01:00
XHR LibWeb: Move Window from DOM directory & namespace to HTML 2022-03-08 00:30:30 +01:00
CMakeLists.txt LibWeb: Add support for DOM's TreeWalker 2022-03-09 16:43:55 +01:00
DOMTreeModel.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
DOMTreeModel.h AK: Make JSON parser return ErrorOr<JsonValue> (instead of Optional) 2021-11-17 00:21:10 +01:00
Dump.cpp LibWeb: Align actual baselines, not just bottoms 2022-03-03 12:57:53 +01:00
Dump.h LibWeb: Small improvements to layout tree dumps 2022-03-03 12:57:53 +01:00
FontCache.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FontCache.h Everywhere: Fully qualify font names by including their slope 2022-02-01 10:06:26 +01:00
Forward.h LibWeb: Add support for DOM's TreeWalker 2022-03-09 16:43:55 +01:00
ImageDecoding.cpp LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
ImageDecoding.h LibWeb: Move ImageDecoder client connection singleton to its own file 2021-11-20 10:56:31 +01:00
InProcessWebView.cpp LibWeb: Rename Layout::Box::size() to content_size() 2022-02-06 01:07:47 +01:00
InProcessWebView.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01: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 LibWeb: Add origin property to window object 2022-03-01 13:38:20 +00:00
OutOfProcessWebView.cpp Browser+LibWeb: Add an Element size preview widget to inspector 2022-03-08 22:09:52 +01:00
OutOfProcessWebView.h Browser+LibWeb: Add an Element size preview widget to inspector 2022-03-08 22:09:52 +01:00
StylePropertiesModel.cpp Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StylePropertiesModel.h AK: Make JSON parser return ErrorOr<JsonValue> (instead of Optional) 2021-11-17 00:21:10 +01:00
TreeNode.h LibWeb: Make Range.setStart and Range.setEnd spec compliant 2022-02-26 12:53:32 +01:00
WebContentClient.cpp Browser+LibWeb: Add an Element size preview widget to inspector 2022-03-08 22:09:52 +01:00
WebContentClient.h Browser+LibWeb: Add an Element size preview widget to inspector 2022-03-08 22:09:52 +01:00
WebViewHooks.h Browser+LibWeb: Add an Element size preview widget to inspector 2022-03-08 22:09:52 +01:00