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

layout: Simplify the pseudo-element setup. #19769

Merged
merged 6 commits into from Jan 15, 2018

Conversation

@emilio
Copy link
Member

emilio commented Jan 14, 2018

It's kind of a mess. See individual commits for details.


This change is Reviewable

emilio added 4 commits Jan 14, 2018
…o-element.

We only override it when there's no "open" attribute. But a display: none
pseudo-element is the same as no pseudo-element at all.

This should get the same behavior when iterating children in dom_wrapper.rs
Everyone passes None now.
Everyone uses () now.
…ng::fragment_type.
@highfive
Copy link

highfive commented Jan 14, 2018

warning Warning warning

  • These commits modify layout code, but no tests are modified. Please consider adding a test!
@emilio
Copy link
Member Author

emilio commented Jan 14, 2018

@emilio
Copy link
Member Author

emilio commented Jan 14, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Jan 14, 2018

Trying commit 03208ba with merge f1f03fc...

bors-servo added a commit that referenced this pull request Jan 14, 2018
layout: Simplify the pseudo-element setup.

It's kind of a mess. See individual commits for details.
@highfive highfive assigned mbrubeck and unassigned glennw Jan 14, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Jan 14, 2018

💔 Test failed - linux-rel-wpt

@emilio
Copy link
Member Author

emilio commented Jan 15, 2018

Those two failures are due to the last commit, but it's a pre-existing bug (#19771).

Will undo it for now, leaving a comment.

emilio added 2 commits Jan 15, 2018
@emilio emilio force-pushed the emilio:simplify-layout-construct branch from 03208ba to 95edda9 Jan 15, 2018
@emilio
Copy link
Member Author

emilio commented Jan 15, 2018

The last commit that caught that was emilio@03208ba, fwiw.

@nox
Copy link
Member

nox commented Jan 15, 2018

@bors-servo r+

Neat.

@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2018

📌 Commit 95edda9 has been approved by nox

@highfive highfive assigned nox and unassigned mbrubeck Jan 15, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2018

Testing commit 95edda9 with merge 032fd38...

bors-servo added a commit that referenced this pull request Jan 15, 2018
layout: Simplify the pseudo-element setup.

It's kind of a mess. See individual commits for details.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19769)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2018

@bors-servo bors-servo merged commit 95edda9 into servo:master Jan 15, 2018
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
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.