javascript-tutorial / javascript-tutorial/ru.javascript.info
Ошибка в тестах "DOM, работа со страницей". offsetHeight и clientHeight.
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 4.1k
- Forks
- 922
- PR merge metrics
- No merged PRs in 30d
Description
Кейс в тесте следующий:

Правильным ответом тут должен быть вариант: Когда у элемента нет border и полосы прокрутки. Только в этом случае действительно гарантированно совпадают offsetHeight и clientHeight. Думаю стоит сделать здесь тест с выбором одного варианта ответа и добавить предложенный.
Contributor guide
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, работа со страницей” test case and compare its current answer choices with the proposed single-choice wording. Done when the test accepts “Когда у элемента нет border и полосы прокрутки” as the correct answer and the answer choices reflect the reported behavior of offsetHeight and clientHeight.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100