node-dom-style.html revision 826a755dae58fba1f81a935a378e1ad0d33fc0ac
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style>
#demo {
background:#ccc;
}
</style>
<title>DOM Test Suite</title>
<script type="text/javascript" src="/build/yui/yui.js"></script>
</head>
<body>
<div id="demo">
</div>
<script type="text/javascript">
YUI({
filter: 'debug'
}).use('node', function (Y) {
alert(Y.one('#demo').getComputedStyle('backgroundColor'));
});
</script>
</body>
</html>