serenity/Tests/LibWeb
Aliaksandr Kalenik 40a570e237 LibWeb+WebContent: Move scrollbar painting into WebContent
The main intention of this change is to have a consistent look and
behavior across all scrollbars, including elements with
`overflow: scroll` and `overflow: auto`, iframes, and a page.

Before:
- Page's scrollbar is painted by Browser (Qt/AppKit) using the
  corresponding UI framework style,
- Both WebContent and Browser know the scroll position offset.
- WebContent uses did_request_scroll_to() IPC call to send updates.
- Browser uses set_viewport_rect() to send updates.

After:
- Page's scrollbar is painted on WebContent side using the same style as
  currently used for elements with `overflow: scroll` and
  `overflow: auto`. A nice side effects: scrollbars are now painted for
  iframes, and page's scrollbar respects scrollbar-width CSS property.
- Only WebContent knows scroll position offset.
- did_request_scroll_to() is no longer used.
- set_viewport_rect() is changed to set_viewport_size().

(cherry picked from commit 5285e22f2aa09152365179865f135e7bc5d254a5)

Co-authored-by: Jamie Mansfield <jmansfield@cadixdev.org>
Co-authored-by: Nico Weber <thakis@chromium.org>
2024-07-07 11:32:25 +02:00
..
Layout LibWeb: Use button layout for input elements with button type 2024-06-27 19:02:45 +02:00
Ref LibWeb+WebContent: Move scrollbar painting into WebContent 2024-07-07 11:32:25 +02:00
Text LibWeb/Geometry: Make DOMRect doubles unrestricted 2024-07-01 23:03:47 +02:00
WPT WPT: Update test expectations to match current test results 2024-05-30 11:03:56 -06:00
add_libweb_test.py Tests/LibWeb: Add a script to create a new test, starting with Text 2024-04-10 17:17:40 -06:00
CMakeLists.txt LibWeb: Return the correct substring when parsing an HTTP quoted string 2024-03-26 19:19:13 +00:00
rebaseline-libweb-test Tests/LibWeb: Fix rebaseline-libweb-test after RequestServer changes 2024-04-19 10:53:20 +02:00
TestConfig.ini Tests/LibWeb: Wait until document fully loaded before simulating click 2024-06-27 13:42:20 +02:00
TestCSSIDSpeed.cpp
TestCSSPixels.cpp
TestFetchInfrastructure.cpp LibWeb: Remove OOM propagation from Fetch::Infrastructure::HTTP 2024-04-27 07:08:14 +02:00
TestFetchURL.cpp LibWeb/Fetch: Use MimeType in DataURL 2024-06-02 19:55:53 +02:00
TestHTMLTokenizer.cpp
TestMicrosyntax.cpp
TestMimeSniff.cpp LibWeb/MimeSniff: Implement "minimize a supported MIME type" 2024-05-19 16:25:50 +02:00
TestNumbers.cpp
tokenizer-test.html