[ 
https://issues.apache.org/jira/browse/NETBEANS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492175#comment-17492175
 ] 

Riksoft commented on NETBEANS-5369:
-----------------------------------

I don't have at hand v. 12.0 anymore. With 12.6 I can't reproduce the problem 
either. Actually now Netbeans doesn't complain anything about it, whatever I 
write ad a value, even if it's not an allowed value, e.g. rel="hello". Not sure 
is the intended behaviour or a check I disabled because of the bug (I can't 
find which option), or a new problem of this version.

> link rel preconnect marked as bad value
> ---------------------------------------
>
>                 Key: NETBEANS-5369
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5369
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Code Analysis, php - Editor
>    Affects Versions: 12.0
>            Reporter: Riksoft
>            Priority: Minor
>
> A common line of code like this one
> {code:java}
>  <link rel="preconnect" href="https://fonts.gstatic.com";>{code}
>  is marked as "Bad value" with this phrase:
> _Bad value "preconnect" for attribute "rel" on element "link": The string 
> "preconnect" is not a registered keyword._
> _Syntax of list of link-type keywords:_
> _A whitespace-separated list of link types listed as allowed on '<link>' in 
> the HTML specification or listed as an allowed on '<link>' on the 
> Microformats wiki without duplicate keywords in the list. You can register 
> link types on the Microformats wiki yourself._
> Actually rel="preconnect" is valid code, as shown here 
> [https://www.w3.org/TR/resource-hints/] so should be added to the validator.
> I wonder what's and where is the Microformats wiki the message is talking 
> about...
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to