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

Move some methods from RawLayoutElementHelpers to LayoutElementHelpers. #7867

Merged
merged 1 commit into from Oct 5, 2015

Conversation

@Ms2ger
Copy link
Contributor

Ms2ger commented Oct 5, 2015

This is part of a long-term plan to ensure layout never has access to
unwrapped pointers to DOM objects. The remaining methods on the
RawLayoutElementHelpers trait are harder to move, because of the lifetimes in
their signatures.

Review on Reviewable

This is part of a long-term plan to ensure layout never has access to
unwrapped pointers to DOM objects. The remaining methods on the
RawLayoutElementHelpers trait are harder to move, because of the lifetimes in
their signatures.
@highfive
Copy link

highfive commented Oct 5, 2015

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify layout code, but no reftests are modified. Please consider adding a reftest!
@nox
Copy link
Member

nox commented Oct 5, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Oct 5, 2015

📌 Commit 1552022 has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented Oct 5, 2015

Testing commit 1552022 with merge 81d71fa...

bors-servo pushed a commit that referenced this pull request Oct 5, 2015
Move some methods from RawLayoutElementHelpers to LayoutElementHelpers.

This is part of a long-term plan to ensure layout never has access to
unwrapped pointers to DOM objects. The remaining methods on the
RawLayoutElementHelpers trait are harder to move, because of the lifetimes in
their signatures.

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

bors-servo commented Oct 5, 2015

💔 Test failed - linux-rel

@Ms2ger
Copy link
Contributor Author

Ms2ger commented Oct 5, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Oct 5, 2015

Testing commit 1552022 with merge a350b21...

bors-servo pushed a commit that referenced this pull request Oct 5, 2015
bors-servo
Move some methods from RawLayoutElementHelpers to LayoutElementHelpers.

This is part of a long-term plan to ensure layout never has access to
unwrapped pointers to DOM objects. The remaining methods on the
RawLayoutElementHelpers trait are harder to move, because of the lifetimes in
their signatures.

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

bors-servo commented Oct 5, 2015

💔 Test failed - android

@Ms2ger
Copy link
Contributor Author

Ms2ger commented Oct 5, 2015

@bors-servo retry

  • infra
@bors-servo
Copy link
Contributor

bors-servo commented Oct 5, 2015

Previous build results for gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only android...

@bors-servo
Copy link
Contributor

bors-servo commented Oct 5, 2015

@bors-servo bors-servo merged commit 1552022 into servo:master Oct 5, 2015
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@Ms2ger Ms2ger deleted the Ms2ger:layoutjs branch Oct 6, 2015
glennw pushed a commit to glennw/servo that referenced this pull request Oct 19, 2015
Fixes servo#7867 (and probably several other iframe bugs).

When collecting layers for children of a pipeline, pass through the current
subpage pipeline recursively. This prevents descendany layers (such as scroll
layers) from being collected and re-created on the subsequent paint.
bors-servo pushed a commit that referenced this pull request Oct 19, 2015
Fix iframes flickering on mouse move.

Fixes #7867 (and probably several other iframe bugs).

When collecting layers for children of a pipeline, pass through the current
subpage pipeline recursively. This prevents descendant layers (such as scroll
layers) from being collected and re-created on the subsequent paint.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8089)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this pull request Oct 19, 2015
Fix iframes flickering on mouse move.

Fixes #7867 (and probably several other iframe bugs).

When collecting layers for children of a pipeline, pass through the current
subpage pipeline recursively. This prevents descendant layers (such as scroll
layers) from being collected and re-created on the subsequent paint.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8089)
<!-- Reviewable:end -->
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

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