mirror of
https://github.com/servo/servo
synced 2026-05-14 19:06:31 +02:00
Use cssparser's new_with_line_number_offset cssparser provides a way to set the initial line number on a ParserInput. This patch changes servo to use this facility, rather than reimplement the same functionality itself. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #_N/A_ (github issue number if applicable). - [ ] There are tests for these changes OR - [x] These changes do not require tests because pre-existing tests cover this change. <!-- 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/18276) <!-- Reviewable:end -->