[ 
https://issues.apache.org/jira/browse/NETBEANS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Riksoft updated NETBEANS-5369:
------------------------------
    Description: 
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...

 

  was:
A common line of code like this one
<link rel="preconnect" href="https://fonts.gstatic.com";>
is marked as "Bad value" because the validator doesn't like the "preconnect" 
value for "rel".

Actually rel="preconnect" is valid code, as shown here 
[https://www.w3.org/TR/resource-hints/]


> 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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to