-
Notifications
You must be signed in to change notification settings - Fork 25
Bikeshed: activation event naming. #115
Comments
/cc @josepharhar |
What would the event contain and which nodes will it fire to? (esp. for find-in-page and scroll to text) That might help the naming |
It will fire on the active-match or anchor target element. |
(to get good enough performance, it'd have to be rate-limited as well in some way) |
OK, so all elements that contain the matches? ( |
Yes. |
Or via bubbling up from such elements. |
Also, accessibility features may be integrated into the user agent, traverse the DOM, and fire such events if desired. In the future, maybe other new algorithms could be integrated. |
I suggest This event is not cancellable, and happens at render timing. |
I don't think it is clear to developers what is being "matches" and that that links to find-in-page etc. "before" is also a bit confusing, like when before is it? a few render frames before? It feels a bit like something being "focused/highlighted" in a way |
The intent is for it to be at at render timing (just before rAF, during the same event loop task) in the same rendering update that would apply a scroll to the matched element.
Reasonable ideas - maybe |
|
We would like to extract the activation event from the render-subtree spec, making it a separate event that is fired in one of three situations:
We don't currently have a good name for this. One idea is to have an
interest
event (credit: @flackr)Also from @flackr:
Activation is already a defined term for :active and I don't think it's synonymous with this kind of activation.
Any other ideas? We'd like to get this resolved by EOW
/cc @chrishtr @rakina @fergald @flackr
The text was updated successfully, but these errors were encountered: