[Webkit-unassigned] [Bug 248693] New: overflow-x: clip on html and body causes content to be invisible unless zoomed in

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 2 15:52:45 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=248693

            Bug ID: 248693
           Summary: overflow-x: clip on html and body causes content to be
                    invisible unless zoomed in
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: two at envs.net

Created attachment 463861

  --> https://bugs.webkit.org/attachment.cgi?id=463861&action=review

2 windows with the same code (as described above, plus a background) & an html preview buffer: the 1st one shows a page with only the background visible, the 2nd shows the page with also visible text

one website wasn't rendering correctly in epiphany, all the text was invisible, but it became visible after i zoomed in on the page. after poking some css rules in the inspector, it turned out that having `overflow-x: clip` on both `<head>` and `<body>` is what's causing it.

a minimal document to reproduce:

```html
<html>
  <head>
    <style>
      html { overflow-x: clip; }
      body { overflow-x: clip; }
    </style>
  </head>
  <body>
    <p>some text blabla</p>
  </body>
</html>
```

here are some screenshots with a background to show the zoom clearer:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221202/adf302bf/attachment-0001.htm>


More information about the webkit-unassigned mailing list