aboutsummaryrefslogtreecommitdiff
path: root/test/html
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-02-28 00:07:25 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-02-28 00:11:27 +0100
commit432437a6840b8175ac1399c56448833aeb7333f0 (patch)
treeae0d71e0fccbd62d4884f238bc821c871e03b42a /test/html
parentfbd719f93ab659fec6c42952e76f5e5b971728be (diff)
Fix text under scrollbar on the left
When the page is first layouted, we can then determine if the vertical scrollbar needs to be present. When the vertical scrollbar is on the left side, the whole content needs to be shifted to the right, so we need to allocate the top level widget again. The current fix simply marks the top level widget for allocation. Fixes: https://github.com/dillo-browser/dillo/issues/359
Diffstat (limited to 'test/html')
-rw-r--r--test/html/manual/left-scrollbar.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/html/manual/left-scrollbar.html b/test/html/manual/left-scrollbar.html
new file mode 100644
index 00000000..dfa0d2e5
--- /dev/null
+++ b/test/html/manual/left-scrollbar.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Test text under left scrollbar</title>
+ <style>
+ body { width: 700px; height: 1000px; }
+ </style>
+ </head>
+ <body>
+ <p>
+ Can you read me?
+ <em>You must set the scrollbar_on_left=YES config option</em>
+ </p>
+ </body>
+</html>