Bug 234983

Summary: [GTK] no subscribe button on opensource.com
Product: WebKit Reporter: maximchintalov
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply, pedropaulosuzuki1, pgriffis
Priority: P3 Keywords: Gtk
Version: WebKit Local Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Firefox on left, GNOME Web on right none

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.