Closed Bug 1186039 Opened 9 years ago Closed 1 year ago

mix-blend-mode acts strangely in text + photo example

Categories

(Core :: Graphics, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bwalker, Unassigned)

References

()

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

STR:

See http://codepen.io/tevko/pen/mJGJNM

Expected: letters reveal photo underneath (as with Chrome, Safari)

Actual: letters are black; resizing the window causes flashing and jank.
The HTML:

<h1> LOOK AT HOW COOL THIS IS</h1>

The CSS:

html {
	background-image: url('http://i.huffpost.com/gen/1164733/images/o-PHOTOS-OF-SLOTHS-facebook.jpg');
	background-size: cover;
	width: 100%;
	height: 200vh;
}


h1 {
	background-color: white;
	position: fixed;
	padding: 20px;
	font-size: 5em;
	margin: 0 auto;
	mix-blend-mode: screen; //this is the magic
	top: 60px;
}
At least when I test here with a Linux nightly, I observe none of the reported issues - letters are transparent and no jank. Can you give more information on what platform you're using (i.e. graphics section from about:support) and Firefox version?
Whiteboard: [gfx-noted]
This is still present mac osx FF var 40.0.2

Issue goes away if you disable hardware acceleration in preferences
Severity: normal → S3
Attached file reduced.html

Unable to reproduce in current versions.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: