Skip to content

Move some methods from RawLayoutElementHelpers to LayoutElementHelpers. - #7867

Merged
bors-servo merged 1 commit into
servo:masterfrom
Ms2ger:layoutjs
Oct 5, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
Ms2ger:layoutjs

Conversation

@Ms2ger

@Ms2ger Ms2ger commented Oct 5, 2015

Copy link
Copy Markdown
Contributor

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 highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 5, 2015
@highfive

highfive commented Oct 5, 2015

Copy link
Copy Markdown

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 nox self-assigned this Oct 5, 2015
@nox nox added A-layout/uncategorized A-content/dom Interacting with the DOM from web content I-refactor No impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring. labels Oct 5, 2015
@nox

nox commented Oct 5, 2015

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 1552022 has been approved by nox

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 1552022 with merge 81d71fa...

@highfive highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Oct 5, 2015
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 -->
@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 5, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Oct 5, 2015
@Ms2ger

Ms2ger commented Oct 5, 2015

Copy link
Copy Markdown
Contributor Author

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 1552022 with merge a350b21...

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 -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Oct 5, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - android

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Oct 5, 2015
@Ms2ger

Ms2ger commented Oct 5, 2015

Copy link
Copy Markdown
Contributor Author

@bors-servo retry

  • infra

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ 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
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit 1552022 into servo:master Oct 5, 2015
@Ms2ger
Ms2ger deleted the layoutjs branch October 6, 2015 15:48
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 -->
@SimonSapin SimonSapin removed the S-tests-failed The changes caused existing tests to fail. label Jan 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-content/dom Interacting with the DOM from web content A-layout/uncategorized I-refactor No impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants