Skip to content

Impossible to link to camelCase elements #365

@dontcallmedom

Description

@dontcallmedom

[^foreignElement^] fails in ReSpec, because the xref API endpoint replies with no result (likewise for e.g. clipPath).

<!doctype html>
<html>
  <title>Link to CSS definition</title>
  <script>var respecConfig = {xref: ["svg"]};</script>
  <script src="https://www.w3.org/Tools/respec/respec-w3c.js"></script>
  <body>
  <section>
    <h2>Test Section</h2>
    [^foreignObject^]

I wonder if this is an artefact of element being listed among CONCEPT_TYPES in routes/xref/lib/constants.ts, itself a legacy of sidvishnoi/respec-xref-route#57, which would impact an exact case-match in the query?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions