Bug 219683 - Setting height: auto on hover causes insane flashes
Summary: Setting height: auto on hover causes insane flashes
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-12-09 07:07 PST by Antoine Quint
Modified: 2023-04-21 05:49 PDT (History)
5 users (show)

See Also:


Attachments
Test (233 bytes, text/html)
2020-12-09 07:07 PST, Antoine Quint
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 2020-12-09 07:07:53 PST
Created attachment 415754 [details]
Test

The attached test is simply a <div> and this style:

    div {
        background-color: blue;
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
    }

    div:hover {
        height: auto;
    }

When I move the cursor around the page the page flashes blue, as if the <div> stopped painting. This does not occur in either Firefox or Chrome.
Comment 1 Radar WebKit Bug Importer 2020-12-09 07:08:12 PST
<rdar://problem/72135791>
Comment 2 Ahmad Saleem 2023-04-21 05:49:30 PDT
I am able to reproduce this bug in Safari Technology Preview 168 and also WebKit ToT.

Just sharing updated testing results. Thanks!