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

Implement :-moz-anonymous-content in stylo #16877

Merged
merged 2 commits into from May 15, 2017

Conversation

@bzbarsky
Copy link
Contributor

bzbarsky commented May 15, 2017


  • There are tests for these changes OR
  • These changes do not require tests because they're tested by Gecko tests.

This change is Reviewable

bzbarsky added 2 commits May 15, 2017
Otherwise we can have a situation like this:

  <style>
    .notmatching > #foo {}
  </style>
  <span id="foo"></span>
  <span></span>

and the style sharing cache lookup for the second <span> would try to revalidate
against the cached value for the first <span>, but end up failing asserts about
the two elements matching lists of revalidation selectors that have the same
length.
@highfive
Copy link

highfive commented May 15, 2017

Heads up! This PR modifies the following files:

  • @bholley: components/style/gecko/wrapper.rs, components/style/gecko/non_ts_pseudo_class_list.rs, components/style/matching.rs
  • @emilio: components/style/gecko/wrapper.rs, components/style/gecko/non_ts_pseudo_class_list.rs, components/style/matching.rs
@highfive
Copy link

highfive commented May 15, 2017

warning Warning warning

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

emilio commented May 15, 2017

@bors-servo
Copy link
Contributor

bors-servo commented May 15, 2017

📌 Commit c5cd843 has been approved by emilio

@highfive highfive assigned emilio and unassigned KiChjang May 15, 2017
@emilio
Copy link
Member

emilio commented May 15, 2017

@bors-servo delegate+

@bors-servo
Copy link
Contributor

bors-servo commented May 15, 2017

✌️ @bzbarsky can now approve this pull request

@bzbarsky
Copy link
Contributor Author

bzbarsky commented May 15, 2017

@bors-servo r=emilio p=10

@bors-servo
Copy link
Contributor

bors-servo commented May 15, 2017

💡 This pull request was already approved, no need to approve it again.

  • There's another pull request that is currently being tested, blocking this pull request: #16295
@bors-servo
Copy link
Contributor

bors-servo commented May 15, 2017

📌 Commit c5cd843 has been approved by emilio

@bzbarsky bzbarsky changed the title Moz anonymous content Implement :-moz-anonymous-content in stylo May 15, 2017
@bors-servo
Copy link
Contributor

bors-servo commented May 15, 2017

Testing commit c5cd843 with merge a51da06...

bors-servo added a commit that referenced this pull request May 15, 2017
Implement :-moz-anonymous-content in stylo

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1364591

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they're tested by Gecko tests.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

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

bors-servo commented May 15, 2017

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev
Approved by: emilio
Pushing a51da06 to master...

@bors-servo bors-servo merged commit c5cd843 into servo:master May 15, 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
@bzbarsky bzbarsky deleted the bzbarsky:moz-anonymous-content branch May 16, 2017
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.