diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-08-03 14:53:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-03 14:53:30 -0500 |
commit | 7a7bdf51adc3c5051f93c8044797c8fcaf89953c (patch) | |
tree | ae84bf2a6626f5acf58520cd341d8da7f0f476ef /python/servo/package_commands.py | |
parent | ef0f728f1eacb77d4ed82e35891bd77f0c882ff7 (diff) | |
parent | 04f536957728948b59fc3269f45cf469f7771c63 (diff) | |
download | servo-7a7bdf51adc3c5051f93c8044797c8fcaf89953c.tar.gz servo-7a7bdf51adc3c5051f93c8044797c8fcaf89953c.zip |
Auto merge of #11726 - sjmelia:7720_add_target_selector, r=mbrubeck
Issue 7720: Add target selector and update when scrolling to fragment
<!-- Please describe your changes on the following line: -->
Add the target pseudo selector and set/unset it during scrolling to fragment. This change is not complete as no repaint is triggered after the selector is added - it will only take effect after a repaint is triggered by e.g. hovering over another element. (See manual test)
I would like some help because i'm not sure how to resolve this; I can only think to call window.reflow.
I added a manual test case, don't think this counts really! I think the applicable automated test is in /tests/wpt/web-platform-tests/dom/nodes/Element-matches.html but it currently fails, I think due to the above.
---
<!-- 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 #7720 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11726)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo/package_commands.py')
0 files changed, 0 insertions, 0 deletions