Open Bug 1625698 Opened 4 years ago Updated 2 years ago

Text rotation not working properly

Categories

(Core :: Web Painting, defect, P2)

76 Branch
defect

Tracking

()

Tracking Status
firefox-esr78 --- wontfix
firefox84 --- wontfix
firefox85 --- wontfix
firefox86 --- fix-optional

People

(Reporter: rontilby, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

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

Steps to reproduce:

Load https://graphics.reuters.com/HEALTH-CORONAVIRUS-UNKNOWNS/0100B5M447T/index.html

Actual results:

The words "knowns" shows normally, but when the text rotates, both "knowns" and "unknowns" show on top of each other.

This problem shows with current nightly:76.0a1 (2020-03-28) (64-bit) and current production 74.0 builds on Windows 10.
The problem does NOT occur on google chrome version 80.

Expected results:

The words "knowns" and "unknowns" should alternately show with rotation animation.

Status: UNCONFIRMED → NEW
Component: Untriaged → Web Painting
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
Regressed by: 968555
Has Regression Range: --- → yes

The priority flag is not set for this bug.
:mattwoodrow, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(matt.woodrow)

So, strictly speaking, this is rendered correctly as the spec requires, and other browsers get it wrong.

backface-visibility doesn't create a stacking context, and hides the backface of that element. Thus the backface of 'flip-card-back' is hidden, but the backface of 'headline-text' is not.

I'm working to get the spec updated to reflect what other browsers do, and then we'll change firefox to match their behaviour.

Flags: needinfo?(matt.woodrow)
Priority: -- → P2

The short term fix is to make your elements with backface-visibility:hidden also a stacking context in some other way (like transform:translate(0)).

I was able to reproduce this issue on latest Nightly version 86.0a1 (2021-01-13) (64-bit), Beta version 85.0b8 (64-bit) and Release version 84.0.2 on Windows 10. I will change flags accordingly.

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

Attachment

General

Created:
Updated:
Size: