Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Define the order between select and selectionchange

Abierto
#129 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
html
Área
api, web-dev

Línea de trabajo

Start by reviewing the Selection API specification's definitions of select and selectionchange, then compare the listed mouse-drag, Shift+Arrow, and selection setter API cases. The issue is done when the specification defines their ordering consistently and the affected event sequences are covered by appropriate tests.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Compatibility

There is no defined order between them.

  • Mouse drag: selectionchange first and then select.
  • Shift+arrow keys on keyboard: select first and then selectionchange.
  • Selection setter APIs e.g. selectionStart: select first on Gecko, no consistency on Blink (it's racy).

The mouse drag case fires multiple selectionchanges and then a select event at mouseup. I think selectionchange events should be fired before select events to keep it that way.

Lenguaje dominante
HTML
Estrellas
49
Forks
30
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de w3c/selection-api

Todos los issues de w3c/selection-api

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.