The <dialog> is rendered on the wrong position when using The CSS "filter: brightness()".
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: prada960808, Unassigned)
Details
Attachments
(4 files, 1 obsolete file)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 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.
- open attached html file on Firefox 85.
- run following javascript code to change and restore the tagname of <dialog>.
tag_change(4,'label');
tag_change(4, 'dialog');
Actual results:
The position of <dialog> becomes wrong after executing the js code due to CSS "filter: brightness()".
Expected results:
The position of <dialog> should be same.
| Reporter | ||
Comment 1•5 years ago
|
||
| Reporter | ||
Comment 2•5 years ago
|
||
| Reporter | ||
Comment 3•5 years ago
|
||
| Reporter | ||
Comment 4•5 years ago
|
||
| Reporter | ||
Comment 5•5 years ago
|
||
The "testcase1.html" is wrong.
Please test with "new_testcase.html".
| Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 6•5 years ago
|
||
This is a known bug with absolutely positioned kids of relatively-positioned ancestors (for this case, filter: brightness() behaves as position: relative on the span).
Comment 7•4 months ago
|
||
Bug 489100 should fix the position of absolutely positioned kids with inline element as an absolute containing block.
Description
•