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

Remove safari pinned tab favicon to fix HTML validation issue #465

Merged
merged 2 commits into from Jan 23, 2017

Conversation

Stanton
Copy link
Member

@Stanton Stanton commented Jan 19, 2017

The color attribute on the <link> tag isn’t valid and throws an error in the W3C validator. This has been an ongoing discussion with the validator team and the WhatWG (For over a year).

See:

Until this is resolved I see no alternative but to remove the safari pinned tab icon, which is made easier given the low usage statistics we have for Safari.

Error: Attribute color not allowed on element link at this point.
From line 27, column 1; to line 27, column 108
st.json">↩<link rel="mask-icon" href="/jadu/bundles/pulsar/images/favicons/cms/safari-pinned-tab.svg" color="#15a6d1">↩<link
Attributes for element link:
Global attributes
href — Address of the hyperlink
crossorigin — How the element handles crossorigin requests
rel — Relationship of this document (or subsection/topic) to the destination resource
rev — Reverse link relationship of the destination resource to this document (or subsection/topic)
media — Applicable media
nonce — Cryptographic nonce used in Content Security Policy checks [CSP3]
hreflang — Language of the linked resource
type — Hint for the type of the referenced resource
sizes — Sizes of the icons (for rel="icon")
Also, the title attribute has special semantics on this element: Title of the link; alternative style sheet set name.
  • Stop grunt realFavicon task from generating Safari pinned tab favicons
  • Remove existing favicon images
  • Remove references to removed files

The color attribute on the <link> tag isn’t valid and throws an error in the W3C validator. This has been an ongoing discussion with the validator team and the WhatWG (For over a year).

See:
* validator/validator#174
* whatwg/html#110

Until this is resolved I see no alternative but to remove the safari pinned tab icon, which is made easier given the low usage statistics we have for Safari.

```Error: Attribute color not allowed on element link at this point.
From line 27, column 1; to line 27, column 108
st.json">↩<link rel="mask-icon" href="/jadu/bundles/pulsar/images/favicons/cms/safari-pinned-tab.svg" color="#15a6d1">↩<link
Attributes for element link:
Global attributes
href — Address of the hyperlink
crossorigin — How the element handles crossorigin requests
rel — Relationship of this document (or subsection/topic) to the destination resource
rev — Reverse link relationship of the destination resource to this document (or subsection/topic)
media — Applicable media
nonce — Cryptographic nonce used in Content Security Policy checks [CSP3]
hreflang — Language of the linked resource
type — Hint for the type of the referenced resource
sizes — Sizes of the icons (for rel="icon")
Also, the title attribute has special semantics on this element: Title of the link; alternative style sheet set name.```
@Stanton Stanton added the bug label Jan 19, 2017
@Stanton Stanton self-assigned this Jan 19, 2017
@codecov-io
Copy link

codecov-io commented Jan 19, 2017

Current coverage is 98.29% (diff: 100%)

Merging #465 into develop will not change coverage

@@            develop       #465   diff @@
==========================================
  Files            15         15          
  Lines           585        585          
  Methods          29         29          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            575        575          
  Misses           10         10          
  Partials          0          0          

Powered by Codecov. Last update b0b2ce3...2c1eecd

@Stanton Stanton merged commit cab72c4 into develop Jan 23, 2017
@Stanton Stanton deleted the remove-safari-favicon branch January 23, 2017 12:02
@nvasileiadis nvasileiadis modified the milestone: 6.15.x Mar 6, 2017
sideshowbarker added a commit to validator/validator that referenced this pull request Mar 26, 2017
@sideshowbarker
Copy link

The HTML checker (validator) now allows this. https://validator.w3.org/nu/ and https://checker.html5.org/

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.

None yet

5 participants