NodeList
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- javascript
- 領域
- web-dev
研究方向
從 README 的 Project Goals 開始,檢查目前如何產生 childNodes 和 children。將其行為與 NodeList 的 keys()、values() 和 entries() 方法,以及已回報的 mutation/liveness 預期進行比較。完成的要求是明確決定相容性範圍,並提供已記錄的差異,或進行範圍明確的實作變更並加入測試。
由索引模型根據 Issue 內容生成。
描述
I tried using this for a unit-test, and ran into some issues with e.g. childNodes, which in regular DOM is a NodeList and not just an Array, which is missing, for example, the keys(), values() and entries() iterator methods.
I can foresee issues as well with e.g. children being a plain Array created by filtering childNodes - whereas, in regular DOM, mutating the childNodes of the parent that generated the children collection, would cause the iterator to reflect those changes.
Maybe this is "by design", favoring simplicity over correctness?
If so, that isn't clear from the "Project Goals" stated in the README right now - it doesn't seem to imply that this deviates from DOM in terms of more than features.
Lacking features is a matter of scope - but incompatibilities probably ought to be designated in the documentation?
- 主要語言
- JavaScript
- 星號
- 689
- 分支
- 25
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
我們還沒有檢查這個專案的環境設定檔。先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
developit/undom 的其他 Issue
-
難度 5/5 一週以上 新手友好度 20/100
-
難度 4/5 3-5 天 新手友好度 35/100
-
難度 3/5 1-2 天 新手友好度 45/100
-
難度 3/5 1-2 天 新手友好度 35/100
-
難度 5/5 一週以上 新手友好度 20/100
相似的 Issue
-
factory-active factory-automatic harness/codex task-bug-reproduction-success task-identify-harness-labels-done task-identify-issue-type-done
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆
-
ux
難度 1/5 1 小時以內 新手友好度 90/100
rr-djk/rr-djuikoo.com#53 ·
維護者通常 1 天內回覆
-
new spec review
難度 2/5 1-3 小時 新手友好度 72/100
w3c/browser-specs#2666 · 1 則留言 ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
thim81/openapi-format#238 ·
-
難度 2/5 1-3 小時 新手友好度 82/100
decentespresso/dye2#13 ·