Bug 229670 - [GTK] Table text wraps unexpectedly
Summary: [GTK] Table text wraps unexpectedly
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-30 09:28 PDT by Milan Crha
Modified: 2021-08-30 09:38 PDT (History)
1 user (show)

See Also:


Attachments
wk2-css.c (16.12 KB, text/plain)
2021-08-30 09:28 PDT, Milan Crha
no flags Details
what it looks like after open (good state) (15.97 KB, image/png)
2021-08-30 09:29 PDT, Milan Crha
no flags Details
when made the window wider (bad state) (14.39 KB, image/png)
2021-08-30 09:29 PDT, Milan Crha
no flags Details
test a.html (13.12 KB, text/html)
2021-08-30 09:37 PDT, Milan Crha
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Crha 2021-08-30 09:28:03 PDT
Created attachment 436779 [details]
wk2-css.c

Coming from a downstream bug report:
https://gitlab.gnome.org/GNOME/evolution/-/issues/1575

Attached is a test case. The first line contains a command to build & run it.

Steps:
a) compile and run the wk2-css.c - it opens with correct text shown
b) when the window is made wide enough, the text (link) suddenly wraps, showing one letter per line

The MiniBrowser doesn't reproduce it here, but it can be due to opening too wide, because when I increase the window size in the code to 800 pixels, then it also doesn't reproduce the problem.
Comment 1 Milan Crha 2021-08-30 09:29:07 PDT
Created attachment 436780 [details]
what it looks like after open (good state)
Comment 2 Milan Crha 2021-08-30 09:29:44 PDT
Created attachment 436781 [details]
when made the window wider (bad state)
Comment 3 Milan Crha 2021-08-30 09:37:15 PDT
Created attachment 436783 [details]
test a.html

I figured I can reproduce it also in the MiniBrowser.
Steps:
a) open the attached a.html in the MiniBrowser
b) make the window as smallest as possible (minimum width)
c) reload the page
d) make the window wider - after certain value the link wraps

Follow up:
e) reload the page (in the bad state) - it shows the content correctly now, no matter how much wide the window is made
Comment 4 Milan Crha 2021-08-30 09:37:52 PDT
I forgot to mention, my version is webkit2gtk3-2.32.3-1.fc34.x86_64