Closed Bug 1789339 Opened 3 years ago Closed 3 years ago

Transparent <iframe> ends up with bright white background since Commit 495ffb27

Categories

(Firefox :: Untriaged, defect)

Firefox 106
defect

Tracking

()

RESOLVED DUPLICATE of bug 1787127

People

(Reporter: mozilla, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0
Firefox for Android

Steps to reproduce:

// transparent.html
<!DOCTYPE html>
<html>
<head>
<title>THIS SHOULD BE TRANSPARENT ONLY</title>
<style>
* {
background: transparent;
}
</style>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>

// red.html
<!DOCTYPE html>
<html>
<head>
<title>THIS SHOULD BE RED ONLY</title>
<style>
html, body {
background: red;
}

		iframe {
			background: transparent;
		}
	</style>
</head>
<body>
	<iframe src="transparent.html" allowtransparency="true"></iframe>
</body>

</html>

Actual results:

The transparent <iframe> has a white background.

Expected results:

The transparent <iframe> should have no background.

Attached file Test Case
Attached file mozgression report
mozgression report: ```
Attached file mozgression report

Fixed as seen in mozgression report

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
See Also: → 1789940
See Also: 1789940
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: