WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
191980
[GTK] Transparency breaks when using non-static element inside fixed container
https://bugs.webkit.org/show_bug.cgi?id=191980
Summary
[GTK] Transparency breaks when using non-static element inside fixed container
Liam Martens
Reported
2018-11-26 14:49:23 PST
Created
attachment 355677
[details]
Use in transparent Gtk/Webkit combo to reproduce transparency bug When creating a fully transparent Gtk window and Webkit Web view the transparency goes opaque when using a non-static positioned element inside a fixed positioned element. For reproduction, the fixed positioned element should be visible (thus should not have a width or height of 0) and the child element should be anything other than static. For quick setup try using the hudkit sample (
https://github.com/anko/hudkit
) and load the attached html page. Then toggle #bb2 between static and relative (or absolute / fixed)
Attachments
Use in transparent Gtk/Webkit combo to reproduce transparency bug
(1.63 KB, text/html)
2018-11-26 14:49 PST
,
Liam Martens
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2018-11-27 01:48:18 PST
Is it a regression from 2.22.3?
Liam Martens
Comment 2
2018-11-27 02:27:34 PST
(In reply to Michael Catanzaro from
comment #1
)
> Is it a regression from 2.22.3?
I also tried using an older build such as 2.21.92. Same issue.
Michael Catanzaro
Comment 3
2018-11-28 06:50:22 PST
What was the last version where this was known to work?
Liam Martens
Comment 4
2018-11-28 13:06:56 PST
(In reply to Michael Catanzaro from
comment #3
)
> What was the last version where this was known to work?
Unsure, the issue goes back to at least v2.19.92 which was released March of this year. Not sure if it has ever worked can't test every version.
Liam Martens
Comment 5
2019-03-06 15:57:12 PST
So after doing some research on this topic it appears to be caused by the hardware acceleration policy. By default this is "ON_DEMAND" which causes the transparency to fail at times (it also fails when applying animation transforms for example). However when changing the hardware acceleration to either NEVER or ALWAYS the transparency works as expected.
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