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

Martin H. commented on NETBEANS-5369:
-------------------------------------

I can also confirm that I cannot reproduce the issue with 12.6, neither with 
the latest dev build using default settings.

With earlier versions, it used to mark similar items as "Bad value", but now I 
can use whatever I decide, including link rel="hello".

If this is the intentional behaviour, it might be error prone in some cases, 
especially with typos, e.g. there is no hint for
{code:html}
<link rel="preconnectt" href="//fonts.gstatic.com">
{code}

> 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