Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Span containing absolute div positioned incorrectly #19893

Open
jdm opened this issue Jan 29, 2018 · 2 comments
Open

Span containing absolute div positioned incorrectly #19893

jdm opened this issue Jan 29, 2018 · 2 comments

Comments

@jdm
Copy link
Member

jdm commented Jan 29, 2018

<style>
  #infront { top: 0; left: 0; position: absolute; }
</style>
<span>small span
<div id="infront">big div</div>

Firefox:
screen shot 2018-01-29 at 7 55 40 am

Servo:
screen shot 2018-01-29 at 7 55 45 am

@wusyong
Copy link
Contributor

wusyong commented Apr 24, 2022

Looks like pcwalton mentioned this in a FIXME comment:

// FIXME(pcwalton): This will get the absolute containing blocks inside `...` wrong in the

@wusyong
Copy link
Contributor

wusyong commented May 2, 2022

I think I need some help or pointer because we really can't just remove the arms of match.
Example like this, should remain the same.

Interestingly, layout 2020 can solve this issue. Perhaps there are something wrong when constructing flows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants