Re: Doubt about intrinsic events

If this hasn't reached html-editor yet, then it does herewith :-).

Regards,   Martin.


> Resent-Date: Mon, 15 Jun 1998 09:16:30 -0400 (EDT)
> To: w3c-translators@w3.org, Michele Diodati <md4223@mclink.it>
> cc: Stefan Mintert
<mintert@irb.informatik.uni-dortmund.de>,sm@brown.informatik.uni-dortmund.de
> From: Stefan Mintert <mintert@irb.informatik.uni-dortmund.de>
> Reply-To: Stefan Mintert <mintert@irb.informatik.uni-dortmund.de>
> Date: Mon, 15 Jun 1998 15:16:24 +0200
> Subject: Re: Doubt about intrinsic events 
> Resent-From: w3c-translators@w3.org
> X-Mailing-List: <w3c-translators@w3.org> archive/latest/97
> X-Loop: w3c-translators@w3.org
> Sender: w3c-translators-request@w3.org
> Resent-Sender: w3c-translators-request@w3.org
> X-UIDL: d2e352972e67c055fdd002287bc849da
> 
> 
> 
> 
>  > >What's the discrepancy? Which phrases in 17.6.1 and 18.2.3 are you
talking
>  > >about?
>  > >
>  > >
>  > >
>  > >Bye,
>  > >
>  > > Stefan.
>  > 
>  > In the list of attributes defined elsewhere for the OPTGROUP element
>  > (17.6.1), there are "onblur", "onchange" and "onfocus". But in the 18.2.3
>  > paragraph, for example about "onfocus" and "onchange", OPTGROUP is not
>  > listed between the elements that may use those attributes. This is,
>  > according to us, the discrepancy.
>  > 
>  > Bye,
>  > Michele
> ---------
> 
> 
> Oh yes, I see the problem. I think 18.2.3 is correct since the
> attlist-definition for OPTGROUP is
> 
> <!ATTLIST OPTGROUP
>   %attrs;                              -- %coreattrs, %i18n, %events --
>   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
>   label       %Text;         #REQUIRED -- for use in hierarchical menus --
>   >
> 
> ans %events are defined as 
> 
> <!ENTITY % events
>  "onclick     %Script;       #IMPLIED  -- a pointer button was clicked --
>   ondblclick  %Script;       #IMPLIED  -- a pointer button was double
clicked--
>   onmousedown %Script;       #IMPLIED  -- a pointer button was pressed
down --
>   onmouseup   %Script;       #IMPLIED  -- a pointer button was released --
>   onmouseover %Script;       #IMPLIED  -- a pointer was moved onto --
>   onmousemove %Script;       #IMPLIED  -- a pointer was moved within --
>   onmouseout  %Script;       #IMPLIED  -- a pointer was moved away --
>   onkeypress  %Script;       #IMPLIED  -- a key was pressed and released --
>   onkeydown   %Script;       #IMPLIED  -- a key was pressed down --
>   onkeyup     %Script;       #IMPLIED  -- a key was released --"
>   >
> 
> But you're right, in 17.6.1 there are too many attributes listed for
OPTGROUP:
> 
> Attributes defined elsewhere 
> 
>       id, class (document-wide identifiers) 
>       lang (language information), dir (text direction) 
>       title (element title) 
>       style (inline style information) 
>       disabled (disabled input controls) 
>       onfocus, onblur, onchange, onclick, ondblclick, onmousedown,
onmouseup, onmouseover,
>       onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic
events)
> 
> 
> 
> Michele, I think you should direct your question to
www-html-editor@w3.org as
> mentioned in the HTML spec.
> 
> A similar mistake is already listed in the errata:
> http://www.w3.org/MarkUp/html40-updates/REC-html40-19980424-errata.html
> 
> 
> 
> Bye,
> 
>  Stefan.
> 
> +-----------------------------------------------------------+
>   Stefan Mintert
>        UniDo:    mintert@irb.informatik.uni-dortmund.de
>        private:  stefan@mintert.com
>        WWW:      http://www.informatik.uni-dortmund.de/~sm/
> +-----------------------------------------------------------+
> 
>         "let the music keep our spirits high..."
> 
>                                 (Jackson Browne)
> 
> 
> 

Received on Wednesday, 8 July 1998 21:41:01 UTC