Open
Bug 1221865
Opened 10 years ago
Updated 3 years ago
Text shadow should be painted below text in adjacent elements at the same stacking level
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox45 | --- | affected |
People
(Reporter: xidorn, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
282 bytes,
text/html
|
Details |
See the attachment. In this test, the green areas are two characters, and the red area is the text shadow of the second character. The text shadow is incorrectly painted above the first character.
The CSS Text Decoration Module Level 3 says:
> UAs should avoid painting text shadows over text in adjacent elements belonging to the same stack level and stacking context.
so it is just a recommendation, but I don't think we have any reason not to do that.
Our current implementation matches what CSS2 says. To update the impl to match Text Decoration Level 3, we may need to move text shadow into an independent display item, so that we can put it in a different stack level between text and border/background.
Reporter | ||
Comment 1•10 years ago
|
||
Summary: Text shadow should be paint below text at the same stack level → Text shadow should be painted below text in adjacent elements at the same stacking level
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•