w3c / w3c/css-validator

Support: template element attributes

Open
#433 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
250
Forks
123
PR merge metrics
No merged PRs in 30d

Description

requesting support for attributes that are used on the template element.


<template  shadowrootmode="open" 
           shadowrootclonable
           shadowrootdelegatesfocus>

</template>

This element is used with the shadow DOM for building web-components and contains a document fragment. The shadowrootopen attribute allows you to use declarative shadow DOM which improves load times by reducing javascript code to render the element.

more info on <template> at MDN
more info on html living standard

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by locating where the validator defines supported template-element attributes, then compare its behavior with the MDN and HTML Living Standard references in the issue. Done means the listed shadow DOM attributes are recognized and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.