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

Respect the ignore for favicons #69

Merged
merged 2 commits into from
Aug 18, 2014
Merged

Respect the ignore for favicons #69

merged 2 commits into from
Aug 18, 2014

Conversation

doktorbro
Copy link

If the user says “ignore this element”, we must obey. An ignored favicon doesn’t exist for us, so this test should fail, no matter how other attributes are.

@gjtorikian
Copy link
Owner

Isn't this the opposite of what we want? If the favicon is broken, but has data-proofer-ignore, the test should pass.

@doktorbro
Copy link
Author

No. The fixture is:

<html>
<head>
  <link rel="icon" href="asdadaskdalsdk.png" data-proofer-ignore>
</head>
<body>
</body>
</html>

For Proofer it should be the same as:

<html>
<head>
</head>
<body>
</body>
</html>

No favicon here. The test should fail.

@doktorbro
Copy link
Author

The favicon check make sure that at least one favicon is specified. The validation of link’s href attribute is not a part of the favicon checker. This is the job for the link checker.

Further this is why the spec “fails for broken favicon” is not necessary for the favicon spec.

gjtorikian added a commit that referenced this pull request Aug 18, 2014
Respect the ignore for favicons
@gjtorikian gjtorikian merged commit 0648533 into gjtorikian:master Aug 18, 2014
@doktorbro doktorbro deleted the ignored-favicon branch August 18, 2014 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants