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)
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
Comment 1•8 years ago
|
||
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)
Updated•8 years ago
|
OS: Unspecified → Windows 10
Hardware: Unspecified → x86
| Reporter | ||
Comment 2•8 years ago
|
||
Installed version 63.0a1, the problem remained
Flags: needinfo?(wandering_spirit)
| Reporter | ||
Comment 3•8 years ago
|
||
My UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Comment 4•8 years ago
|
||
| Reporter | ||
Comment 5•8 years ago
|
||
That's right, I still have the same
| Reporter | ||
Comment 6•8 years ago
|
||
You have also with fixed became absolute
Comment 7•8 years ago
|
||
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
| Reporter | ||
Comment 8•8 years ago
|
||
Flags: needinfo?(wandering_spirit)
| Reporter | ||
Comment 9•8 years ago
|
||
It shows position fixed, but behaves as if it were position absolute (image attached)
| Reporter | ||
Comment 10•8 years ago
|
||
In Your example, it behaves as position absolute
Comment 11•8 years ago
|
||
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)
Comment 12•8 years ago
|
||
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
Updated•8 years ago
|
Priority: -- → P3
Updated•8 years ago
|
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.
Description
•