Skip to content

Commit

Permalink
Updated relative path to reference files in common/, images/
Browse files Browse the repository at this point in the history
An improvement of web-platform-tests#131 so that people can directly run tests from
http://w3c-test.org/web-platform-tests/
  • Loading branch information
zqzhang committed Jun 27, 2013
1 parent 3b83d1d commit fbca887
Show file tree
Hide file tree
Showing 177 changed files with 294 additions and 294 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/html5/video.html#attr-media-autoplay" />
<meta name="assert" content="Media plays automatically when 'autoplay' is true. (audio)" />
<script type="text/javascript" src="../../../../../common/media.js"></script>
<script type="text/javascript" src="../../../../common/media.js"></script>
<script type="text/javascript">

setFailTimeout(30000);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="Check if audio.loop is set to true that expecting the seeking event is fired more than once" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<div id="log"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="help" href="http://dev.w3.org/html5/spec/single-page.html#dom-media-loop" />
<meta name="flags" content="" />
<meta name="assert" content="Check if the audio element has a current media controller that expecting the loop attribute has no effect" />
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p>Test passes if the audio doesn't repeatly play and the text 'The user agent doesn't support media element.' does not appear anywhere on this page</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="help" href="http://dev.w3.org/html5/spec/single-page.html#dom-media-muted" />
<meta name="flags" content="" />
<meta name="assert" content="Check if the muted attribute is present in the audio element with volume is set to loudest that expecting the user hears no sound" />
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p>Test passes if the audio is playing without sound output and the text 'The user agent doesn't support media element.' does not appear anywhere on this page</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="help" href="http://dev.w3.org/html5/spec/single-page.html#dom-media-muted" />
<meta name="flags" content="" />
<meta name="assert" content="Check if the muted attribute is present in the audio element that expecting the user hears no sound" />
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p>Test passes if the audio is playing without sound output and the text 'The user agent doesn't support media element.' does not appear anywhere on this page</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="help" href="http://dev.w3.org/html5/spec/single-page.html#dom-media-volume" />
<meta name="flags" content="" />
<meta name="assert" content="Check if the volume attribute is set to 1.0 as loudest in the audio element that expecting the user hears sound loudly" />
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p>Test passes if the audio is playing with sound heard and the text 'The user agent doesn't support media element.' does not appear anywhere on this page</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="help" href="http://dev.w3.org/html5/spec/single-page.html#dom-media-volume" />
<meta name="flags" content="" />
<meta name="assert" content="Check if the volume attribute is set to 0.0 as silent in the audio element that expecting the user hears no sound" />
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p>Test passes if the audio is playing without sound heard and the text 'The user agent doesn't support media element.' does not appear anywhere on this page</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - canplay</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - canplaythrough</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - loadeddata</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - loadedmetadata</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - loadstart</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - canplay, then canplaythrough</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - canplay, then playing</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - loadedmetadata, then loadeddata</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - loadstart, then progress</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - pause</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - play</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - playing</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - progress</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - paused property</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - paused property</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - readyState property during canplay</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - readyState property during canplaythrough</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - readyState property during loadeddata</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - readyState property during loadedmetadata</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio events - readyState property during playing</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>audio.src - reflection test</title>
<script src="/resources/testharness.js"></script>
<script /resources/testharnessreport.js></script>
<script src="../../../../../common/media.js"></script>
<script src="../../../../common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#dom-media-src">spec reference</a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<link rel="help" href="http://dev.w3.org/2006/webapi/WebIDL/#es-stringifier">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=../../../../../common/stringifiers.js></script>
<script src=../../../../common/stringifiers.js></script>
<div id=log></div>
<script>
test(function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p>Test for <b>nohref</b> attribute on <b>area</b> </p>
<p>Hover over the Blue Square below. The square is not clickable but the area around it should be.</p>
<p>The test passes if clicking on the square doesn't do anything. Clicking on the area around the square should take you to another page.</p>
<img src="../../../../../images/blue-area.png" height="180" width="228" usemap="#square" border="0"/>
<img src="../../../../images/blue-area.png" height="180" width="228" usemap="#square" border="0"/>
<map name="square">
<area alt="Blue Square" coords="43,29,176,135" nohref=""/>
<area shape="rect" alt="White Space" coords="0,0,227,179" href="test-area.xhtml"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/html5/video.html#audio" />
<meta name="assert" content="Content inside the 'audio' element is not shown to the user (image)." />
<script type="text/javascript" src="../../../../../common/media.js"></script>
<script type="text/javascript" src="../../../../common/media.js"></script>

</head>
<body>
Expand Down Expand Up @@ -36,7 +36,7 @@
</pre>
<div id='testcontent'>

<audio><img src="../../../../../images/fail.gif" /></audio>
<audio><img src="../../../../images/fail.gif" /></audio>


</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/html5/video.html#audio" />
<meta name="assert" content="Content inside the 'audio' element is not shown to the user." />
<script type="text/javascript" src="../../../../../common/media.js"></script>
<script type="text/javascript" src="../../../../common/media.js"></script>

</head>
<body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<meta name="author" content="Philip Taylor">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../../common/canvas-tests.css">
<script src="../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../common/canvas-tests.css">
<body class="show_output">

<h1><a href="index.2d.html">2d</a>.<a href="index.2d.canvas.html">canvas</a>.readonly</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<meta name="author" content="Philip Taylor">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../../common/canvas-tests.css">
<script src="../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../common/canvas-tests.css">
<body class="show_output">

<h1><a href="index.2d.html">2d</a>.<a href="index.2d.canvas.html">canvas</a>.reference</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<meta name="author" content="Philip Taylor">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../../common/canvas-tests.css">
<script src="../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../common/canvas-tests.css">
<body class="show_output">

<h1><a href="index.2d.html">2d</a>.<a href="index.2d.getcontext.html">getcontext</a>.exists</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<meta name="author" content="Philip Taylor">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../../common/canvas-tests.css">
<script src="../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../common/canvas-tests.css">
<body class="show_output">

<h1><a href="index.2d.html">2d</a>.<a href="index.2d.getcontext.html">getcontext</a>.extraargs</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<meta name="author" content="Philip Taylor">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../../common/canvas-tests.css">
<script src="../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../common/canvas-tests.css">
<body class="show_output">

<h1><a href="index.2d.html">2d</a>.<a href="index.2d.getcontext.html">getcontext</a>.shared</h1>
Expand All @@ -18,7 +18,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.getcontext.html">getcontext

<p class="output">Actual output:</p>
<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas>
<p class="output expectedtext">Expected output:<p><img src="../../../../../images/green-100x50.png" class="output expected" id="expected" alt="">
<p class="output expectedtext">Expected output:<p><img src="../../../../images/green-100x50.png" class="output expected" id="expected" alt="">
<ul id="d"></ul>
<script>
var t = async_test("getContext('2d') returns objects which share canvas state");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<meta name="author" content="Philip Taylor">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../../common/canvas-tests.css">
<script src="../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../common/canvas-tests.css">
<body class="show_output">

<h1><a href="index.2d.html">2d</a>.<a href="index.2d.getcontext.html">getcontext</a>.unique</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<meta name="author" content="Philip Taylor">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../../common/canvas-tests.css">
<script src="../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../common/canvas-tests.css">
<body class="show_output">

<h1><a href="index.2d.html">2d</a>.scaled</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<meta name="author" content="Philip Taylor">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../../common/canvas-tests.css">
<script src="../../../../common/canvas-tests.js"></script>
<link rel="stylesheet" href="../../../../common/canvas-tests.css">
<body class="show_output">

<h1><a href="index.2d.html">2d</a>.<a href="index.2d.type.html">type</a>.exists</h1>
Expand Down
Loading

0 comments on commit fbca887

Please sign in to comment.