W3C home > Mailing lists > Public > public-webcgm-wg@w3.org > August 2006

Re: highlight method needs clarification

From: Benoit Bezaire <benoit@itedo.com>
Date: Mon, 21 Aug 2006 11:19:42 -0400
Message-ID: <721943265.20060821111942@itedo.com>
To: public-webcgm-wg@w3.org

Here is a proposal for the new highlighting wording. Is this better?

highlight
    Highlights a collection of Application Structures (APSs). WebCGM
    allows for highlighting of APSs using the IRI fragment syntax. The
    highlight method provides a way for WebCGM script writers to
    highlight APSs in the same way a IRI fragment would. The exact
    rendering method for highlighting is viewer dependent. It must be
    noted that the inheritance of highligth differs from the
    inheritance of Style Properties. Unlike a Style Property, a
    child's state value of false cannot override a parent's state
    value of true (i.e., false implies inherit). When compared with
    Style Properties, highlighting can be seen as two states only:
    highlight (true) or inherit (false). Highlighting is not defined
    for WebCGMPicture nodes or XML Metadata nodes.

    Parameters
        nodes of type WebCGMNodeList
            A WebCGMNodeList of APP_STRUCTURE_NODEs to highlight.

        state of type boolean
            A true value will highlight the nodes, whereas false will
            remove the highlight. 

    Return value
        No return value.

    Exceptions
        No exceptions.

-- 
Regards,
 Benoit   mailto:benoit@itedo.com

This e-mail and any attachments are confidential and may be protected
by legal privilege. If you are not the intended recipient, be aware
that any disclosure, copying, distribution or use of this e-mail or
any attachment is prohibited. If you have received this e-mail in
error, please notify us immediately by returning it to the sender and
delete this copy from your system. Thank you for your cooperation. 


Tuesday, August 1, 2006, 7:44:29 PM, Lofton Henderson wrote:

> [...PROLOG...the links [2], [3] are OASIS member only...apologies...there
> is some bizarre problem with the WebCGM TC archives at OASIS, wherein the
> public access route seems broken...rather than await the fix, I think we
> should get this AI of mine into the WG queue...I will resend with public
> links when they are fixed...]

> PROBLEM:  The description of the highlight method on the Picture interface
> [1] needs clarification.

> [1]
> http://www.w3.org/TR/2006/WD-webcgm20-20060623/WebCGM20-DOM.html#L5070

> BACKGROUND:  When the WebCGM TC was developing the Picture-highlight test
> (which is on FTP but not yet in the distribution), at least two people
> misunderstood the nature of using highlight to turn on highlighting on a
> node.  In particular, they incorrectly assumed it behaved like a Style
> Property (SP), and would exhibit the CSS-borrowed inheritance model that
> applies to SPs.  It does not.

> This was discussed in the CGMO WebCGM TC and a consensus was reached [2],
> [3].  That clarification needs to be included in the descriptive text of
> the highlight method, because the behavior is not obvious (especially as
> regards inheritance or not).  An example would help here also.

> [2] 
> http://www.oasis-open.org/apps/org/workgroup/cgmo-webcgm/email/archives/200605/msg00101.html
> [3] 
> http://www.oasis-open.org/apps/org/workgroup/cgmo-webcgm/email/archives/200607/msg00010.html

> OTHER highlight() comments:

> -- a mention of and link to the toNodeList utility method would be nice;
> -- s/a IRI/an IRI/

> Regards,
> -Lofton.
Received on Monday, 21 August 2006 15:19:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:19:09 GMT