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

style: Simplify ::-moz-fieldset-content special-casing. #19661

Merged
merged 1 commit into from Dec 30, 2017

Conversation

@emilio
Copy link
Member

emilio commented Dec 30, 2017

The style adjuster knows about the pseudo, so there's no reason to thread that
info down.

There are more simplifications that can be done in followups, cleaning a bit the
cascade flags too, those will come later.


This change is Reviewable

The style adjuster knows about the pseudo, so there's no reason to thread that
info down.

There are more simplifications that can be done in followups, cleaning a bit the
cascade flags too, those will come later.
@highfive
Copy link

highfive commented Dec 30, 2017

Heads up! This PR modifies the following files:

  • @bholley: ports/geckolib/glue.rs, components/style/style_adjuster.rs, components/style/properties/properties.mako.rs
  • @canaltinova: components/style/style_adjuster.rs, components/style/properties/properties.mako.rs
@highfive
Copy link

highfive commented Dec 30, 2017

warning Warning warning

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

emilio commented Dec 30, 2017

@highfive highfive assigned upsuper and unassigned KiChjang Dec 30, 2017
@upsuper
Copy link
Member

upsuper commented Dec 30, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Dec 30, 2017

📌 Commit 563da3a has been approved by upsuper

@bors-servo
Copy link
Contributor

bors-servo commented Dec 30, 2017

Testing commit 563da3a with merge fb569f9...

bors-servo added a commit that referenced this pull request Dec 30, 2017
style: Simplify ::-moz-fieldset-content special-casing.

The style adjuster knows about the pseudo, so there's no reason to thread that
info down.

There are more simplifications that can be done in followups, cleaning a bit the
cascade flags too, those will come later.

<!-- 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/19661)
<!-- Reviewable:end -->
@upsuper
Copy link
Member

upsuper commented Dec 30, 2017

(Isn't it supposed to still be in holiday...?)

emilio added a commit to emilio/servo that referenced this pull request Dec 30, 2017
On top of servo#19661.

The NAC condition is pointless because NAC don't match author rules unless they
are a pseudo-element too.
@bors-servo
Copy link
Contributor

bors-servo commented Dec 30, 2017

💔 Test failed - linux-rel-css

@emilio
Copy link
Member Author

emilio commented Dec 30, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Dec 30, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Dec 30, 2017

@bors-servo bors-servo merged commit 563da3a into servo:master Dec 30, 2017
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
bors-servo added a commit that referenced this pull request Dec 31, 2017
…psuper

style: Simplify "prohibit display: contents" adjustment.

On top of #19661.

The NAC condition is pointless because NAC don't match author rules unless they
are a pseudo-element too.

<!-- 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/19662)
<!-- Reviewable:end -->
emilio added a commit to emilio/servo that referenced this pull request Dec 31, 2017
On top of servo#19661.

The NAC condition is pointless because NAC don't match author rules unless they
are a pseudo-element too.
bors-servo added a commit that referenced this pull request Dec 31, 2017
…psuper

style: Simplify "prohibit display: contents" adjustment.

On top of #19661.

The NAC condition is pointless because NAC don't match author rules unless they
are a pseudo-element too.

<!-- 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/19662)
<!-- 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.