Open
Bug 1393554
Opened 8 years ago
Updated 3 years ago
backface-visibility doesn't apply to the text in this testcase, only to the border
Categories
(Core :: Web Painting, enhancement, P3)
Core
Web Painting
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | affected |
People
(Reporter: mstange, Unassigned)
References
Details
Attachments
(3 files, 1 obsolete file)
In this testcase, Chrome and Safari only show a red border, but we also show the word "Text" (mirrored).
The text "Text" is inside an element with backface-visibility:hidden whose parent element is a preserve-3d element which is rotated by 180 degrees around the Y axis.
We correctly hide the blue border of the backface-visibilite:hidden element, but not its text.
Comment 1•8 years ago
|
||
So it looks like the reason for this is that the text belongs to an anonymous nsTextNode, not the block with the backface-visibility:hidden style.
backface-visibility doesn't create a stacking context, nor is it inherited, so it seems somewhat correct for us to determine that the text shouldn't be affected by that style.
Clearly blink/WebKit are doing something different here, so maybe we should just try match that and get the spec to fit.
Comment 2•8 years ago
|
||
Here's another test case where we have different behaviour from Chrome and Safari
Comment 3•8 years ago
|
||
And while we're at it here's a manifestation of the fundamental compositing bug using backface-hidden.
Comment 4•8 years ago
|
||
Here's a simplified version of the last one
Assignee: nobody → jmuizelaar
Attachment #8901336 -
Attachment is obsolete: true
| Reporter | ||
Updated•8 years ago
|
Assignee: jmuizelaar → nobody
Updated•8 years ago
|
Priority: -- → P3
Blocks: 1494429
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•