[Webkit-unassigned] [Bug 232272] New: Setting background-color on html does not override the background-color set on body

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 25 14:30:34 PDT 2021


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

            Bug ID: 232272
           Summary: Setting background-color on html does not override the
                    background-color set on body
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bramus at bram.us

Created attachment 442418

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

Comparison of current behavior in Chrome 95, Firefox 95, and Safari 15

See demo https://cdpn.io/bramus/debug/BadWjOG

This page has:

- The html background-color set to blue
- The body background-color set to lime
- A full-page div with a its background-color set to hotpink

When overscrolling, the color peeking through from underneath the hotpink-div is:

- Blink/Chromium: blue
- Gecko/Firefox: blue
- WebKit/Safari: lime

Feels like this should be blue, as it's the html element that's overscrolling. All other browser also show the blue.

See video for a comparison: Chrome 95 vs Firefox 95 vs Safari 15

-- 
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/20211025/d2c50b8b/attachment.htm>


More information about the webkit-unassigned mailing list