Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5369

link rel preconnect marked as bad value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 12.0
    • None
    • None

    Description

      A common line of code like this one

       <link rel="preconnect" href="https://fonts.gstatic.com">

      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...

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Riksoft Riksoft
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: