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

Rename AbsolutelyPositionedBox::layout to AbsolutelyPositionedBox::to_hoisted #25864

Merged
merged 1 commit into from Feb 28, 2020

Conversation

@mrobinson
Copy link
Member

mrobinson commented Feb 28, 2020

This method doesn't actually do any layout, but converts this block to a
HoistedAbsolutelyPositionedBox which is hoisted and then laid-out with
its containing block later. This makes the code a little easier to read.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #___ (GitHub issue number if applicable)
  • There are tests for these changes OR
  • These changes do not require tests because it does not change behavior.
…_hoisted

This method doesn't actually do any layout, but converts this block to a
HoistedAbsolutelyPositionedBox which is hoisted and then laid-out with
its containing block later. This makes the code a little easier to read.
@mrobinson mrobinson requested a review from SimonSapin Feb 28, 2020
@mrobinson mrobinson changed the title Rename AbsolutelyPositionedBox::layout to AbsolutelyPositionedBox::to… Rename AbsolutelyPositionedBox::layout to AbsolutelyPositionedBox::to_hoisted Feb 28, 2020
@jdm
Copy link
Member

jdm commented Feb 28, 2020

@bors-servo r+
Looks like a reasonable improvement!

@bors-servo
Copy link
Contributor

bors-servo commented Feb 28, 2020

📌 Commit c20c468 has been approved by jdm

bors-servo added a commit that referenced this pull request Feb 28, 2020
Rename AbsolutelyPositionedBox::layout to AbsolutelyPositionedBox::to_hoisted

This method doesn't actually do any layout, but converts this block to a
HoistedAbsolutelyPositionedBox which is hoisted and then laid-out with
its containing block later. This makes the code a little easier to read.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it does not change behavior.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 28, 2020

Testing commit c20c468 with merge b1b3cfb...

@bors-servo
Copy link
Contributor

bors-servo commented Feb 28, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Feb 28, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Feb 28, 2020

Testing commit c20c468 with merge 1fa0863...

@bors-servo
Copy link
Contributor

bors-servo commented Feb 28, 2020

☀️ Test successful - status-taskcluster
Approved by: jdm
Pushing 1fa0863 to master...

@bors-servo bors-servo merged commit 1fa0863 into servo:master Feb 28, 2020
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
@mrobinson mrobinson deleted the mrobinson:rename-layout branch Mar 24, 2020
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

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