- From: Jeff Schiller <codedread@gmail.com>
- Date: Fri, 3 Aug 2007 09:26:22 -0500
- To: "~:'' ありがとうございました。" <j.chetwynd@btinternet.com>, www-svg@w3.org
Jonathan, Ok, here's a use case: I want to implement a modal dialog type functionality in a web app. When somebody clicks on something, I'm going to display a tiny modal message box. While that message box is displayed, I don't want to accept any clicks on other visible entities. In other words, I want a completely transparent rectangle to sit on top of my UI and "block" any mouse clicks until the message box has been closed, rather than have a variable to track whether the message box is displayed or not - or temporarily turn off my event handlers, etc. Maybe I'm missing where the problem lies, but why can't you just animate your display to "none" along with opacity to "remove" a faded element? Why do you deem your suggested behavior "essential"? Thanks, Jeff On 8/3/07, "~:'' ありがとうございました。" <j.chetwynd@btinternet.com> wrote: > > Olaf, > > there are many possible similes but why chose the opacity of a glass > plate? > why not it's thickness for instance? > > No one has so far contributed a use case, where this behaviour is > essential or even desirable, whereas the uses of the contrary > position seem natural, as for instance fading linked images... > > regards > > Jonathan Chetwynd > > apologies, I made an error with respect to Opera, it may have been > Amaya which allows one to select and click through some holes. > > > > On 3 Aug 2007, at 10:13, Dr. Olaf Hoffmann wrote: > > > Hello, > > if pointer-events is not explicitly noted, the initial > value 'visiblePainted' is used. > > I looked in my test case(s) related to this and could > not find any problem with Opera 9. > > The relation of opacity and events is maybe comparable > to an opaque glass plate - no matter how opaque it is, > you cannot grab through it, even if you cannot see it. > > This is different if you set for example display to none > or visibility not to visible or pointer-events to none, then > it is possible to 'grab' through to an object below it. > I think in SMIL 3 they want to offer a value for opacity > related attributes or properties, to allow authors to > define, how opaque something has to be to recieve > an event, but this is not the case for SVG (or SMIL 2). > > User agents I know to support animation of opacity: > Opera 8 and 9, adobe plugin. > KSVG1 and Amaya with some specific simple animation types > can animate it too, but they do not care about events. > > > > >
Received on Friday, 3 August 2007 14:26:29 UTC