dom-base.html revision fdfbb58f76522ce41b2c8af7f0a9274dcf82cd4a
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai<script type="text/javascript" src="/build/yui/yui.js"></script>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai<script type="text/javascript" src="dom-core-test.js"></script>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai<script type="text/javascript" src="dom-class-test.js"></script>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai filter: 'raw',
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai combine: false,
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai useConsole: true
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai}).use('console', 'test', 'dom-core-test', 'dom-class-test', function (Y) {
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai //create the logger
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai var logger = new Y.Console({
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai height: '800px'
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai }).render();
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai //add the tests
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai Y.Test.Runner.on("complete", function(){
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai data = Y.Test.Runner.getCoverage(Y.Coverage.Format.JSON);
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai Y.DOM.byId("coverage-data").value = data;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desaih1, h2, h3, h4, h5, h6, p, ul, ol, li {
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai width: 30em;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai border:5px solid #000;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai margin:10px;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai padding:10px;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai background:#ccc;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai float:left; /* required for getStyle test */
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai opacity: 0.75;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai.yui-skin-sam .yui-console-entry-cat {
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai color: white;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai font-weight: bold;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai.yui-skin-sam .yui-console-entry-src,
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai.yui-skin-sam .yui-console-entry-time {
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai display: none;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai.yui-skin-sam .yui-console-entry {
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai.yui-skin-sam .yui-console-entry-pass .yui-console-entry-content {
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai text-align:right;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai.yui-skin-sam .yui-console-entry-pass .yui-console-entry-cat {
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai background-color: green;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai.yui-skin-sam .yui-console-entry-fail .yui-console-entry-cat {
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai background-color: red;
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <input id="test-name-id1" name="test-name-id2">
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <input id="test-name-id2" name="test-name-id1">
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <input id="test-text-value" value="test value">
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <textarea id="test-textarea-value" value="textarea value"></textarea>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <textarea id="test-textarea-no-value"></textarea>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <textarea id="test-textarea-text-value">textarea test</textarea>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <option id="test-option-value" value="option value">option text</option>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <option id="test-option-value-text">option text</option>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <option id="test-option-empty-value-text" value="">empty value</option>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <option id="test-option-empty-value" value=""></option>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <button id="test-button-value" value="button value">button</button>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <button id="test-button-empty-value" value="">button</button>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai <button id="test-button-text-value">button text</button>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai<iframe id="test-frame" src="test-frame.html"></iframe>
aa3181942968bcffcfc221a75d8bdc38c4c19b4bSatyen Desai<div id="test-element-by-axis">foo<div></div>bar<span></span>baz<em></em>