Options:
- # Session Start: Sun Aug 05 00:00:00 2007
- # Session Ident: #whatwg
- # [00:04] * Joins: aroben (n=adamrobe@c-67-160-250-192.hsd1.ca.comcast.net)
- # [00:10] * Quits: KevinMarks (n=KevinMar@c-76-102-254-252.hsd1.ca.comcast.net) ("The computer fell asleep")
- # [00:52] * Parts: hasather_ (n=hasather@22.80-203-71.nextgentel.com)
- # [01:07] * Joins: othermaciej (n=mjs@17.255.105.80)
- # [02:20] * Joins: jruderman (n=jruderma@wsip-24-120-56-2.lv.lv.cox.net)
- # [02:37] * Quits: zcorpan_ (n=zcorpan@81-233-253-112-no13.tbcn.telia.com) (Read error: 110 (Connection timed out))
- # [02:40] * Quits: jruderman (n=jruderma@wsip-24-120-56-2.lv.lv.cox.net) (Read error: 110 (Connection timed out))
- # [02:42] * Joins: tantek (n=tantek@ppp-70-250-43-154.dsl.ksc2mo.swbell.net)
- # [02:43] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [02:44] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
- # [03:07] * Quits: tantek (n=tantek@ppp-70-250-43-154.dsl.ksc2mo.swbell.net)
- # [03:30] * Joins: kingryan (n=kingryan@dsl081-240-149.sfo1.dsl.speakeasy.net)
- # [03:59] * Joins: Lachy (n=Lachy@203-217-79-12.dyn.iinet.net.au)
- # [04:29] * Joins: jruderman (n=jruderma@wsip-70-165-153-109.lv.lv.cox.net)
- # [04:29] * Quits: jruderman (n=jruderma@wsip-70-165-153-109.lv.lv.cox.net) (Client Quit)
- # [04:47] * Quits: tndH (i=Rob@adsl-87-102-81-18.karoo.KCOM.COM) ("ChatZilla 0.9.78.1-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [04:52] * Quits: dev0_ (i=Tobias@unaffiliated/icefox0) ("dev0_ has no reason")
- # [05:35] * Joins: jruderman (n=jruderma@wsip-70-165-153-109.lv.lv.cox.net)
- # [07:17] * Quits: Lachy (n=Lachy@203-217-79-12.dyn.iinet.net.au) (Read error: 104 (Connection reset by peer))
- # [07:38] * Joins: Lachy (n=Lachy@203-217-79-12.dyn.iinet.net.au)
- # [07:45] * Quits: mattly (n=matt@24-176-224-135.dhcp.snlo.ca.charter.com) (Read error: 110 (Connection timed out))
- # [07:52] * Quits: aroben (n=adamrobe@unaffiliated/aroben)
- # [08:32] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca) ("http:/www.csarven.ca")
- # [08:56] * Joins: tantek (n=tantek@CPE-65-28-102-35.kc.res.rr.com)
- # [08:59] * Joins: othermaciej_ (i=mjs@nat/apple/x-3f29da83e2deeafa)
- # [09:04] * Quits: Lachy (n=Lachy@203-217-79-12.dyn.iinet.net.au) ("ChatZilla 0.9.78.1 [Firefox 2.0.0.4/2007051502]")
- # [09:14] * Quits: othermaciej (n=mjs@17.255.105.80) (Read error: 110 (Connection timed out))
- # [09:16] * Quits: weinig (i=weinig@nat/apple/x-b1508f2da2899129)
- # [09:18] * Joins: mattly (n=matt@24-176-224-135.dhcp.snlo.ca.charter.com)
- # [09:28] * Quits: jruderman (n=jruderma@wsip-70-165-153-109.lv.lv.cox.net) (Read error: 110 (Connection timed out))
- # [09:29] * Joins: othermaciej (n=mjs@17.255.105.80)
- # [09:34] * Joins: weinig (n=weinig@c-67-188-89-242.hsd1.ca.comcast.net)
- # [09:44] * Quits: othermaciej_ (i=mjs@nat/apple/x-3f29da83e2deeafa) (Read error: 110 (Connection timed out))
- # [09:48] * Joins: zcorpan_ (n=zcorpan@81-233-253-112-no13.tbcn.telia.com)
- # [09:52] * Quits: kingryan (n=kingryan@dsl081-240-149.sfo1.dsl.speakeasy.net)
- # [10:41] * Joins: ROBOd (n=robod@86.34.246.154)
- # [10:47] * Quits: weinig (n=weinig@c-67-188-89-242.hsd1.ca.comcast.net)
- # [10:51] * Joins: hendry (n=hendry@91.84.62.62)
- # [11:01] * Quits: othermaciej (n=mjs@17.255.105.80)
- # [11:17] * Joins: hasather_ (n=hasather@22.80-203-71.nextgentel.com)
- # [11:30] * Joins: Lachy (n=Lachy@203-217-79-12.dyn.iinet.net.au)
- # [12:10] * Quits: tantek (n=tantek@CPE-65-28-102-35.kc.res.rr.com)
- # [12:22] * Joins: maikmerten (n=maikmert@Lb4df.l.pppool.de)
- # [12:37] * Joins: othermaciej (n=mjs@dsl081-048-145.sfo1.dsl.speakeasy.net)
- # [13:02] * Quits: zcorpan_ (n=zcorpan@81-233-253-112-no13.tbcn.telia.com) (Read error: 110 (Connection timed out))
- # [13:16] * othermaciej is now known as om_sleep
- # [13:18] * Joins: tndH_ (i=Rob@adsl-87-102-81-18.karoo.KCOM.COM)
- # [13:18] * tndH_ is now known as tndH
- # [13:39] * Quits: hendry (n=hendry@91.84.62.62) (Remote closed the connection)
- # [13:39] * Joins: hendry (n=hendry@91.84.62.62)
- # [14:11] * Quits: mpt (n=mpt@121-72-130-73.dsl.telstraclear.net) ("This computer has gone to sleep")
- # [14:12] * Joins: mpt (n=mpt@121-72-130-73.dsl.telstraclear.net)
- # [14:18] * Parts: hasather_ (n=hasather@22.80-203-71.nextgentel.com)
- # [14:20] * Joins: hasather_ (n=hasather@22.80-203-71.nextgentel.com)
- # [14:37] * Quits: maikmerten (n=maikmert@Lb4df.l.pppool.de) (Read error: 104 (Connection reset by peer))
- # [14:37] * Joins: maikmerten_ (n=maikmert@T63b0.t.pppool.de)
- # [15:05] * Joins: smaug (n=chatzill@a85-156-197-177.elisa-laajakaista.fi)
- # [15:05] <smaug> annevk: ping
- # [15:36] <annevk> pong
- # [15:36] <annevk> smaug, ...
- # [15:37] <smaug> annevk: about DOMActivate
- # [15:37] <smaug> annevk: according to html5 the default action is to dispatch DOMActivate
- # [15:38] <smaug> where does it say that only the first default action should occur?
- # [15:39] <annevk> the default action of some form of activation (Enter, clicking, etc.) is to dispatch a 'click' event
- # [15:39] <annevk> default action of that is to dispatch DOMActivate
- # [15:40] <annevk> the first element in tree order with activation behavior gets its activation behavior triggered at that point
- # [15:40] <annevk> reverse tree order*
- # [15:40] <smaug> annevk: but where does it say that only one DOMActivate gets activated
- # [15:41] <annevk> DOMActivate is not activated
- # [15:41] <smaug> I thought all default actions should be triggered
- # [15:41] <annevk> it's just dispatched
- # [15:41] <annevk> I would suggest to read http://www.whatwg.org/specs/web-apps/current-work/#interactive1 carefully although I suppose you have already done so... :)
- # [15:41] <smaug> annevk: I've read it carefully
- # [15:42] <smaug> how does an element know whether to dispatch DOMActivate or not?
- # [15:42] <annevk> that doesn't matter
- # [15:42] <smaug> why not?
- # [15:42] <annevk> click is dispatched of which the default action is to dispatch DOMActivate
- # [15:43] <annevk> regardless of which element it is
- # [15:43] <annevk> click will always have DOMActivate triggered
- # [15:43] <smaug> what is the target of the DOMActivate?
- # [15:44] <annevk> the same element as that of the click event
- # [15:44] <annevk> "must be to fire a further DOMActivate event at the same element"
- # [15:44] <smaug> <a>foo<button>bar</button></a>
- # [15:44] <smaug> or, <a>foo<span>clickme</span></a>
- # [15:44] <smaug> span is the target of the click
- # [15:44] <smaug> how does <a> know to dispatch DOMActivate?
- # [15:45] <annevk> DOMActivate would be dispatched on <span>
- # [15:45] <annevk> and the first element with activation behavior it bubbles through (in the first case, <button>, second case, <a>) will have its activation behavior triggered (submission, following the link)
- # [15:45] <annevk> it's pretty clear in the specification
- # [15:46] <smaug> it is not clear
- # [15:46] <annevk> just read it literally without any bias of what prior specifications might have suggested
- # [15:46] <annevk> ok, what part is not clear?
- # [15:48] <smaug> the chapter talks about "interactive" elements
- # [15:49] <smaug> should DOMActivate be dispatched whether or not click happens inside an interactive element?
- # [15:49] <annevk> yes
- # [15:50] <smaug> and it also talks about default action, but not where the default action should be handled
- # [15:50] <annevk> I suppose that could be made more clear
- # [15:50] <annevk> I'm not sure I understand that
- # [15:51] <smaug> all the elements may have default actions
- # [15:51] <smaug> and also document could have default action
- # [15:51] <smaug> and it doesn't matter whether or not the target of the event is the element (or document)
- # [15:52] <annevk> it just defines what the default action of click and DOMActivate is
- # [15:52] <annevk> for click -> dispatch DOMActivate; for DOMActivate -> activate the first element with activation behavior in reverse tree order
- # [15:53] <smaug> I understand activation behavior, since that is different than default action
- # [15:53] <smaug> but default action happens in all tree levels, in reverse tree order
- # [15:53] <annevk> what do you mean?
- # [15:54] <smaug> <a> has a default action for click
- # [15:54] <smaug> in gecko it is currently to dispatch DOMActivate
- # [15:54] <annevk> it overwrites all that
- # [15:55] <annevk> as I said, you have to interpret this literally, without bias
- # [15:55] <smaug> webkit has similar meaning for default actions
- # [15:55] <smaug> at least it used to have
- # [15:56] <annevk> for instance, the <a> element is defined to have activation behavior which would be triggered if anyone click on "foo" in the following cases <a>foo</a>, <a><span>foo</span></a>, <a><span>bar<span>foo</span></a>, etc.
- # [15:56] <smaug> hmm, is the meaning of default action defined anywhere..
- # [15:56] <annevk> DOM2Events?
- # [15:57] <annevk> anyway, this new concept comes much closer to what IE (and Opera) do and is a bit more useful for cases such as <a> foo <input type=submit></a>
- # [15:58] <smaug> DOM2Events doesn't define default actions properly
- # [15:58] <smaug> it doesn't say whether or not they are happening in node level or document level
- # [15:59] <annevk> http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow-cancelation
- # [15:59] <smaug> nope
- # [16:00] <smaug> that just says that event listeners must fire before default action
- # [16:00] <annevk> hmm, they are happening at node-level I'd say
- # [16:00] <annevk> not sure how you can test that and I'm also not sure how that's relevant here
- # [16:01] <smaug> but for all elements there is the default action for "click" event to dispatch DOMActivate if the target of the "click" is the current node
- # [16:01] <smaug> ?
- # [16:01] <annevk> (well, I see that in Gecko you could get Multiple DOMActivate events now because of how <a>.onclick is handled right now...)
- # [16:02] <annevk> smaug, yes, the default action of a click event being dispatched is to dispatch a DOMActivate event
- # [16:02] <annevk> although not for synthetic click events aiui
- # [16:02] <smaug> but that happens only if the target of the element is the "current" element
- # [16:02] <smaug> there is after all some sort of posthandleevent phase
- # [16:03] <smaug> apparently in opera too
- # [16:03] <smaug> if default actions are node level
- # [16:03] <annevk> it doesn't happen during the bubbling phase, no
- # [16:03] <annevk> only when it's dispatched
- # [16:04] <annevk> I suppose it might be worthwhile to be a bit more explicit about such details in the draft; either in HTML 5 or DOM3Events
- # [16:07] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
- # [16:08] <smaug> annevk: hmm, but does that meaning of default actions apply to all cases
- # [16:08] <smaug> how about xbl2?
- # [16:08] <smaug> at least it used to be possible to define own default actions
- # [16:09] <smaug> node level, and not depending on whether or not the current node is the target of the event
- # [16:10] <annevk> I suppose HTML 5 should just be clarified that the click event only does that when the current node is also the target node
- # [16:11] <smaug> yes, because that is a special case for a default action
- # [16:11] <smaug> xbl2 still has the way to define default actions
- # [16:11] <smaug> node level and triggered reversed tree order
- # [16:11] <annevk> Yeah, much like <html:form> has a default action for 'submit' too...
- # [16:12] <smaug> so html5 is not at all clear
- # [16:12] <smaug> it has special meaning for default action in one case
- # [16:13] <smaug> in gecko default actions happen always pretty much like in xbl2
- # [16:13] <annevk> what it says sort of implies the special case though
- # [16:13] <smaug> "implies" :)
- # [16:14] <annevk> by using "the element" etc. but it can be better :)
- # [16:15] <annevk> I'd suggest raising it on the list and implementing it as if it was more clear :)
- # [16:16] * Parts: hasather_ (n=hasather@22.80-203-71.nextgentel.com)
- # [16:16] <smaug> or maybe I should come up some more reasonable solution for the problem
- # [16:16] <smaug> special casing default action handling sounds like a hack
- # [16:16] * Joins: hasather_ (n=hasather@22.80-203-71.nextgentel.com)
- # [16:17] <annevk> the default action of the click event, if the target node is the same as the current node, is to dispatch a DOMActivate at the current node
- # [16:17] <annevk> seems reasonable to me
- # [16:18] <smaug> hmm, yes. that way
- # [16:18] <smaug> and it should be clear that it is not about interactive elements
- # [16:18] <smaug> but all elements
- # [16:18] <smaug> er, all nodes
- # [16:19] <smaug> (click may happen also on document, I think)
- # [16:19] <annevk> and for DOMActive you just have event listeners set up at the activation behavior elements and a special flag that tells you whether some element has its behavior triggered already
- # [16:19] <annevk> or some such
- # [16:19] <smaug> activation behavior is clear, sure
- # [16:20] <annevk> oh, ok, I thought there was some confusion about first in reverse tree order, but that might have been because of the multiple DOMActivate events...
- # [16:27] <smaug> (need to still think about how the click event's default action work with XBL, when there is retargeting happening...)
- # [16:28] <annevk> hah, have fun with that, while I take a break from this stuff :)
- # [16:46] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [16:49] * Joins: Codler (n=Codler@84-218-5-173.eurobelladsl.telenor.se)
- # [17:41] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
- # [18:18] * Quits: Codler (n=Codler@84-218-5-173.eurobelladsl.telenor.se) ("- nbs-irc 2.21 - www.nbs-irc.net -")
- # [19:12] * Quits: smaug (n=chatzill@a85-156-197-177.elisa-laajakaista.fi) (Remote closed the connection)
- # [19:35] * Joins: tndH_ (i=Rob@adsl-87-102-91-209.karoo.KCOM.COM)
- # [19:51] * Quits: tndH (i=Rob@adsl-87-102-81-18.karoo.KCOM.COM) (Read error: 110 (Connection timed out))
- # [19:55] * Joins: KevinMarks (n=Snak@c-76-102-254-252.hsd1.ca.comcast.net)
- # [19:55] * Joins: tantek (n=tantek@CPE-65-28-102-35.kc.res.rr.com)
- # [19:59] * Joins: csarven- (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
- # [20:02] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [20:18] * csarven- is now known as csarven
- # [20:34] * Joins: virtuelv (n=virtuelv@96.80-202-82.nextgentel.com)
- # [20:46] * tndH_ is now known as tndH
- # [20:50] * Joins: weinig (i=weinig@nat/apple/x-24a55e30d4a5f905)
- # [21:02] * Joins: h3h (n=w3rd@cpe-76-88-44-219.san.res.rr.com)
- # [21:14] <hsivonen> http://htmlpurifier.org/
- # [21:27] * Joins: mattly_ (n=matt@24-176-224-135.dhcp.snlo.ca.charter.com)
- # [21:28] * Joins: hendry_ (n=hendry@91.84.62.62)
- # [21:34] * Quits: mattly (n=matt@24-176-224-135.dhcp.snlo.ca.charter.com) (Read error: 110 (Connection timed out))
- # [21:42] * Quits: hendry (n=hendry@91.84.62.62) (Read error: 113 (No route to host))
- # [21:54] * Joins: epeus (n=KevinMar@c-76-102-254-252.hsd1.ca.comcast.net)
- # [22:05] * Joins: SavageX_ (n=maikmert@T6b14.t.pppool.de)
- # [22:06] * Joins: grimboy (n=grimboy@85.211.240.154)
- # [22:06] * Joins: zcorpan_ (n=zcorpan@84-216-40-255.sprayadsl.telenor.se)
- # [22:09] * Quits: SavageX_ (n=maikmert@T6b14.t.pppool.de) (Client Quit)
- # [22:14] * Joins: briansuda (n=briansud@82.221.34.106)
- # [22:23] * Quits: maikmerten_ (n=maikmert@T63b0.t.pppool.de) (Read error: 110 (Connection timed out))
- # [22:23] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [22:33] * Joins: zcorpan (n=zcorpan@84-216-40-255.sprayadsl.telenor.se)
- # [22:45] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
- # [22:46] * Quits: zcorpan_ (n=zcorpan@84-216-40-255.sprayadsl.telenor.se) (Read error: 110 (Connection timed out))
- # [22:51] * Quits: ROBOd (n=robod@86.34.246.154) ("http://www.robodesign.ro")
- # [22:57] * Quits: tantek (n=tantek@CPE-65-28-102-35.kc.res.rr.com)
- # [22:58] * Joins: tantek (n=tantek@CPE-65-28-102-35.kc.res.rr.com)
- # [23:00] * Quits: tndH (i=Rob@adsl-87-102-91-209.karoo.KCOM.COM) (Read error: 110 (Connection timed out))
- # [23:05] * Joins: tndH (i=Rob@adsl-87-102-91-209.karoo.KCOM.COM)
- # [23:06] * mattly_ is now known as mattly
- # [23:19] * Joins: grimeboy (n=grimboy@85-211-248-189.dsl.pipex.com)
- # [23:35] * Quits: grimboy (n=grimboy@85.211.240.154) (Read error: 110 (Connection timed out))
- # [23:46] * Quits: virtuelv (n=virtuelv@96.80-202-82.nextgentel.com) ("Leaving")
- # [23:57] * Quits: zcorpan (n=zcorpan@84-216-40-255.sprayadsl.telenor.se) (Read error: 104 (Connection reset by peer))
- # Session Close: Mon Aug 06 00:00:00 2007
The end :)