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

Flexbox: Link to containing block not established; perhaps you forgot to call `set_absolute_descendants` #7317

Closed
paulrouget opened this issue Aug 22, 2015 · 6 comments

Comments

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Aug 22, 2015

thread 'LayoutWorker worker 3/3' panicked at 'Link to containing block not established; perhaps you forgot to call `set_absolute_descendants`?', /Users/paul/github/servo/components/layout/flow.rs:1411
<div style="display:flex;position:absolute">
  abc
</div>

Requires #7331.

@paulrouget
Copy link
Contributor Author

@paulrouget paulrouget commented Aug 22, 2015

Happens when position:absolute/relative is used inside a flex element.

@pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Aug 22, 2015

Should be fairly easy to fix; the probable fix is right in the error message :)

@aidanhs
Copy link
Contributor

@aidanhs aidanhs commented Sep 14, 2015

Can't reproduce with provided testcase, but http://maps.google.com in release mode does do it.
(UK gmaps crashes servo with a different error in dev mode).

@jdm
Copy link
Member

@jdm jdm commented Sep 25, 2015

@aidanhs: You likely need to run with --pref layout.flex.enabled to reproduce the crash.

@shinglyu
Copy link
Member

@shinglyu shinglyu commented May 10, 2016

I can't reproduce the crash by running ./mach run -d --pref layout.flex.enabled --pref layout.flex-direction.enabled, also tried --release. Is this solved by some previous patch?

@jdm
Copy link
Member

@jdm jdm commented May 10, 2016

Seems likely!

@jdm jdm closed this May 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.