Bug 113051 - Flexbox can cause big paint in some circumstances
Summary: Flexbox can cause big paint in some circumstances
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.8
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-22 06:12 PDT by David Håsäther
Modified: 2022-07-13 14:25 PDT (History)
1 user (show)

See Also:


Attachments
Demo of the bug (447 bytes, text/html)
2013-03-22 06:13 PDT, David Håsäther
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Håsäther 2013-03-22 06:12:42 PDT
In some circumstances, an absolutely positioned element with `display: flexbox` will cause a large paint (bottom right position of the element to the top left position of the viewport in Chrome, less in Safari, but still a larger area than the element itself).

Attaching a testcase which is about as minimal as I could get it. To verify, open Web Inspector and use "Show paint rectangles" (or the Timeline), and hover the element that says "Hover". (The existence of opacity also seems to influence this, I don't see the same thing if I only change the background-color on hover for example.)
Comment 1 David Håsäther 2013-03-22 06:13:17 PDT
Created attachment 194528 [details]
Demo of the bug
Comment 2 Brent Fulgham 2022-07-13 14:25:40 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.