Inconsistent selectstart event timing and prevention capability
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- html
- Área
- web-dev
Línea de trabajo
Start by reading the selectstart specification linked in the issue and the original Chromium issue 40718667. Compare the reported Blink/WebKit and Gecko timing and prevention behaviors, then clarify which timing and preventDefault effects the specification should require.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This was originally filed as a https://issues.chromium.org/40718667.
On investigation, I found two behaviors:
| Browser | Behavior |
|---|---|
| blink / webkit | Fired on mousedown. |
| gecko | Fired when mouse moves starting a selection range. |
I'm not sure if the selectstart specification clearly indicates one behavior is correct. Regardless though, given we don't have consistency we can probably go either way. One implication of the difference is that on browsers which fire on mousedown if you call preventDefault:
- you can prevent your previous selection from changing, and
- you can prevent inserting a cursor into a contenteditable from succeeding.
What do we expect the behavior to be?
- 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 ·
-
Agenda+
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
w3c/selection-api#361 · 2 comentarios ·
-
Remove single range restriction for selection interface apisQuizá libre de nuevo @sambandaru la tomó hace 136 días y no hay ningún pull request abierto. Abierto
w3c/selection-api#358 · 2 comentarios · 1 asignado ·
-
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
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
StabilityNexus/Fate-EVM-Frontend#153 ·
Los mantenedores suelen responder en 1 día
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
lingdojo/kana-dojo#31142 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
bug CI breakage triage needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
oppia/oppia#27517 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:frontend bug FE P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
klasolsson81/jobbliggaren#1915 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
SignalK/signalk-server#3090 ·
Los mantenedores suelen responder en 1 día