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

Handle cases where the layout root is None. Fixes #6375. #7557

Merged
merged 1 commit into from Sep 9, 2015

Conversation

@glennw
Copy link
Member

glennw commented Sep 8, 2015

Review on Reviewable

@glennw
Copy link
Member Author

glennw commented Sep 8, 2015

r? @pcwalton

cc @Ms2ger and @jdm

@pcwalton
Copy link
Contributor

pcwalton commented Sep 8, 2015

Yeah, this has come up again and again and I agree that being defensive is the right approach here. I'll look in depth at this patch in an hour or so.

@@ -2963,7 +2963,7 @@ impl ISizeAndMarginsComputer for InlineBlockReplaced {
MaybeAuto::Auto => false,
});

let (mut computed_inline_size,
let (computed_inline_size,

This comment has been minimized.

@pcwalton

pcwalton Sep 8, 2015

Contributor

Just silencing warnings, presumably?

@pcwalton
Copy link
Contributor

pcwalton commented Sep 8, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Sep 8, 2015

📌 Commit a02d28a has been approved by pcwalton

@bors-servo
Copy link
Contributor

bors-servo commented Sep 8, 2015

Testing commit a02d28a with merge 9de35ab...

bors-servo pushed a commit that referenced this pull request Sep 8, 2015
Handle cases where the layout root is None. Fixes #6375.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7557)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Sep 8, 2015

💔 Test failed - linux-rel

@pcwalton
Copy link
Contributor

pcwalton commented Sep 8, 2015


/XMLHttpRequest/timeout-cors-async.htm
--------------------------------------
PASS expected FAIL
@glennw
Copy link
Member Author

glennw commented Sep 8, 2015

@jdm
Copy link
Member

jdm commented Sep 8, 2015

For future reference, #6312 is a much better tracking issue for that intermittent failure.

@bors-servo
Copy link
Contributor

bors-servo commented Sep 9, 2015

Testing commit a02d28a with merge 4221b35...

bors-servo pushed a commit that referenced this pull request Sep 9, 2015
Handle cases where the layout root is None. Fixes #6375.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7557)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Sep 9, 2015

@bors-servo bors-servo merged commit a02d28a into servo:master Sep 9, 2015
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@glennw glennw deleted the glennw:fix-layout-panic branch Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.