Permalink
Browse files

Rendering LogReader into new page element to avoid #1103. Other minor…

… (and probably unnecessary) markup tweaks.
  • Loading branch information...
1 parent 55a7578 commit 0cbdb1c5a841be38de8958c081367ebfe1a4a65f @lsmith lsmith committed Oct 14, 2009
@@ -67,7 +67,7 @@
Event.onDOMReady(function () {
- var logReader = new YAHOO.widget.LogReader();
+ var logReader = new YAHOO.widget.LogReader('log');
// Create a Button using an existing <input> and <select> element.
@@ -137,6 +137,7 @@
<body class=" yui-skin-sam">
+<div id="log"></div>
<h1>Button activeElement Test</h1>
<p>Test case for <a href="#">bug 2528245</a>.</p>
<p>
@@ -160,4 +161,4 @@
</form>
</body>
-</html>
+</html>
@@ -1,6 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "#">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "#">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -1,6 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "#">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "#">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -1,5 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "#">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "#">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
@@ -141,4 +140,4 @@
</fieldset>
</body>
-</html>
+</html>
@@ -1,5 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "#">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "#">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -127,4 +126,4 @@
</div>
</body>
-</html>
+</html>
@@ -1,6 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "#">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "#">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -2,7 +2,6 @@
<html>
<head>
<title>Test Page</title>
- <link type="text/css" rel="stylesheet" href="/assets/dpSyntaxHighlighter.css">
<link type="text/css" rel="stylesheet" href="yui/logger/assets/logger.css">
<link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css">
<link type="text/css" rel="stylesheet" href="yui/paginator/assets/skins/sam/paginator.css">
@@ -145,7 +144,5 @@
})();
</script>
-<script type="text/javascript" src="/assets/dpSyntaxHighlighter.js"></script>
-<script type="text/javascript" src="/assets/dpSyntaxHighlightExample.js"></script>
</body>
</html>
@@ -24,6 +24,7 @@
<script type="text/javascript" src="datatable/RecordSet.js"></script>
</head>
<body class="yui-skin-sam">
+<div id="log"></div>
<h1>DataTable Tests</h1>
<p><input type="button" value="Run Tests" id="btnRun" disabled="true" /></p>
@@ -39,7 +40,7 @@
*
*/
YAHOO.util.Event.addListener(window, "load", function() {
- var logger = new YAHOO.tool.TestLogger();
+ var logger = new YAHOO.tool.TestLogger('log');
if (parent && parent != window) {
YAHOO.tool.TestManager.load();
@@ -3,8 +3,8 @@
<head>
<title>YUI Event Delegate Tests</title>
- <link rel="stylesheet" type="text/css" href="#">
- <link rel="stylesheet" type="text/css" href="#">
+ <link type="text/css" rel="stylesheet" href="yui/logger/assets/logger.css">
+ <link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css">
<script type="text/javascript" src="yui/yahoo/yahoo-min.js"></script>
<script type="text/javascript" src="yui/dom/dom-min.js"></script>
@@ -339,4 +339,4 @@
</body>
</html>
-`
+`
@@ -1,5 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "#">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "#">
<html lang="en">
<head>
@@ -1,6 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "#">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "#">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -36,7 +34,7 @@
Event.onDOMReady(function () {
- var logReader = new YAHOO.widget.LogReader();
+ var logReader = new YAHOO.widget.LogReader('log');
});
@@ -97,6 +95,7 @@
</head>
<body class="yui-skin-sam">
+ <div id="log"></div>
<h1>MouseEnter and MouseLeave Event Tests</h1>
<p>Using this test:</p>
@@ -1,6 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "#">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "#">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -1,6 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "#">
-
+<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -33,7 +31,7 @@
Event.onDOMReady(function () {
- var logReader = new YAHOO.widget.LogReader();
+ var logReader = new YAHOO.widget.LogReader('log');
});
@@ -44,6 +42,7 @@
</head>
<body class="yui-skin-sam">
+ <div id="log"></div>
<h1>Focus and Blur Test</h1>
<ul>
@@ -3,8 +3,8 @@
<head>
<title>YUI Event Delegate Tests</title>
- <link rel="stylesheet" type="text/css" href="#">
- <link rel="stylesheet" type="text/css" href="#">
+ <link type="text/css" rel="stylesheet" href="yui/logger/assets/logger.css">
+ <link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css">
<script type="text/javascript" src="yui/yahoo/yahoo-min.js"></script>
<script type="text/javascript" src="yui/dom/dom-min.js"></script>
@@ -251,4 +251,4 @@
</body>
</html>
-`
+`
@@ -1,8 +1,8 @@
<html>
<head>
<title>YUI Logger Tests</title>
-<link type="text/css" rel="stylesheet" href="yui/logger/assets/skins/sam/logger.css" />
-<link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css" />
+<link type="text/css" rel="stylesheet" href="yui/logger/assets/logger.css">
+<link type="text/css" rel="stylesheet" href="yui/yuitest/assets/testlogger.css">
<script type="text/javascript" src="yui/yahoo/yahoo.js"></script>
<script type="text/javascript" src="yui/dom/dom.js"></script>

0 comments on commit 0cbdb1c

Please sign in to comment.