fix: trace viewer with global applied background-color (#23362)

Fixes https://github.com/microsoft/playwright/issues/23275
This commit is contained in:
Max Schmitt 2023-05-30 17:58:29 +02:00 committed by GitHub
parent 9e75b95153
commit f819b1c72d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@ export class Highlight {
this._glassPaneElement.style.zIndex = '2147483647';
this._glassPaneElement.style.pointerEvents = 'none';
this._glassPaneElement.style.display = 'flex';
this._glassPaneElement.style.backgroundColor = 'transparent';
this._actionPointElement = document.createElement('x-pw-action-point');
this._actionPointElement.setAttribute('hidden', 'true');