javascript-tutorial / javascript-tutorial/ru.javascript.info

Ошибка в тестах "DOM, работа со страницей" вопрос про "Что вызовется первым?" колбэк с capture или с bubbling

Open
#1,920 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
HTML
Stars
4.1k
Forks
921
PR merge metrics
No merged PRs in 30d

Description

### Описание

В тесте "DOM, работа со страницей", неправильный ответ на вопрос
![photo_2023-12-25_18-40-01](https://github.com/javascript-tutorial/ru.javascript.info/assets/24533485/fd554be7-4755-48c2-9fec-0d8ba3f5f9b6)
хотя очевидно, что на фазе capture вызовется раньше
![photo_2023-12-25_18-40-20](https://github.com/javascript-tutorial/ru.javascript.info/assets/24533485/63a1e998-5170-4415-9070-7dcfdb204e9b)
![photo_2023-12-25_18-40-11](https://github.com/javascript-tutorial/ru.javascript.info/assets/24533485/14655dc5-f98f-4513-a94f-cfa56d006125)

### Как воспроизвести?

1. открыть тест про DOM
2. найти вопрос

### Браузер

Chrome

Contributor guide

Open the contributing guide

Research direction

Open the DOM test named “DOM, работа со страницей” and locate the question “Что вызовется первым?” about capture and bubbling callbacks. Check the marked answer against browser event-order behavior, then update the test’s expected answer and verify the question displays the correct result in Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.