Element.attachShadow on MathML element
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 56
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
See https://dom.spec.whatwg.org/#dom-element-attachshadow
@rwlbuis has a one-line patch to allow MathML elements too and @bkardell was able to use it for https://bkardell.com/blog/MathForward.html
- Do we want that? HTML5 does not allow to attach shadow root on arbitrary elements.
- Is it really necessary when we have w3c/mathml-core#275 and w3c/mathml#139 resolved + the css layout API?
- Is there any security issue e.g. with links? ( see https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow and w3c/mathml-core#142 )
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the DOM specification's Element.attachShadow definition and review the linked MathML Core and MathML issues, including the security discussion. Determine whether MathML elements should be allowed to attach shadow roots and whether the related standards or CSS layout work changes that need. Done means reaching and documenting a standards decision with any security implications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100