<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/struct/head/access/4" class="A" scope="wml" testtype="application" type="manual" source="wml13#11.3.1" device="both">
  <assertion>When the DOMAIN attribute of the ACCESS element (of a new deck)
is set to a period separated domain suffix, the domain of the current deck is
compared to this suffix - where each element specified must match exactly for
access to be granted.
</assertion>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>Select this&nbsp;
<anchor>
<go href="<deck1>">
</go>
link</anchor>
&nbsp;to try to access a card that has access
restrictions via domain.</p>
<p mode="wrap">Did the user agent deny access to the resource pointed to by the link?
<br />
<yesno>
</p>
</card>]]>
  </method>
  <decks>
    <deck id="1">
      <![CDATA[<head>
<access domain="foo"/>
</head>
<card id="main">
<p>You should never see this!</p>
<auto_failed>
</card>
]]>
    </deck>
  </decks>
</test>

