Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIssue #12421: tidy should also check .html files #12576
Conversation
highfive
commented
Jul 24, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Jul 24, 2016
| @@ -1 +1 @@ | |||
|
|
|||
This comment has been minimized.
This comment has been minimized.
notriddle
Jul 24, 2016
•
Contributor
Just to be clear, this one's trailing space is not deliberate, right? I can't tell...
This comment has been minimized.
This comment has been minimized.
simartin
Jul 25, 2016
Author
Contributor
I'm not sure; it was as such when the file was created via c6ab60d. Will try to find out.
This comment has been minimized.
This comment has been minimized.
jdm
Aug 3, 2016
Member
Correction, it was created in a322542 and the trailing space existed then, too. It's fine to remove it at this point.
| @@ -1 +1 @@ | |||
| <html><link rel='match' href='pre_with_tab_ref.html'><body><pre> tab</pre></body></html> | |||
This comment has been minimized.
This comment has been minimized.
notriddle
Jul 24, 2016
•
Contributor
This one should be a tab, not spaces. That's the whole point of the test.
This comment has been minimized.
This comment has been minimized.
simartin
Jul 25, 2016
Author
Contributor
Yes indeed, thanks! Will correct in the next iteration of the patch
|
Why can't we run our WPT lint in those files? |
|
New patch version addressing all comments but the one about tests/html/tiny_test.html, that I still need to look at |
|
@bors-servo: r+ |
|
|
Issue #12421: tidy should also check .html files ./mach test-tidy should also check .html files, to avoid patches containing badly formatted new test cases go unnoticed --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #12421 - [X] There are tests for these changes (./mach test-tidy failed without the changes to .hrml files) <!-- 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/12576) <!-- Reviewable:end -->
|
|
|
Fails tidy:
|
|
|
|
@simartin Can you fix the merge conflict? Next time, we'll ensure that this is prioritized for merging :) |
|
@bors-servo p=5 |
|
I'll rebase tomorrow and update the PR |
|
Good to know :) |
|
Rebased and new issues in tests/html/test_target_pseudoselector.html, tests/wpt/mozilla/tests/css/box_shadow_blur_fixed_ref.html and tests/wpt/mozilla/tests/css/box_shadow_blur_fixed.html fixed |
|
@bors-servo: r+ |
|
|
Issue #12421: tidy should also check .html files ./mach test-tidy should also check .html files, to avoid patches containing badly formatted new test cases go unnoticed --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #12421 - [X] There are tests for these changes (./mach test-tidy failed without the changes to .hrml files) <!-- 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/12576) <!-- Reviewable:end -->
|
|
highfive
commented
Aug 9, 2016
|
|
@bors-servo retry |
Issue #12421: tidy should also check .html files ./mach test-tidy should also check .html files, to avoid patches containing badly formatted new test cases go unnoticed --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #12421 - [X] There are tests for these changes (./mach test-tidy failed without the changes to .hrml files) <!-- 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/12576) <!-- Reviewable:end -->
|
|
simartin commentedJul 24, 2016
•
edited by jdm
./mach test-tidy should also check .html files, to avoid patches containing badly formatted new test cases go unnoticed
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is