Closed
Bug 1244872
Opened 10 years ago
Closed 10 years ago
position: fixed duplicates an element
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: csimmonswork, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
Steps to reproduce:
http://codepen.io/anon/pen/qbyqEJ?editors=1100
Actual results:
http://codepen.io/anon/pen/qbyqEJ?editors=1100
I suppose the way you guys are implementing position: fixed is to create a shadow element to fill the space of the moved element (kinda like what stickyFill does).
Seems like a really hacky way to implement position: fixed and has some weird side effects like the one I just encountered.
Expected results:
It shouldn't have magically created a <div> and put it inside of the only <div> on the page.
Comment 1•10 years ago
|
||
If you mean that div element is duplicated, there is actually 2 divs in the HTML source.
> <div>
> <img src="http://placekitten.com/404/404">
> <div>
2nd one should be </div> to close it.
| Reporter | ||
Comment 2•10 years ago
|
||
lol, whoops!! My bad guys. Can someone close this.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•