WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
182278
Disappearing element with mix-blend-mode + backface-visibility: hidden + position: fixed + overflow: auto + hardware acceleration
https://bugs.webkit.org/show_bug.cgi?id=182278
Summary
Disappearing element with mix-blend-mode + backface-visibility: hidden + posi...
Darryl Yeo
Reported
2018-01-29 22:02:39 PST
I found an odd combination of CSS properties that causes a hardware-accelerated element to disappear if it is nested in two fixed containers and is preceded by an element with mix-blend-mode and backface-visibility. See reduced test case below or at
https://codepen.io/darrylyeo/pen/gvONMG
HTML: <div class="background"></div> <div class="modal"> <div class="modal-inner"> <div class="modal-content">Hello world! Can you see me?</div> </div> </div> CSS: .background { mix-blend-mode: multiply; /* or any other mix-blend-mode */ backface-visibility: hidden; } .modal { position: fixed; overflow: auto; /* or anything other than overflow: visible; */ } .modal-inner { position: fixed; /* or position: absolute; */ } .modal-content { transform: translateZ(0); /* or will-change: transform; */ } This seems to occur as long as .background precedes .modal-content in the tree, regardless of whether .background is nested inside of other elements or even moved into .modal or .modal-inner.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-01-30 10:54:03 PST
<
rdar://problem/37034806
>
Simon Fraser (smfr)
Comment 2
2024-09-23 17:54:22 PDT
I can't reproduce this. The second line of text appears fine.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug