Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generation for "ahem-mismatch.html" #8396

Merged
merged 2 commits into from
Nov 22, 2017

Conversation

rwaldron
Copy link
Contributor

@rwaldron rwaldron commented Nov 21, 2017

No description provided.

@rwaldron rwaldron changed the title Add generation for "../ahem-mismatch.html" Add generation for "ahem-mismatch.html" Nov 21, 2017
}""".strip()
style_table_no_font = """
table {
font: 15px/1;
Copy link
Member

@gsnedders gsnedders Nov 21, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This declaration is invalid (you can't omit the font-family); we should probably just have font-size: 15px; line-height: 1; in this case.

@w3c-bots
Copy link

w3c-bots commented Nov 21, 2017

Build PASSED

Started: 2017-11-22 16:44:18
Finished: 2017-11-22 16:48:26

View more information about this build on:


return "".join(rv)
def build_link(is_mismatch):
return ('<link rel="%s" href="ahem-ref.html">' %("mismatch" if is_mismatch else "match"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest having <link rel=match href=ahem-ref.html> in ahem.html, and <link rel=mismatch href=ahem-notref.html> in ahem-ref.html. What we're really trying to assert here with the mismatch ref is that ahem-ref.html is rendered correctly, rather than actually creating a new test per se.

}
table {
font-size: 15px;
line-height: 1;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gsnedders fixup here, per review.

<!doctype html>
<title>Ahem checker</title>
<link rel="mismatch" href="ahem-notref.html">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gsnedders fixup here, per review.

@gsnedders gsnedders merged commit 0ae7760 into web-platform-tests:master Nov 22, 2017
@gsnedders
Copy link
Member

Blergh, doing the squash merge I forgot to change the summary line away from the title of the PR, so it refers to a non-existent file. Oh well. The changes look good, at least! Thanks!

@rwaldron
Copy link
Contributor Author

@gsnedders that's no problem—thanks again for the reviews!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants