diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-02-08 06:57:48 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-02-08 06:57:48 +0530 |
commit | 4c4df37a128d2848f13fc2e5ebd4d69a4db8c483 (patch) | |
tree | d2c56ece727684fb441361903de78e9b80197304 /components/script/dom/servohtmlparser.rs | |
parent | 28ecb0bba3fa395ed56bb2448a21e02c3ff88c8b (diff) | |
parent | 68d512c1eaa581654780f2c17ab9398660b3907c (diff) | |
download | servo-4c4df37a128d2848f13fc2e5ebd4d69a4db8c483.tar.gz servo-4c4df37a128d2848f13fc2e5ebd4d69a4db8c483.zip |
Auto merge of #9028 - iszak:issue-8842, r=SimonSapin
The interface in #8210 allows us to create custom instances of CSS parse error reporters. We should write a test in tests/unit/style/stylesheets.rs that tries to parse invalid CSS and have a custom reporter that asserts the errors that are reported.
Code: tests/unit/style/stylesheets.rs, http://doc.servo.org/style_traits/trait.ParseErrorReporter.html
Fixes #8842
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9028)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/servohtmlparser.rs')
0 files changed, 0 insertions, 0 deletions