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: Share code between Gecko and Servo for DOM APIs. #18863

Merged
merged 2 commits into from Oct 13, 2017

Conversation

@emilio
Copy link
Member

emilio commented Oct 13, 2017

This change is Reviewable

@highfive
Copy link

highfive commented Oct 13, 2017

Heads up! This PR modifies the following files:

  • @bholley: components/style/dom_apis.rs, components/style/lib.rs, ports/geckolib/glue.rs
  • @canaltinova: components/style/dom_apis.rs, components/style/lib.rs
  • @fitzgen: components/script/dom/element.rs
  • @KiChjang: components/script/dom/element.rs
@highfive
Copy link

highfive commented Oct 13, 2017

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify style and script code, but no tests are modified. Please consider adding a test!
@emilio emilio force-pushed the emilio:dom-api-dont-repeat branch 2 times, most recently from d5d7476 to 8444e5d Oct 13, 2017
Ok(matches_selector_list(&selectors, &root, &mut ctx))
}
}
use style::dom_apis;

This comment has been minimized.

@jdm

jdm Oct 13, 2017

Member

Move this to the top-level.

Ok(None)
}
}
use style::dom_apis;

This comment has been minimized.

@jdm

jdm Oct 13, 2017

Member

Top-level.

Ok(selectors) => selectors,
};

let self_root = DomRoot::from_ref(self);

This comment has been minimized.

@jdm

jdm Oct 13, 2017

Member

Unused.

@jdm
Copy link
Member

jdm commented Oct 13, 2017

r=me with those changes.

emilio added 2 commits Oct 13, 2017
@emilio emilio force-pushed the emilio:dom-api-dont-repeat branch from 8444e5d to f64f8b8 Oct 13, 2017
@emilio emilio dismissed jdm’s stale review Oct 13, 2017

Changes made.

@emilio
Copy link
Member Author

emilio commented Oct 13, 2017

@bors-servo r=jdm

@bors-servo
Copy link
Contributor

bors-servo commented Oct 13, 2017

📌 Commit f64f8b8 has been approved by jdm

@highfive highfive assigned jdm and unassigned pcwalton Oct 13, 2017
@bors-servo
Copy link
Contributor

bors-servo commented Oct 13, 2017

Testing commit f64f8b8 with merge ba77ffe...

bors-servo added a commit that referenced this pull request Oct 13, 2017
style: Share code between Gecko and Servo for DOM APIs.

<!-- 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/18863)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 13, 2017

@bors-servo bors-servo merged commit f64f8b8 into servo:master Oct 13, 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 bors-servo mentioned this pull request Oct 13, 2017
3 of 3 tasks complete
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.