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 upSupport the `:hover` selector #790
Comments
|
Needed for #1366. |
|
Some notes on this at: |
|
|
Step 1 is #1528. |
|
@sammykim you can work on numbers 2-5 while waiting for Rust event handlers to land. Please ask us in IRC or here on github if you have any questions, particularly about glfw mouse move, hooking into script, and querying the layout task for the correct DOM nodes. |
|
@sammykim I had a chance to chat with @jdm about some of your questions. Below is a rough outline of the work:
The specification for the Note that unlike DOM events, which have a more complicated bubbling and cancellation semantics (which is why you need the list of all the DOM nodes for a point on the screen instead of just the top one!), a technically correct implementation of You can implement this work in any order that works for you, and we always prefer seeing partial results so we can give comments before there is too much work in progress. e.g., you could hook up the mouse events and messages and get script handling them but not doing much with them other than querying layout first, before working on the event handling and setting bits. |
|
@larsbergstrom @jdm |
|
@hyunjunekim The |
|
In addition to the EventHandler work mentioned above (which requires #1688 to do), there is one more item. We do not currently parse the selector in ACID2 containing
|
This is needed for Acid2 lines 6, 7, 8, 9 (the nose).