Bug 234983 - [GTK] no subscribe button on opensource.com
Summary: [GTK] no subscribe button on opensource.com
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2022-01-07 13:25 PST by maximchintalov
Modified: 2022-01-11 05:06 PST (History)
3 users (show)

See Also:


Attachments
Firefox on left, GNOME Web on right (408.43 KB, image/png)
2022-01-07 13:25 PST, maximchintalov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description maximchintalov 2022-01-07 13:25:42 PST
Created attachment 448625 [details]
Firefox on left, GNOME Web on right

The subscribe button on opensource.com does not appear in GNOME Web or Midori on Linux.
Comment 1 Patrick Griffis 2022-01-07 13:36:50 PST
Works fine here on Epiphany 41.3, WebKitGTK 2.34.2.
Comment 2 Pedro Paulo 2022-01-11 05:06:41 PST
Can confirm on Epiphany 41.3, WekbitGTK 2.34.3.

It seems the iframe this website uses doesn't get resized correctly. A quick fix is to run the script below:

```js
const iframes = Array.from(document.querySelectorAll('iframe.eloqua-embedded-bottom')); // Selects the problematic iframes

for(const iframe of iframes) {
    iframe.style.height = 'fit-content'; // Sets their heights to 'fit-content';
}
```

There probably is a miscalculation in the iframe height on Webkit, and this quick fix doesn't change that, which should be thoroughly investigated.