diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-05-18 11:40:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-18 11:40:51 -0500 |
commit | 2fd7f4f393874d2a2a8285e18f0288d18554454f (patch) | |
tree | 0024d5c4a67f1f1b716eebbe0abe39058391b151 /components/script | |
parent | 9d887a23756c9b646394831a073a3a0cbfc07e15 (diff) | |
parent | b9a0737946f809444037f8dc168508bf24bba889 (diff) | |
download | servo-2fd7f4f393874d2a2a8285e18f0288d18554454f.tar.gz servo-2fd7f4f393874d2a2a8285e18f0288d18554454f.zip |
Auto merge of #16934 - bzbarsky:check-snapshot-id-class-flags, r=emilio
Check snapshot id/class flags before looking for those attributes.
<!-- Please describe your changes on the following line: -->
Most elements don't have classes or IDs.
---
<!-- 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=1365659
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they are just performance optimization
<!-- 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/16934)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script')
0 files changed, 0 insertions, 0 deletions