Closed Bug 1472648 Opened 8 years ago Closed 8 years ago

When you set parent "filter: grayscale", every child who has a "position: fixed" to become "position: absolute", while a parent to become like "position: relative"

Categories

(Core :: CSS Parsing and Computation, defect, P3)

61 Branch
x86
Windows 10
defect

Tracking

()

RESOLVED DUPLICATE of bug 1423746

People

(Reporter: wandering_spirit, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36 OPR/53.0.2907.99 Steps to reproduce: My code: http://jsfiddle.net/8g2vma3x/2/ <style> .parent { filter: grayscale(100%); height: 1000px; background: #999; padding: 10px; } .child { position: fixed; top: 0; left: 0; width: 100%; background: #777; } </style> <div class="parent"> <div class="child"> !!! Child !!! </div> </div> Actual results: "position: fixed" changed to "position: absolute" Expected results: Not change position
Hi! I cannot reproduce the issue on Windows 10 x64 using the latest Nightly 63.0a1 Build ID:20180705100105 and on the latest Release version 61.0 Build ID: 20180621125625. The position remains set to "position: fixed" regardless on where I open your link. Please update your browser to the latest version and try again.
Flags: needinfo?(wandering_spirit)
OS: Unspecified → Windows 10
Hardware: Unspecified → x86
Installed version 63.0a1, the problem remained
Flags: needinfo?(wandering_spirit)
My UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Attached image position.PNG —
That's right, I still have the same
You have also with fixed became absolute
Hi! I've tried again on Windows 10 x64 using the latest Nightly 63.0a1 Build ID:20180705220111 but had the same result as before, the position remained fixed (see image attached). I don't understand what are you referring to in your last Comment 6 "You have also with fixed became absolute". As you can see in the attached image there is no "position: absolute" value. Could you please retest using safe mode (https://goo.gl/AR5o9d), maybe even a new clean Firefox profile (https://goo.gl/AWo6h8), to eliminate add-ons or custom settings as a possible cause. I am also assigning a component to this issue in order to involve the development team and get an opinion on this.
Component: Untriaged → CSS Parsing and Computation
Flags: needinfo?(wandering_spirit)
Product: Firefox → Core
Attached image View —
Flags: needinfo?(wandering_spirit)
It shows position fixed, but behaves as if it were position absolute (image attached)
In Your example, it behaves as position absolute
Pretty sure this is a dupe related to https://github.com/w3c/fxtf-drafts/issues/11. Markus, you're going to be faster than I finding it, mind duping this to the right thing?
Flags: needinfo?(mstange)
Thank you for clearing this up, now I see exactly what happens. Indeed compared with Chrome the layout is different. I'm marking this issue as New.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(mstange)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: