Open Bug 1362898 Opened 7 years ago Updated 2 years ago

content with ::before gets painted at the wrong place

Categories

(Core :: Web Painting, enhancement)

55 Branch
enhancement

Tracking

()

Webcompat Priority P3

People

(Reporter: karlcow, Unassigned)

References

()

Details

(Whiteboard: [webcompat])

This is a spin off of 
https://webcompat.com/issues/6436

I created a test here.
https://codepen.io/webcompat/pen/OmOBBO

1. Go to the test
2. at thefirst load the character for content is displayed higher with regards to the line.

a::before {
	display: inline-block;
	content: '\203A';
	width: 20px;
	height: 20px;
	position: absolute;
	left: 4px;
}

3. Change anything which does a repaint such as adding an outline or changing slightly a padding on the anchor and the character goes back to the right place.
Flags: webcompat?
Whiteboard: [webcompat]
Flags: webcompat?

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

Webcompat Priority: ? → revisit
Webcompat Priority: revisit → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.