OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: re[3]: [cgmo-webcgm] Highlight test


Benoit,

I don't see the need for a highight Style either. I think that it's
consfusing for script writers to have 2 ways to highlight

Don.

  > I'm not so sure about this. After a quick look at our implementation,
  > I don't believe highlight is implemented as an Style Property.

  > As far as I can see, we agreed that highlighting is a 2 state system;
  > on or off (i.e., the API has two states: true or false). If we wanted
  > a Style Property like behavior we need three states (true, false,
  > inherit).

  > So in that particular test file, the code is trying to remove a
  > highlight which was never implicitly set.

  > I also think that the DOM behavior and the Object behavior should
  > match. I don't see anything with regards to inheritance of
  > highlighting in the object behavior section:
  > http://docs.oasis-open.org/webcgm/v2.0/WebCGM20-IC.html#webcgm_3_1_2_4

  > I'm not convinced there's a need to have highlight behave like a Style
  > Property... Those are my thoughts, feel free to comment.
  > -- 
  > 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, May 30, 2006, 7:22:52 PM, Lofton Henderson wrote:

  > > My opinion: the behaviors should be as you specify, and "yes", in
  > > Step 2 C and D should no longer be highlighted.

  > > If "highlight" were a Style Property, then that would definitely
  > > happen, according to the SP rules in 5.7.5 and the SP inheritance
  > > definitions in 5.4.

  > > But highlight() is a method, that can be applied to a collection of
  > > nodes (instead of just one at a time like setStyleProperty). I have
  > > always assumed it behaved like a Style Property, but I can't find
  > > where it actually says that in the spec. I would think some pretty
  > > bizarre things would happen if highlight() did not inherit like a
  > > SP.

  > > Does anyone think that highlight() doesn't behave as if it were a SP
  > > that is applied to a list of nodes instead of just one node at a
  > > time?

  > > -Lofton.


  > > At 02:25 PM 5/29/2006 -0700, Galt, Stuart A wrote:
  > >>Hello,
  > >>
  > >>Attached is an incomplete test for Picture-highlight but I wanted to
  > >>get some comments before it becomes part of the testsuite.
  > >>
  > >>The CGM chosen for the test has nested objects.  A contains B that
  > >>contains C that contains D.
  > >>
  > >>Step 1:  Sets the highlight on B to true.
  > >>Step 2:  Sets the highlight on C to false.
  > >>Step 3:  Sets the highlight on A to true.
  > >>Step 4:  Sets the highlight on A to false.
  > >>
  > >>In Step 1 I would expect B,C&D to highlight (B contains C and D).
  > >>In Step 2 should C and D be no longer highlighted?
  > >>
  > >>I will make the PNG that goes with the test when I get back to
  > >>Seattle next week.  I would be interested in hearing what the
  > >>results of Step 2 should be.
  > >>
  > >>Thanks.
  > >>
  > >>--
  > >>Stuart Galt
  > >>SGML Resource Group
  > >>stuart.a.galt@boeing.com
  > >>(206) 544-3656


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]