Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMake EventTypeId reflect DOM inheritance hierarchy #7205
Comments
|
I'd like to try this. |
|
@Wilmoz the |
|
@Ms2ger thanks now everything works, but i assumed "new_uninitialized" use "MouseEvent". here the code line 27 https://pastebin.mozilla.org/8843070 . |
|
You'll need to add |
|
@Ms2ger ready :). Could I make a pull request in the documentation? |
Make EventTypeId reflect DOM inheritance hierarchy #7205 (comment) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7272) <!-- Reviewable:end -->
Make EventTypeId reflect DOM inheritance hierarchy #7205 (comment) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7272) <!-- Reviewable:end -->
|
That would be great, yes. Probably in |
Documentation of inheritance in type ids Aditional documentation about this issue #7205 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7337) <!-- Reviewable:end -->
Documentation of inheritance in type ids Aditional documentation about this issue #7205 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7337) <!-- Reviewable:end -->
…hy (from wilcus:EventType); r=Ms2ger servo/servo#7205 (comment) Source-Repo: https://github.com/servo/servo Source-Revision: 15b09fc0afc26f39fc96b8b4b84df4f4aec1ee21
…ilcus:InheritanceDocumentation); r=mbrubeck Aditional documentation about this issue servo/servo#7205 Source-Repo: https://github.com/servo/servo Source-Revision: da0b9d7c0185f0898fd47f5326e8e084d08a2fc0
…hy (from wilcus:EventType); r=Ms2ger servo/servo#7205 (comment) Source-Repo: https://github.com/servo/servo Source-Revision: 15b09fc0afc26f39fc96b8b4b84df4f4aec1ee21 UltraBlame original commit: d2f894669742b4a2aa02863473890a5765676d58
…ilcus:InheritanceDocumentation); r=mbrubeck Aditional documentation about this issue servo/servo#7205 Source-Repo: https://github.com/servo/servo Source-Revision: da0b9d7c0185f0898fd47f5326e8e084d08a2fc0 UltraBlame original commit: 3c621ef2b11b0d4fb3e60713cca465597836a762
…hy (from wilcus:EventType); r=Ms2ger servo/servo#7205 (comment) Source-Repo: https://github.com/servo/servo Source-Revision: 15b09fc0afc26f39fc96b8b4b84df4f4aec1ee21 UltraBlame original commit: d2f894669742b4a2aa02863473890a5765676d58
…ilcus:InheritanceDocumentation); r=mbrubeck Aditional documentation about this issue servo/servo#7205 Source-Repo: https://github.com/servo/servo Source-Revision: da0b9d7c0185f0898fd47f5326e8e084d08a2fc0 UltraBlame original commit: 3c621ef2b11b0d4fb3e60713cca465597836a762
…hy (from wilcus:EventType); r=Ms2ger servo/servo#7205 (comment) Source-Repo: https://github.com/servo/servo Source-Revision: 15b09fc0afc26f39fc96b8b4b84df4f4aec1ee21 UltraBlame original commit: d2f894669742b4a2aa02863473890a5765676d58
…ilcus:InheritanceDocumentation); r=mbrubeck Aditional documentation about this issue servo/servo#7205 Source-Repo: https://github.com/servo/servo Source-Revision: da0b9d7c0185f0898fd47f5326e8e084d08a2fc0 UltraBlame original commit: 3c621ef2b11b0d4fb3e60713cca465597836a762
Right now MouseEvent and UIEvent are listed separately, which means that some_mouse_event.is_uievent() will return false. We should make EventTypeId reflect the proper DOM hierarchy, just like EventTargetTypeId/NodeTypeId/ElementTypeId, etc.
Code: components/script/dom/event.rs, components/script/dom/uievent.rs