codenothing/CSSTree

View on GitHub
demo/index.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
<head>
    <title>CSS Tree</title>
    <link rel='stylesheet' type='text/css' href='css.css' />
    <script type='text/javascript' src='CSSTree.js'></script>
    <script type='text/javascript' src='jquery.js'></script>
    <script type='text/javascript' src='textarea.js'></script>
    <script type='text/javascript' src='js.js'></script>
</head>
<body>

<div id='body'>
    <h2>CSS Tree</h2>
    <div class='content'>
        <textarea></textarea>
        <pre class='hide'></pre>
    </div>
    <button>Convert</button>
    <label>
        <input type='checkbox' name='links' /> Inject Links
    </label>
    <label>
        <input type='checkbox' name='positions' /> Show Positions
    </label>
    <br clear='all' />
</div>

</body>
</html>