Re: Testing readonly-ness of SVGSVGElement.useCurrentView

Cameron McCormack:
> > I’m writing a test for
> > http://dev.w3.org/SVG/profiles/1.1F2/errata/errata.html#usecurrentview-should-be-read-only.
> > The way I want to test it is to have the document shown with a fragid
> > pointing to a <view> element, which should cause useCurrentView to be
> > true.  Then I will assign to the attribute and check that it remains
> > true.  How would I ensure that the fragid is used when the test is
> > shown?  I could just assume that it is, but that’s not going to work for
> > the test harness.

Chris Lilley:
> It should be possible to make the default view and the view specified
> in the test be visibly different. (Suspect I am missing something
> here).

My problem is that the test suite harness won’t link to the test with
the fragid on it, unless we meddle with the test suite harness
generation scripts.  For standalone viewing of the test, we could make
the default view show some text that say to reload the test with a given
fragid.

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Thursday, 6 August 2009 05:07:45 UTC