Open Bug 1684290 Opened 4 years ago Updated 4 years ago

The position of <label> becomes wrong after executing the js code due to CSS "writing-mode: tb-rl".

Categories

(Core :: Layout, defect)

Firefox 85
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: prada960808, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(4 files)

Attached file testcase1.html

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

Steps to reproduce:

I leverage metamorphic testing to find the rendering bug in Firefox.
I compare two rendered pages from the original DOM tree and deleted & restored DOM tree for metamorphic testing.

  1. open attached html file on Firefox 85.
  2. run following javascript code to change and restore CSS styles.
    del_css(71);
    del_css_restore();

Actual results:

The position of <label> becomes wrong after executing the js code due to CSS "writing-mode: tb-rl".

Expected results:

The position of <label> should be same.

Attached image before.png
Attached image after.png
Attached image repro.png
Component: Untriaged → Layout
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64

The testcase here is kinda weird but I'm pretty sure this is a version of the issues with intrinsic-sizing of orthogonal flows, as in bug 1310551, bug 1311208, bug 1332555, etc.

Marking as dependent on bug 1332555 for now.

Severity: -- → S4
Depends on: 1332555
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: