-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Of course a different template can do it differently. I don't believe the code touches on this (better verify that).
Currently the border is applied to the element itself. This has advantages and makes semantic sense in that it encapsulates the entire element. On the other hand it comes with side-effects, both positive and negative, especially as it relates to the mouse:
- It allows you (using only the width of the border, which I set at 1px) to hover and click on the outer element without focusing
#inputor the buttons. - Mousing from outside the element into a button:
#hover(), the outer element handler, fires first. This can cause the image to flicker onidlebefore displaying the button. I don't know which would fire first without the border on the outer element... - ...I have a vague memory of more side-effects.
The border could be on #input instead, as the size is the same (the buttons overlap #input). But I think that would come with its own set of side-effects.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested