`anchorNode` & `focusNode` can never be in shadow tree?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- html
- Área
- documentation
Línea de trabajo
Compare the Selection API definitions for anchor/focus and the anchorNode attribute, then inspect tests/wpt/tests/selection/shadow-dom/tentative/Selection-isCollapsed.html around line 48. Determine whether the specification text or the test is inconsistent, and document a resolved, internally consistent behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
anchor and focus of selection need not to be in the document tree. It could be in a shadow tree of the same document.
However, it also says:
anchorNode
The attribute must return the anchor node of this, or null if the anchor is null or anchor is not in the document tree.
So anchorNode can never be in shadow tree. This is also contradictory to tests:
https://github.com/servo/servo/blob/e83f3117045171e59f230c3b36ebd721826d3754/tests/wpt/tests/selection/shadow-dom/tentative/Selection-isCollapsed.html#L48
- Lenguaje dominante
- HTML
- Estrellas
- 49
- Forks
- 30
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de w3c/selection-api
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
w3c/selection-api#354 ·
-
Remove single range restriction for selection interface apisQuizá libre de nuevo @sambandaru la tomó hace 170 días y no hay ningún pull request abierto. Abierto
w3c/selection-api#358 · 2 comentarios · 1 asignado ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
w3c/selection-api#355 ·
-
the steps of Selection.extend() does not check whether the given offset is valid in the containerAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 55/100
w3c/selection-api#353 · 1 comentario ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
w3c/selection-api#352 ·
Todos los issues de w3c/selection-api
Issues similares
-
docs(prompts): local-forge prompt says the launcher lands the branch as-is, but it rebases itAbiertoagent-butler-finding bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
jordansmall/spindrift#6236 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
githubnext/gh-aw-workshop#5193 ·
Los mantenedores suelen responder en 1 día
-
[oblt-aw][autodoc] Document new required `shared-org-key` input for `obs-aw-dependency-review`Posiblemente ocupada @github-actions la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
calcit-lang/caps#16 ·
-
agent bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100