  


<!DOCTYPE html>
<html>
  <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# githubog: http://ogp.me/ns/fb/githubog#">
    <meta charset='utf-8'>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>box-sizing-polyfill/boxsizing.htc at master · Schepp/box-sizing-polyfill · GitHub</title>
    <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" />
    <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

    
    

    <meta content="authenticity_token" name="csrf-param" />
<meta content="IFSD9CRoedg7o9H4yDmciw7eQViopIiO0tDvckwGROA=" name="csrf-token" />

    <link href="https://a248.e.akamai.net/assets.github.com/stylesheets/bundles/github-83f6d9de9d84b203707ab4ba8bdf0bd6478f0d5b.css" media="screen" rel="stylesheet" type="text/css" />
    <link href="https://a248.e.akamai.net/assets.github.com/stylesheets/bundles/github2-abb1ff53e1e45f192dcab3e295f2e2ee5eb90995.css" media="screen" rel="stylesheet" type="text/css" />
    
    


    <script src="https://a248.e.akamai.net/assets.github.com/javascripts/bundles/frameworks-a450c7f907bdc1ee6b362ab1ecca811c761fd259.js" type="text/javascript"></script>
    
    <script defer="defer" src="https://a248.e.akamai.net/assets.github.com/javascripts/bundles/github-6794f2c277257830cc1fb49dbcb48c0932ca8a08.js" type="text/javascript"></script>
    
    

      <link rel='permalink' href='/Schepp/box-sizing-polyfill/blob/b3f495c7e562b6e6325df8b51bf426e10b5baafc/boxsizing.htc'>
    <meta property="og:title" content="box-sizing-polyfill"/>
    <meta property="og:type" content="githubog:gitrepository"/>
    <meta property="og:url" content="https://github.com/Schepp/box-sizing-polyfill"/>
    <meta property="og:image" content="https://a248.e.akamai.net/assets.github.com/images/gravatars/gravatar-140.png?1329275985"/>
    <meta property="og:site_name" content="GitHub"/>
    <meta property="og:description" content="A CSS box-sizing: border-box polyfill for IE 6/7. Contribute to box-sizing-polyfill development by creating an account on GitHub."/>

    <meta name="description" content="A CSS box-sizing: border-box polyfill for IE 6/7. Contribute to box-sizing-polyfill development by creating an account on GitHub." />

  <link href="https://github.com/Schepp/box-sizing-polyfill/commits/master.atom" rel="alternate" title="Recent Commits to box-sizing-polyfill:master" type="application/atom+xml" />

  </head>


  <body class="logged_out page-blob windows vis-public env-production " data-blob-contribs-enabled="yes">
    <div id="wrapper">

    
    
    

      <div id="header" class="true clearfix">
        <div class="container clearfix">
          <a class="site-logo" href="https://github.com/">
            <!--[if IE]>
            <img alt="GitHub" class="github-logo" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7.png?1323882804" />
            <img alt="GitHub" class="github-logo-hover" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7-hover.png?1324325453" />
            <![endif]-->
            <img alt="GitHub" class="github-logo-4x" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@4x.png?1337118068" />
            <img alt="GitHub" class="github-logo-4x-hover" height="30" src="https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@4x-hover.png?1337118068" />
          </a>

                  <!--
      make sure to use fully qualified URLs here since this nav
      is used on error pages on other domains
    -->
    <ul class="top-nav logged_out">
        <li class="pricing"><a href="https://github.com/plans">Signup and Pricing</a></li>
        <li class="explore"><a href="https://github.com/explore">Explore GitHub</a></li>
      <li class="features"><a href="https://github.com/features">Features</a></li>
        <li class="blog"><a href="https://github.com/blog">Blog</a></li>
      <li class="login"><a href="https://github.com/login?return_to=%2FSchepp%2Fbox-sizing-polyfill%2Fblob%2Fmaster%2Fboxsizing.htc">Login</a></li>
    </ul>



          
        </div>
      </div>

      

            <div class="site hfeed" itemscope itemtype="http://schema.org/WebPage">
      <div class="container hentry">
        <div class="pagehead repohead instapaper_ignore readability-menu">
        <div class="title-actions-bar">
          



              <ul class="pagehead-actions">



          <li>
            <span class="watch-button"><a href="/login?return_to=%2FSchepp%2Fbox-sizing-polyfill" class="minibutton btn-watch js-toggler-target entice tooltipped leftwards" title="You must be logged in to use this feature" rel="nofollow"><span class="icon"></span> Watch</a><a class="social-count js-social-count" href="/Schepp/box-sizing-polyfill/watchers">199</a></span>
          </li>
          <li>
            <a href="/login?return_to=%2FSchepp%2Fbox-sizing-polyfill" class="minibutton btn-fork js-toggler-target fork-button entice tooltipped leftwards"  title="You must be logged in to use this feature" rel="nofollow"><span class="icon"></span>Fork</a><a href="/Schepp/box-sizing-polyfill/network" class="social-count">11</a>
          </li>

    </ul>

          <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public">
            <span class="repo-label"><span>public</span></span>
            <span class="mega-icon mega-icon-public-repo"></span>
            <span class="author vcard">
<a href="/Schepp" class="url fn" itemprop="url" rel="author">              <span itemprop="title">Schepp</span>
              </a></span> /
            <strong><a href="/Schepp/box-sizing-polyfill" class="js-current-repository">box-sizing-polyfill</a></strong>
          </h1>
        </div>

          

  <ul class="tabs">
    <li><a href="/Schepp/box-sizing-polyfill" class="selected" highlight="repo_sourcerepo_downloadsrepo_commitsrepo_tagsrepo_branches">Code</a></li>
    <li><a href="/Schepp/box-sizing-polyfill/network" highlight="repo_network">Network</a>
    <li><a href="/Schepp/box-sizing-polyfill/pulls" highlight="repo_pulls">Pull Requests <span class='counter'>0</span></a></li>

      <li><a href="/Schepp/box-sizing-polyfill/issues" highlight="repo_issues">Issues <span class='counter'>5</span></a></li>


    <li><a href="/Schepp/box-sizing-polyfill/graphs" highlight="repo_graphsrepo_contributors">Graphs</a></li>

  </ul>
 
<div class="frame frame-center tree-finder" style="display:none"
      data-tree-list-url="/Schepp/box-sizing-polyfill/tree-list/b3f495c7e562b6e6325df8b51bf426e10b5baafc"
      data-blob-url-prefix="/Schepp/box-sizing-polyfill/blob/b3f495c7e562b6e6325df8b51bf426e10b5baafc"
    >

  <div class="breadcrumb">
    <span class="bold"><a href="/Schepp/box-sizing-polyfill">box-sizing-polyfill</a></span> /
    <input class="tree-finder-input js-navigation-enable" type="text" name="query" autocomplete="off" spellcheck="false">
  </div>

    <div class="octotip">
      <p>
        <a href="/Schepp/box-sizing-polyfill/dismiss-tree-finder-help" class="dismiss js-dismiss-tree-list-help" title="Hide this notice forever" rel="nofollow">Dismiss</a>
        <span class="bold">Octotip:</span> You've activated the <em>file finder</em>
        by pressing <span class="kbd">t</span> Start typing to filter the
        file list. Use <span class="kbd badmono">↑</span> and
        <span class="kbd badmono">↓</span> to navigate,
        <span class="kbd">enter</span> to view files.
      </p>
    </div>

  <table class="tree-browser" cellpadding="0" cellspacing="0">
    <tr class="js-header"><th>&nbsp;</th><th>name</th></tr>
    <tr class="js-no-results no-results" style="display: none">
      <th colspan="2">No matching files</th>
    </tr>
    <tbody class="js-results-list js-navigation-container">
    </tbody>
  </table>
</div>

<div id="jump-to-line" style="display:none">
  <h2>Jump to Line</h2>
  <form accept-charset="UTF-8">
    <input class="textfield" type="text">
    <div class="full-button">
      <button type="submit" class="classy">
        <span>Go</span>
      </button>
    </div>
  </form>
</div>


<div class="subnav-bar">

  <ul class="actions subnav">
    <li><a href="/Schepp/box-sizing-polyfill/tags" class="blank" highlight="repo_tags">Tags <span class="counter">0</span></a></li>
    <li><a href="/Schepp/box-sizing-polyfill/downloads" class="blank downloads-blank" highlight="repo_downloads">Downloads <span class="counter">0</span></a></li>
    
  </ul>

  <ul class="scope">
    <li class="switcher">

      <div class="context-menu-container js-menu-container js-context-menu">
        <a href="#"
           class="minibutton bigger switcher js-menu-target js-commitish-button btn-branch repo-tree"
           data-hotkey="w"
           data-master-branch="master"
           data-ref="master">
           <span><span class="icon"></span><i>branch:</i> master</span>
        </a>

        <div class="context-pane commitish-context js-menu-content">
          <a href="javascript:;" class="close js-menu-close"><span class="mini-icon mini-icon-remove-close"></span></a>
          <div class="context-title">Switch Branches/Tags</div>
          <div class="context-body pane-selector commitish-selector js-navigation-container">
            <div class="filterbar">
              <input type="text" id="context-commitish-filter-field" class="js-navigation-enable" placeholder="Filter branches/tags" data-filterable />

              <ul class="tabs">
                <li><a href="#" data-filter="branches" class="selected">Branches</a></li>
                <li><a href="#" data-filter="tags">Tags</a></li>
              </ul>
            </div>

            <div class="js-filter-tab js-filter-branches" data-filterable-for="context-commitish-filter-field">
              <div class="no-results js-not-filterable">Nothing to show</div>
                <div class="commitish-item branch-commitish selector-item js-navigation-item js-navigation-target">
                  <h4>
                      <a href="/Schepp/box-sizing-polyfill/blob/master/boxsizing.htc" class="js-navigation-open" data-name="master" rel="nofollow">master</a>
                  </h4>
                </div>
            </div>

            <div class="js-filter-tab js-filter-tags" style="display:none" data-filterable-for="context-commitish-filter-field">
              <div class="no-results js-not-filterable">Nothing to show</div>
            </div>
          </div>
        </div><!-- /.commitish-context-context -->
      </div>

    </li>
  </ul>

  <ul class="subnav with-scope">

    <li><a href="/Schepp/box-sizing-polyfill" class="selected" highlight="repo_source">Files</a></li>
    <li><a href="/Schepp/box-sizing-polyfill/commits/master" highlight="repo_commits">Commits</a></li>
    <li><a href="/Schepp/box-sizing-polyfill/branches" class="" highlight="repo_branches" rel="nofollow">Branches <span class="counter">1</span></a></li>
  </ul>

</div>

  
  
  


          

        </div><!-- /.repohead -->

        





<!-- block_view_fragment_key: views10/v8/blob:v21:d0be73b0e5bcf3c96aed8ae666ea0866 -->
  <div id="slider">

    <div class="breadcrumb" data-path="boxsizing.htc/">
      <b itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/Schepp/box-sizing-polyfill/tree/b3f495c7e562b6e6325df8b51bf426e10b5baafc" class="js-rewrite-sha" itemprop="url"><span itemprop="title">box-sizing-polyfill</span></a></b> / <strong class="final-path">boxsizing.htc</strong> <span class="js-clippy mini-icon mini-icon-clippy " data-clipboard-text="boxsizing.htc" data-copied-hint="copied!" data-copy-hint="copy to clipboard"></span>
    </div>


      <div class="commit file-history-tease" data-path="boxsizing.htc/">
        <img class="main-avatar" height="24" src="https://secure.gravatar.com/avatar/7096dcb1690ef7418c4e94518f2fed31?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png" width="24" />
        <span class="author"><a href="/Schepp">Schepp</a></span>
        <time class="js-relative-date" datetime="2012-04-11T07:37:58-07:00" title="2012-04-11 07:37:58">April 11, 2012</time>
        <div class="commit-title">
            <a href="/Schepp/box-sizing-polyfill/commit/b3f495c7e562b6e6325df8b51bf426e10b5baafc" class="message">(Hopefully) Fixed some bugs related to reloading and resizing of the …</a>
        </div>

        <div class="participation">
          <p class="quickstat"><a href="#blob_contributors_box" rel="facebox"><strong>2</strong> contributors</a></p>
              <a class="avatar tooltipped downwards" title="Schepp" href="/Schepp/box-sizing-polyfill/commits/master/boxsizing.htc?author=Schepp"><img height="20" src="https://secure.gravatar.com/avatar/7096dcb1690ef7418c4e94518f2fed31?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png" width="20" /></a>
    <a class="avatar tooltipped downwards" title="adamnbowen" href="/Schepp/box-sizing-polyfill/commits/master/boxsizing.htc?author=adamnbowen"><img height="20" src="https://secure.gravatar.com/avatar/f1a15d42781516879dab863cc5f46297?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png" width="20" /></a>


        </div>
        <div id="blob_contributors_box" style="display:none">
          <h2>Users on GitHub who have contributed to this file</h2>
          <ul class="facebox-user-list">
            <li>
              <img height="24" src="https://secure.gravatar.com/avatar/7096dcb1690ef7418c4e94518f2fed31?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png" width="24" />
              <a href="/Schepp">Schepp</a>
            </li>
            <li>
              <img height="24" src="https://secure.gravatar.com/avatar/f1a15d42781516879dab863cc5f46297?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png" width="24" />
              <a href="/adamnbowen">adamnbowen</a>
            </li>
          </ul>
        </div>
      </div>

    <div class="frames">
      <div class="frame frame-center" data-path="boxsizing.htc/" data-permalink-url="/Schepp/box-sizing-polyfill/blob/b3f495c7e562b6e6325df8b51bf426e10b5baafc/boxsizing.htc" data-title="box-sizing-polyfill/boxsizing.htc at master · Schepp/box-sizing-polyfill · GitHub" data-type="blob">

        <div id="files" class="bubble">
          <div class="file">
            <div class="meta">
              <div class="info">
                <span class="icon"><b class="mini-icon mini-icon-text-file"></b></span>
                <span class="mode" title="File Mode">100644</span>
                  <span>399 lines (360 sloc)</span>
                <span>10.667 kb</span>
              </div>
              <ul class="button-group actions">
                  <li>
                    <a class="grouped-button file-edit-link minibutton bigger lighter js-rewrite-sha" href="/Schepp/box-sizing-polyfill/edit/b3f495c7e562b6e6325df8b51bf426e10b5baafc/boxsizing.htc" data-method="post" rel="nofollow" data-hotkey="e">Edit this file</a>
                  </li>

                <li>
                  <a href="/Schepp/box-sizing-polyfill/raw/master/boxsizing.htc" class="minibutton btn-raw grouped-button bigger lighter" id="raw-url"><span class="icon"></span>Raw</a>
                </li>
                  <li>
                    <a href="/Schepp/box-sizing-polyfill/blame/master/boxsizing.htc" class="minibutton btn-blame grouped-button bigger lighter"><span class="icon"></span>Blame</a>
                  </li>
                <li>
                  <a href="/Schepp/box-sizing-polyfill/commits/master/boxsizing.htc" class="minibutton btn-history grouped-button bigger lighter" rel="nofollow"><span class="icon"></span>History</a>
                </li>
              </ul>
            </div>
              <div class="data type-text">
      <table cellpadding="0" cellspacing="0" class="lines">
        <tr>
          <td>
            <pre class="line_numbers"><span id="L1" rel="#L1">1</span>
<span id="L2" rel="#L2">2</span>
<span id="L3" rel="#L3">3</span>
<span id="L4" rel="#L4">4</span>
<span id="L5" rel="#L5">5</span>
<span id="L6" rel="#L6">6</span>
<span id="L7" rel="#L7">7</span>
<span id="L8" rel="#L8">8</span>
<span id="L9" rel="#L9">9</span>
<span id="L10" rel="#L10">10</span>
<span id="L11" rel="#L11">11</span>
<span id="L12" rel="#L12">12</span>
<span id="L13" rel="#L13">13</span>
<span id="L14" rel="#L14">14</span>
<span id="L15" rel="#L15">15</span>
<span id="L16" rel="#L16">16</span>
<span id="L17" rel="#L17">17</span>
<span id="L18" rel="#L18">18</span>
<span id="L19" rel="#L19">19</span>
<span id="L20" rel="#L20">20</span>
<span id="L21" rel="#L21">21</span>
<span id="L22" rel="#L22">22</span>
<span id="L23" rel="#L23">23</span>
<span id="L24" rel="#L24">24</span>
<span id="L25" rel="#L25">25</span>
<span id="L26" rel="#L26">26</span>
<span id="L27" rel="#L27">27</span>
<span id="L28" rel="#L28">28</span>
<span id="L29" rel="#L29">29</span>
<span id="L30" rel="#L30">30</span>
<span id="L31" rel="#L31">31</span>
<span id="L32" rel="#L32">32</span>
<span id="L33" rel="#L33">33</span>
<span id="L34" rel="#L34">34</span>
<span id="L35" rel="#L35">35</span>
<span id="L36" rel="#L36">36</span>
<span id="L37" rel="#L37">37</span>
<span id="L38" rel="#L38">38</span>
<span id="L39" rel="#L39">39</span>
<span id="L40" rel="#L40">40</span>
<span id="L41" rel="#L41">41</span>
<span id="L42" rel="#L42">42</span>
<span id="L43" rel="#L43">43</span>
<span id="L44" rel="#L44">44</span>
<span id="L45" rel="#L45">45</span>
<span id="L46" rel="#L46">46</span>
<span id="L47" rel="#L47">47</span>
<span id="L48" rel="#L48">48</span>
<span id="L49" rel="#L49">49</span>
<span id="L50" rel="#L50">50</span>
<span id="L51" rel="#L51">51</span>
<span id="L52" rel="#L52">52</span>
<span id="L53" rel="#L53">53</span>
<span id="L54" rel="#L54">54</span>
<span id="L55" rel="#L55">55</span>
<span id="L56" rel="#L56">56</span>
<span id="L57" rel="#L57">57</span>
<span id="L58" rel="#L58">58</span>
<span id="L59" rel="#L59">59</span>
<span id="L60" rel="#L60">60</span>
<span id="L61" rel="#L61">61</span>
<span id="L62" rel="#L62">62</span>
<span id="L63" rel="#L63">63</span>
<span id="L64" rel="#L64">64</span>
<span id="L65" rel="#L65">65</span>
<span id="L66" rel="#L66">66</span>
<span id="L67" rel="#L67">67</span>
<span id="L68" rel="#L68">68</span>
<span id="L69" rel="#L69">69</span>
<span id="L70" rel="#L70">70</span>
<span id="L71" rel="#L71">71</span>
<span id="L72" rel="#L72">72</span>
<span id="L73" rel="#L73">73</span>
<span id="L74" rel="#L74">74</span>
<span id="L75" rel="#L75">75</span>
<span id="L76" rel="#L76">76</span>
<span id="L77" rel="#L77">77</span>
<span id="L78" rel="#L78">78</span>
<span id="L79" rel="#L79">79</span>
<span id="L80" rel="#L80">80</span>
<span id="L81" rel="#L81">81</span>
<span id="L82" rel="#L82">82</span>
<span id="L83" rel="#L83">83</span>
<span id="L84" rel="#L84">84</span>
<span id="L85" rel="#L85">85</span>
<span id="L86" rel="#L86">86</span>
<span id="L87" rel="#L87">87</span>
<span id="L88" rel="#L88">88</span>
<span id="L89" rel="#L89">89</span>
<span id="L90" rel="#L90">90</span>
<span id="L91" rel="#L91">91</span>
<span id="L92" rel="#L92">92</span>
<span id="L93" rel="#L93">93</span>
<span id="L94" rel="#L94">94</span>
<span id="L95" rel="#L95">95</span>
<span id="L96" rel="#L96">96</span>
<span id="L97" rel="#L97">97</span>
<span id="L98" rel="#L98">98</span>
<span id="L99" rel="#L99">99</span>
<span id="L100" rel="#L100">100</span>
<span id="L101" rel="#L101">101</span>
<span id="L102" rel="#L102">102</span>
<span id="L103" rel="#L103">103</span>
<span id="L104" rel="#L104">104</span>
<span id="L105" rel="#L105">105</span>
<span id="L106" rel="#L106">106</span>
<span id="L107" rel="#L107">107</span>
<span id="L108" rel="#L108">108</span>
<span id="L109" rel="#L109">109</span>
<span id="L110" rel="#L110">110</span>
<span id="L111" rel="#L111">111</span>
<span id="L112" rel="#L112">112</span>
<span id="L113" rel="#L113">113</span>
<span id="L114" rel="#L114">114</span>
<span id="L115" rel="#L115">115</span>
<span id="L116" rel="#L116">116</span>
<span id="L117" rel="#L117">117</span>
<span id="L118" rel="#L118">118</span>
<span id="L119" rel="#L119">119</span>
<span id="L120" rel="#L120">120</span>
<span id="L121" rel="#L121">121</span>
<span id="L122" rel="#L122">122</span>
<span id="L123" rel="#L123">123</span>
<span id="L124" rel="#L124">124</span>
<span id="L125" rel="#L125">125</span>
<span id="L126" rel="#L126">126</span>
<span id="L127" rel="#L127">127</span>
<span id="L128" rel="#L128">128</span>
<span id="L129" rel="#L129">129</span>
<span id="L130" rel="#L130">130</span>
<span id="L131" rel="#L131">131</span>
<span id="L132" rel="#L132">132</span>
<span id="L133" rel="#L133">133</span>
<span id="L134" rel="#L134">134</span>
<span id="L135" rel="#L135">135</span>
<span id="L136" rel="#L136">136</span>
<span id="L137" rel="#L137">137</span>
<span id="L138" rel="#L138">138</span>
<span id="L139" rel="#L139">139</span>
<span id="L140" rel="#L140">140</span>
<span id="L141" rel="#L141">141</span>
<span id="L142" rel="#L142">142</span>
<span id="L143" rel="#L143">143</span>
<span id="L144" rel="#L144">144</span>
<span id="L145" rel="#L145">145</span>
<span id="L146" rel="#L146">146</span>
<span id="L147" rel="#L147">147</span>
<span id="L148" rel="#L148">148</span>
<span id="L149" rel="#L149">149</span>
<span id="L150" rel="#L150">150</span>
<span id="L151" rel="#L151">151</span>
<span id="L152" rel="#L152">152</span>
<span id="L153" rel="#L153">153</span>
<span id="L154" rel="#L154">154</span>
<span id="L155" rel="#L155">155</span>
<span id="L156" rel="#L156">156</span>
<span id="L157" rel="#L157">157</span>
<span id="L158" rel="#L158">158</span>
<span id="L159" rel="#L159">159</span>
<span id="L160" rel="#L160">160</span>
<span id="L161" rel="#L161">161</span>
<span id="L162" rel="#L162">162</span>
<span id="L163" rel="#L163">163</span>
<span id="L164" rel="#L164">164</span>
<span id="L165" rel="#L165">165</span>
<span id="L166" rel="#L166">166</span>
<span id="L167" rel="#L167">167</span>
<span id="L168" rel="#L168">168</span>
<span id="L169" rel="#L169">169</span>
<span id="L170" rel="#L170">170</span>
<span id="L171" rel="#L171">171</span>
<span id="L172" rel="#L172">172</span>
<span id="L173" rel="#L173">173</span>
<span id="L174" rel="#L174">174</span>
<span id="L175" rel="#L175">175</span>
<span id="L176" rel="#L176">176</span>
<span id="L177" rel="#L177">177</span>
<span id="L178" rel="#L178">178</span>
<span id="L179" rel="#L179">179</span>
<span id="L180" rel="#L180">180</span>
<span id="L181" rel="#L181">181</span>
<span id="L182" rel="#L182">182</span>
<span id="L183" rel="#L183">183</span>
<span id="L184" rel="#L184">184</span>
<span id="L185" rel="#L185">185</span>
<span id="L186" rel="#L186">186</span>
<span id="L187" rel="#L187">187</span>
<span id="L188" rel="#L188">188</span>
<span id="L189" rel="#L189">189</span>
<span id="L190" rel="#L190">190</span>
<span id="L191" rel="#L191">191</span>
<span id="L192" rel="#L192">192</span>
<span id="L193" rel="#L193">193</span>
<span id="L194" rel="#L194">194</span>
<span id="L195" rel="#L195">195</span>
<span id="L196" rel="#L196">196</span>
<span id="L197" rel="#L197">197</span>
<span id="L198" rel="#L198">198</span>
<span id="L199" rel="#L199">199</span>
<span id="L200" rel="#L200">200</span>
<span id="L201" rel="#L201">201</span>
<span id="L202" rel="#L202">202</span>
<span id="L203" rel="#L203">203</span>
<span id="L204" rel="#L204">204</span>
<span id="L205" rel="#L205">205</span>
<span id="L206" rel="#L206">206</span>
<span id="L207" rel="#L207">207</span>
<span id="L208" rel="#L208">208</span>
<span id="L209" rel="#L209">209</span>
<span id="L210" rel="#L210">210</span>
<span id="L211" rel="#L211">211</span>
<span id="L212" rel="#L212">212</span>
<span id="L213" rel="#L213">213</span>
<span id="L214" rel="#L214">214</span>
<span id="L215" rel="#L215">215</span>
<span id="L216" rel="#L216">216</span>
<span id="L217" rel="#L217">217</span>
<span id="L218" rel="#L218">218</span>
<span id="L219" rel="#L219">219</span>
<span id="L220" rel="#L220">220</span>
<span id="L221" rel="#L221">221</span>
<span id="L222" rel="#L222">222</span>
<span id="L223" rel="#L223">223</span>
<span id="L224" rel="#L224">224</span>
<span id="L225" rel="#L225">225</span>
<span id="L226" rel="#L226">226</span>
<span id="L227" rel="#L227">227</span>
<span id="L228" rel="#L228">228</span>
<span id="L229" rel="#L229">229</span>
<span id="L230" rel="#L230">230</span>
<span id="L231" rel="#L231">231</span>
<span id="L232" rel="#L232">232</span>
<span id="L233" rel="#L233">233</span>
<span id="L234" rel="#L234">234</span>
<span id="L235" rel="#L235">235</span>
<span id="L236" rel="#L236">236</span>
<span id="L237" rel="#L237">237</span>
<span id="L238" rel="#L238">238</span>
<span id="L239" rel="#L239">239</span>
<span id="L240" rel="#L240">240</span>
<span id="L241" rel="#L241">241</span>
<span id="L242" rel="#L242">242</span>
<span id="L243" rel="#L243">243</span>
<span id="L244" rel="#L244">244</span>
<span id="L245" rel="#L245">245</span>
<span id="L246" rel="#L246">246</span>
<span id="L247" rel="#L247">247</span>
<span id="L248" rel="#L248">248</span>
<span id="L249" rel="#L249">249</span>
<span id="L250" rel="#L250">250</span>
<span id="L251" rel="#L251">251</span>
<span id="L252" rel="#L252">252</span>
<span id="L253" rel="#L253">253</span>
<span id="L254" rel="#L254">254</span>
<span id="L255" rel="#L255">255</span>
<span id="L256" rel="#L256">256</span>
<span id="L257" rel="#L257">257</span>
<span id="L258" rel="#L258">258</span>
<span id="L259" rel="#L259">259</span>
<span id="L260" rel="#L260">260</span>
<span id="L261" rel="#L261">261</span>
<span id="L262" rel="#L262">262</span>
<span id="L263" rel="#L263">263</span>
<span id="L264" rel="#L264">264</span>
<span id="L265" rel="#L265">265</span>
<span id="L266" rel="#L266">266</span>
<span id="L267" rel="#L267">267</span>
<span id="L268" rel="#L268">268</span>
<span id="L269" rel="#L269">269</span>
<span id="L270" rel="#L270">270</span>
<span id="L271" rel="#L271">271</span>
<span id="L272" rel="#L272">272</span>
<span id="L273" rel="#L273">273</span>
<span id="L274" rel="#L274">274</span>
<span id="L275" rel="#L275">275</span>
<span id="L276" rel="#L276">276</span>
<span id="L277" rel="#L277">277</span>
<span id="L278" rel="#L278">278</span>
<span id="L279" rel="#L279">279</span>
<span id="L280" rel="#L280">280</span>
<span id="L281" rel="#L281">281</span>
<span id="L282" rel="#L282">282</span>
<span id="L283" rel="#L283">283</span>
<span id="L284" rel="#L284">284</span>
<span id="L285" rel="#L285">285</span>
<span id="L286" rel="#L286">286</span>
<span id="L287" rel="#L287">287</span>
<span id="L288" rel="#L288">288</span>
<span id="L289" rel="#L289">289</span>
<span id="L290" rel="#L290">290</span>
<span id="L291" rel="#L291">291</span>
<span id="L292" rel="#L292">292</span>
<span id="L293" rel="#L293">293</span>
<span id="L294" rel="#L294">294</span>
<span id="L295" rel="#L295">295</span>
<span id="L296" rel="#L296">296</span>
<span id="L297" rel="#L297">297</span>
<span id="L298" rel="#L298">298</span>
<span id="L299" rel="#L299">299</span>
<span id="L300" rel="#L300">300</span>
<span id="L301" rel="#L301">301</span>
<span id="L302" rel="#L302">302</span>
<span id="L303" rel="#L303">303</span>
<span id="L304" rel="#L304">304</span>
<span id="L305" rel="#L305">305</span>
<span id="L306" rel="#L306">306</span>
<span id="L307" rel="#L307">307</span>
<span id="L308" rel="#L308">308</span>
<span id="L309" rel="#L309">309</span>
<span id="L310" rel="#L310">310</span>
<span id="L311" rel="#L311">311</span>
<span id="L312" rel="#L312">312</span>
<span id="L313" rel="#L313">313</span>
<span id="L314" rel="#L314">314</span>
<span id="L315" rel="#L315">315</span>
<span id="L316" rel="#L316">316</span>
<span id="L317" rel="#L317">317</span>
<span id="L318" rel="#L318">318</span>
<span id="L319" rel="#L319">319</span>
<span id="L320" rel="#L320">320</span>
<span id="L321" rel="#L321">321</span>
<span id="L322" rel="#L322">322</span>
<span id="L323" rel="#L323">323</span>
<span id="L324" rel="#L324">324</span>
<span id="L325" rel="#L325">325</span>
<span id="L326" rel="#L326">326</span>
<span id="L327" rel="#L327">327</span>
<span id="L328" rel="#L328">328</span>
<span id="L329" rel="#L329">329</span>
<span id="L330" rel="#L330">330</span>
<span id="L331" rel="#L331">331</span>
<span id="L332" rel="#L332">332</span>
<span id="L333" rel="#L333">333</span>
<span id="L334" rel="#L334">334</span>
<span id="L335" rel="#L335">335</span>
<span id="L336" rel="#L336">336</span>
<span id="L337" rel="#L337">337</span>
<span id="L338" rel="#L338">338</span>
<span id="L339" rel="#L339">339</span>
<span id="L340" rel="#L340">340</span>
<span id="L341" rel="#L341">341</span>
<span id="L342" rel="#L342">342</span>
<span id="L343" rel="#L343">343</span>
<span id="L344" rel="#L344">344</span>
<span id="L345" rel="#L345">345</span>
<span id="L346" rel="#L346">346</span>
<span id="L347" rel="#L347">347</span>
<span id="L348" rel="#L348">348</span>
<span id="L349" rel="#L349">349</span>
<span id="L350" rel="#L350">350</span>
<span id="L351" rel="#L351">351</span>
<span id="L352" rel="#L352">352</span>
<span id="L353" rel="#L353">353</span>
<span id="L354" rel="#L354">354</span>
<span id="L355" rel="#L355">355</span>
<span id="L356" rel="#L356">356</span>
<span id="L357" rel="#L357">357</span>
<span id="L358" rel="#L358">358</span>
<span id="L359" rel="#L359">359</span>
<span id="L360" rel="#L360">360</span>
<span id="L361" rel="#L361">361</span>
<span id="L362" rel="#L362">362</span>
<span id="L363" rel="#L363">363</span>
<span id="L364" rel="#L364">364</span>
<span id="L365" rel="#L365">365</span>
<span id="L366" rel="#L366">366</span>
<span id="L367" rel="#L367">367</span>
<span id="L368" rel="#L368">368</span>
<span id="L369" rel="#L369">369</span>
<span id="L370" rel="#L370">370</span>
<span id="L371" rel="#L371">371</span>
<span id="L372" rel="#L372">372</span>
<span id="L373" rel="#L373">373</span>
<span id="L374" rel="#L374">374</span>
<span id="L375" rel="#L375">375</span>
<span id="L376" rel="#L376">376</span>
<span id="L377" rel="#L377">377</span>
<span id="L378" rel="#L378">378</span>
<span id="L379" rel="#L379">379</span>
<span id="L380" rel="#L380">380</span>
<span id="L381" rel="#L381">381</span>
<span id="L382" rel="#L382">382</span>
<span id="L383" rel="#L383">383</span>
<span id="L384" rel="#L384">384</span>
<span id="L385" rel="#L385">385</span>
<span id="L386" rel="#L386">386</span>
<span id="L387" rel="#L387">387</span>
<span id="L388" rel="#L388">388</span>
<span id="L389" rel="#L389">389</span>
<span id="L390" rel="#L390">390</span>
<span id="L391" rel="#L391">391</span>
<span id="L392" rel="#L392">392</span>
<span id="L393" rel="#L393">393</span>
<span id="L394" rel="#L394">394</span>
<span id="L395" rel="#L395">395</span>
<span id="L396" rel="#L396">396</span>
<span id="L397" rel="#L397">397</span>
<span id="L398" rel="#L398">398</span>
<span id="L399" rel="#L399">399</span>
</pre>
          </td>
          <td width="100%">
                <div class="highlight"><pre><div class='line' id='LC1'>/**</div><div class='line' id='LC2'>* box-sizing Polyfill</div><div class='line' id='LC3'>* </div><div class='line' id='LC4'>* A polyfill for box-sizing: border-box for IE6 &amp; IE7.</div><div class='line' id='LC5'>* </div><div class='line' id='LC6'>* JScript</div><div class='line' id='LC7'>* </div><div class='line' id='LC8'>* This program is free software: you can redistribute it and/or modify</div><div class='line' id='LC9'>* it under the terms of the GNU Lesser General Public License as published </div><div class='line' id='LC10'>* by the Free Software Foundation, either version 3 of the License, or</div><div class='line' id='LC11'>* (at your option) any later version.</div><div class='line' id='LC12'>* </div><div class='line' id='LC13'>* This program is distributed in the hope that it will be useful,</div><div class='line' id='LC14'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</div><div class='line' id='LC15'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</div><div class='line' id='LC16'>* GNU Lesser General Public License for more details.</div><div class='line' id='LC17'>* </div><div class='line' id='LC18'>* See &lt;http://www.gnu.org/licenses/lgpl-3.0.txt&gt;</div><div class='line' id='LC19'>* </div><div class='line' id='LC20'>* @category  JScript </div><div class='line' id='LC21'>* @package   box-sizing-polyfill</div><div class='line' id='LC22'>* @author    Christian Schepp Schaefer &lt;schaepp@gmx.de&gt; &lt;http://twitter.com/derSchepp&gt;</div><div class='line' id='LC23'>* @copyright 2012 Christian Schepp Schaefer</div><div class='line' id='LC24'>* @license   http://www.gnu.org/copyleft/lesser.html The GNU LESSER GENERAL PUBLIC LICENSE, Version 3.0</div><div class='line' id='LC25'>* @link      http://github.com/Schepp/box-sizing-polyfill </div><div class='line' id='LC26'>*</div><div class='line' id='LC27'>* PREFACE:</div><div class='line' id='LC28'>*</div><div class='line' id='LC29'>* This box-sizing polyfill is based on previous work done by Erik Arvidsson, </div><div class='line' id='LC30'>* which he published in 2002 on http://webfx.eae.net/dhtml/boxsizing/boxsizing.html.</div><div class='line' id='LC31'>*</div><div class='line' id='LC32'>* USAGE:</div><div class='line' id='LC33'>* 	</div><div class='line' id='LC34'>* Add the behavior/HTC after every `box-sizing: border-box;` that you assign:</div><div class='line' id='LC35'>* </div><div class='line' id='LC36'>* box-sizing: border-box;</div><div class='line' id='LC37'>* *behavior: url(/scripts/boxsizing.htc);`</div><div class='line' id='LC38'>* </div><div class='line' id='LC39'>* Prefix the `behavior` property with a star, like seen above, so it will only be seen by </div><div class='line' id='LC40'>* IE6 &amp; IE7, not by IE8+ who already implement box-sizing.</div><div class='line' id='LC41'>*</div><div class='line' id='LC42'>* The URL to the HTC file must be relative to your HTML(!) document, not relative to your CSS.</div><div class='line' id='LC43'>* That&#39;s why I&#39;d advise you to use absolute paths like in the example.</div><div class='line' id='LC44'>*</div><div class='line' id='LC45'>*/</div><div class='line' id='LC46'>&lt;component lightWeight=&quot;true&quot;&gt;</div><div class='line' id='LC47'>&lt;attach event=&quot;onpropertychange&quot; onevent=&quot;checkPropertyChange()&quot; /&gt;</div><div class='line' id='LC48'>&lt;attach event=&quot;ondetach&quot; onevent=&quot;restore()&quot; /&gt;</div><div class='line' id='LC49'>&lt;attach event=&quot;onresize&quot; for=&quot;window&quot; onevent=&quot;update()&quot; /&gt;</div><div class='line' id='LC50'>&lt;script type=&quot;text/javascript&quot;&gt;</div><div class='line' id='LC51'>//&lt;![CDATA[</div><div class='line' id='LC52'><br/></div><div class='line' id='LC53'>var viewportwidth = (typeof window.innerWidth != &#39;undefined&#39; ? window.innerWidth : element.document.documentElement.clientWidth);</div><div class='line' id='LC54'><br/></div><div class='line' id='LC55'>// Shortcut for the document object</div><div class='line' id='LC56'>var doc = element.document;</div><div class='line' id='LC57'><br/></div><div class='line' id='LC58'>// Buffer for multiple resize events</div><div class='line' id='LC59'>var resizetimeout = null;</div><div class='line' id='LC60'><br/></div><div class='line' id='LC61'>// Don&#39;t apply box-sizing to certain elements</div><div class='line' id='LC62'>var apply = false;</div><div class='line' id='LC63'>switch(element.nodeName){</div><div class='line' id='LC64'>	case &#39;#comment&#39;:</div><div class='line' id='LC65'>	case &#39;HTML&#39;:</div><div class='line' id='LC66'>	case &#39;HEAD&#39;:</div><div class='line' id='LC67'>	case &#39;TITLE&#39;:</div><div class='line' id='LC68'>	case &#39;SCRIPT&#39;:</div><div class='line' id='LC69'>	case &#39;STYLE&#39;:</div><div class='line' id='LC70'>	case &#39;LINK&#39;:</div><div class='line' id='LC71'>	case &#39;META&#39;:</div><div class='line' id='LC72'>	break;</div><div class='line' id='LC73'><br/></div><div class='line' id='LC74'>	default:</div><div class='line' id='LC75'>		apply = true;</div><div class='line' id='LC76'>	break;</div><div class='line' id='LC77'>}</div><div class='line' id='LC78'><br/></div><div class='line' id='LC79'>/*</div><div class='line' id='LC80'>* update gets called during resize events, then waits until there are no further resize events, and finally triggers a recalculation</div><div class='line' id='LC81'>*/</div><div class='line' id='LC82'>function update(){</div><div class='line' id='LC83'>	if(resizetimeout !== null){</div><div class='line' id='LC84'>		window.clearTimeout(resizetimeout);</div><div class='line' id='LC85'>	}</div><div class='line' id='LC86'>	resizetimeout = window.setTimeout(function(){</div><div class='line' id='LC87'>		restore();</div><div class='line' id='LC88'>		init();</div><div class='line' id='LC89'>		resizetimeout = null;</div><div class='line' id='LC90'>	},100);</div><div class='line' id='LC91'>}</div><div class='line' id='LC92'><br/></div><div class='line' id='LC93'>/*</div><div class='line' id='LC94'>* restore gets called when the behavior is being detached (see event binding at the top),</div><div class='line' id='LC95'>* resets everything like it was before applying the behavior</div><div class='line' id='LC96'>*/</div><div class='line' id='LC97'>function restore(){</div><div class='line' id='LC98'>	if(apply){</div><div class='line' id='LC99'>		element.runtimeStyle.removeAttribute(&quot;width&quot;);</div><div class='line' id='LC100'>		element.runtimeStyle.removeAttribute(&quot;height&quot;);</div><div class='line' id='LC101'>	}</div><div class='line' id='LC102'>}</div><div class='line' id='LC103'><br/></div><div class='line' id='LC104'>/*</div><div class='line' id='LC105'>* init gets called once at the start and then never again, </div><div class='line' id='LC106'>* triggers box-sizing calculations and updates width and height</div><div class='line' id='LC107'>*/</div><div class='line' id='LC108'>function init(){</div><div class='line' id='LC109'>	if(apply){</div><div class='line' id='LC110'>		updateBorderBoxWidth();</div><div class='line' id='LC111'>		updateBorderBoxHeight();</div><div class='line' id='LC112'>	}</div><div class='line' id='LC113'>}</div><div class='line' id='LC114'><br/></div><div class='line' id='LC115'>/*</div><div class='line' id='LC116'>* checkPropertyChange gets called as soon as an element property changes </div><div class='line' id='LC117'>* (see event binding at the top), it then checks if any property influencing its </div><div class='line' id='LC118'>* dimensions was changed and if yes recalculates width and height </div><div class='line' id='LC119'>*/</div><div class='line' id='LC120'>function checkPropertyChange(){</div><div class='line' id='LC121'>	if(apply){</div><div class='line' id='LC122'>		var pn = event.propertyName;</div><div class='line' id='LC123'>		if(pn === &quot;style.boxSizing&quot; &amp;&amp; element.style.boxSizing === &quot;&quot;){</div><div class='line' id='LC124'>			element.style.removeAttribute(&quot;boxSizing&quot;);</div><div class='line' id='LC125'>			element.runtimeStyle.removeAttribute(&quot;boxSizing&quot;);</div><div class='line' id='LC126'>			element.runtimeStyle.removeAttribute(&quot;width&quot;);</div><div class='line' id='LC127'>			element.runtimeStyle.removeAttribute(&quot;height&quot;);</div><div class='line' id='LC128'>		}</div><div class='line' id='LC129'>		switch (pn){</div><div class='line' id='LC130'>			case &quot;style.width&quot;:</div><div class='line' id='LC131'>			case &quot;style.borderLeftWidth&quot;:</div><div class='line' id='LC132'>			case &quot;style.borderLeftStyle&quot;:</div><div class='line' id='LC133'>			case &quot;style.borderRightWidth&quot;:</div><div class='line' id='LC134'>			case &quot;style.borderRightStyle&quot;:</div><div class='line' id='LC135'>			case &quot;style.paddingLeft&quot;:</div><div class='line' id='LC136'>			case &quot;style.paddingRight&quot;:</div><div class='line' id='LC137'>				updateBorderBoxWidth();</div><div class='line' id='LC138'>			break;</div><div class='line' id='LC139'><br/></div><div class='line' id='LC140'>			case &quot;style.height&quot;:</div><div class='line' id='LC141'>			case &quot;style.borderTopWidth&quot;:</div><div class='line' id='LC142'>			case &quot;style.borderTopStyle&quot;:</div><div class='line' id='LC143'>			case &quot;style.borderBottomWidth&quot;:</div><div class='line' id='LC144'>			case &quot;style.borderBottomStyle&quot;:</div><div class='line' id='LC145'>			case &quot;style.paddingTop&quot;:</div><div class='line' id='LC146'>			case &quot;style.paddingBottom&quot;:</div><div class='line' id='LC147'>				updateBorderBoxHeight();</div><div class='line' id='LC148'>			break;</div><div class='line' id='LC149'><br/></div><div class='line' id='LC150'>			case &quot;className&quot;:</div><div class='line' id='LC151'>			case &quot;style.boxSizing&quot;:</div><div class='line' id='LC152'>				updateBorderBoxWidth();</div><div class='line' id='LC153'>				updateBorderBoxHeight();</div><div class='line' id='LC154'>			break;</div><div class='line' id='LC155'>		}</div><div class='line' id='LC156'>	}</div><div class='line' id='LC157'>}</div><div class='line' id='LC158'><br/></div><div class='line' id='LC159'>/* </div><div class='line' id='LC160'>&nbsp;* Helper function, taken from Dean Edward&#39;s IE7 framework,</div><div class='line' id='LC161'>&nbsp;* added by Schepp on 12.06.2010.</div><div class='line' id='LC162'>&nbsp;* http://code.google.com/p/ie7-js/</div><div class='line' id='LC163'>&nbsp;*</div><div class='line' id='LC164'>&nbsp;* Allows us to convert from relative to pixel-values.</div><div class='line' id='LC165'>&nbsp;*/</div><div class='line' id='LC166'>function getPixelValue(value){</div><div class='line' id='LC167'>	var PIXEL = /^\d+(px)?$/i;</div><div class='line' id='LC168'>	if (PIXEL.test(value)) return parseInt(value);</div><div class='line' id='LC169'>	var style = element.style.left;</div><div class='line' id='LC170'>	var runtimeStyle = element.runtimeStyle.left;</div><div class='line' id='LC171'>	element.runtimeStyle.left = element.currentStyle.left;</div><div class='line' id='LC172'>	element.style.left = value || 0;</div><div class='line' id='LC173'>	value = parseInt(element.style.pixelLeft);</div><div class='line' id='LC174'>	element.style.left = style;</div><div class='line' id='LC175'>	element.runtimeStyle.left = runtimeStyle;</div><div class='line' id='LC176'><br/></div><div class='line' id='LC177'>	return value;</div><div class='line' id='LC178'>}</div><div class='line' id='LC179'><br/></div><div class='line' id='LC180'>function getPixelWidth(object, value){</div><div class='line' id='LC181'>	// For Pixel Values</div><div class='line' id='LC182'>	var PIXEL = /^\d+(px)?$/i;</div><div class='line' id='LC183'>	if (PIXEL.test(value)) return parseInt(value);</div><div class='line' id='LC184'><br/></div><div class='line' id='LC185'>	// For Percentage Values</div><div class='line' id='LC186'>	var PERCENT = /^[\d\.]+%$/i;</div><div class='line' id='LC187'>	if (PERCENT.test(value)){</div><div class='line' id='LC188'>		try{</div><div class='line' id='LC189'>			parentWidth = getPixelWidth(object.parentElement,(object.parentElement.currentStyle.width != &quot;auto&quot; ? object.parentElement.currentStyle.width : &quot;100%&quot;));</div><div class='line' id='LC190'>			value = (parseFloat(value) / 100) * parentWidth;</div><div class='line' id='LC191'>		}</div><div class='line' id='LC192'>		catch(e){</div><div class='line' id='LC193'>			value = (parseFloat(value) / 100) * element.document.documentElement.clientWidth;</div><div class='line' id='LC194'>		}</div><div class='line' id='LC195'>		return parseInt(value);</div><div class='line' id='LC196'>	}</div><div class='line' id='LC197'><br/></div><div class='line' id='LC198'>	// For EM Values</div><div class='line' id='LC199'>	var style = object.style.left;</div><div class='line' id='LC200'>	var runtimeStyle = object.runtimeStyle.left;</div><div class='line' id='LC201'>	object.runtimeStyle.left = object.currentStyle.left;</div><div class='line' id='LC202'>	object.style.left = value || 0;</div><div class='line' id='LC203'>	value = parseInt(object.style.pixelLeft);</div><div class='line' id='LC204'>	object.style.left = style;</div><div class='line' id='LC205'>	object.runtimeStyle.left = runtimeStyle;</div><div class='line' id='LC206'><br/></div><div class='line' id='LC207'>	return value;</div><div class='line' id='LC208'>}</div><div class='line' id='LC209'><br/></div><div class='line' id='LC210'>function getPixelHeight(object, value){</div><div class='line' id='LC211'>	// For Pixel Values</div><div class='line' id='LC212'>	var PIXEL = /^\d+(px)?$/i;</div><div class='line' id='LC213'>	if (PIXEL.test(value)) return parseInt(value);</div><div class='line' id='LC214'><br/></div><div class='line' id='LC215'>	// For Percentage Values</div><div class='line' id='LC216'>	var PERCENT = /^[\d\.]+%$/i;</div><div class='line' id='LC217'>	if (PERCENT.test(value)){</div><div class='line' id='LC218'>		try{</div><div class='line' id='LC219'>			if(object.parentElement.currentStyle.height != &quot;auto&quot;){</div><div class='line' id='LC220'>				switch(object.parentElement.nodeName){</div><div class='line' id='LC221'>					default:</div><div class='line' id='LC222'>						parentHeight = getPixelHeight(object.parentElement,object.parentElement.currentStyle.height);</div><div class='line' id='LC223'>						if(parentHeight !== &quot;auto&quot;){</div><div class='line' id='LC224'>							value = (parseFloat(value) / 100) * parentHeight;</div><div class='line' id='LC225'>						}</div><div class='line' id='LC226'>						else {</div><div class='line' id='LC227'>							value = &quot;auto&quot;;</div><div class='line' id='LC228'>						}</div><div class='line' id='LC229'>					break;</div><div class='line' id='LC230'><br/></div><div class='line' id='LC231'>					case &#39;HTML&#39;:</div><div class='line' id='LC232'>						parentHeight = element.document.documentElement.clientHeight;</div><div class='line' id='LC233'>						if(parentHeight !== &quot;auto&quot;){</div><div class='line' id='LC234'>							value = (parseFloat(value) / 100) * parentHeight;</div><div class='line' id='LC235'>						}</div><div class='line' id='LC236'>						else {</div><div class='line' id='LC237'>							value = &quot;auto&quot;;</div><div class='line' id='LC238'>						}</div><div class='line' id='LC239'>					break;</div><div class='line' id='LC240'>				}</div><div class='line' id='LC241'>				if(value !== &quot;auto&quot;) value = parseInt(value);</div><div class='line' id='LC242'>			}</div><div class='line' id='LC243'>			else {</div><div class='line' id='LC244'>				value = &quot;auto&quot;;</div><div class='line' id='LC245'>			}</div><div class='line' id='LC246'>		}</div><div class='line' id='LC247'>		catch(e){</div><div class='line' id='LC248'>			value = &quot;auto&quot;;</div><div class='line' id='LC249'>		}</div><div class='line' id='LC250'>		return value;</div><div class='line' id='LC251'>	}</div><div class='line' id='LC252'><br/></div><div class='line' id='LC253'>	// For EM Values</div><div class='line' id='LC254'>	var style = object.style.left;</div><div class='line' id='LC255'>	var runtimeStyle = object.runtimeStyle.left;</div><div class='line' id='LC256'>	object.runtimeStyle.left = object.currentStyle.left;</div><div class='line' id='LC257'>	object.style.left = value || 0;</div><div class='line' id='LC258'>	value = parseInt(object.style.pixelLeft);</div><div class='line' id='LC259'>	object.style.left = style;</div><div class='line' id='LC260'>	object.runtimeStyle.left = runtimeStyle;</div><div class='line' id='LC261'><br/></div><div class='line' id='LC262'>	return value;</div><div class='line' id='LC263'>}</div><div class='line' id='LC264'><br/></div><div class='line' id='LC265'><br/></div><div class='line' id='LC266'>/*</div><div class='line' id='LC267'>&nbsp;* getBorderWidth &amp; friends</div><div class='line' id='LC268'>&nbsp;* Border width getters</div><div class='line' id='LC269'>&nbsp;*/</div><div class='line' id='LC270'>function getBorderWidth(sSide){</div><div class='line' id='LC271'>	if(element.currentStyle[&quot;border&quot; + sSide + &quot;Style&quot;] == &quot;none&quot;){</div><div class='line' id='LC272'>		return 0;</div><div class='line' id='LC273'>	}</div><div class='line' id='LC274'>	var n = getPixelValue(element.currentStyle[&quot;border&quot; + sSide + &quot;Width&quot;]);</div><div class='line' id='LC275'>	return n || 0;</div><div class='line' id='LC276'>}</div><div class='line' id='LC277'>function getBorderLeftWidth() { return getBorderWidth(&quot;Left&quot;); }</div><div class='line' id='LC278'>function getBorderRightWidth() { return getBorderWidth(&quot;Right&quot;); }</div><div class='line' id='LC279'>function getBorderTopWidth() { return getBorderWidth(&quot;Top&quot;); }</div><div class='line' id='LC280'>function getBorderBottomWidth() { return getBorderWidth(&quot;Bottom&quot;); }</div><div class='line' id='LC281'><br/></div><div class='line' id='LC282'><br/></div><div class='line' id='LC283'>/*</div><div class='line' id='LC284'>&nbsp;* getPadding &amp; friends</div><div class='line' id='LC285'>&nbsp;* Padding width getters</div><div class='line' id='LC286'>&nbsp;*/</div><div class='line' id='LC287'>function getPadding(sSide) {</div><div class='line' id='LC288'>	var n = getPixelValue(element.currentStyle[&quot;padding&quot; + sSide]);</div><div class='line' id='LC289'>	return n || 0;</div><div class='line' id='LC290'>}</div><div class='line' id='LC291'>function getPaddingLeft() { return getPadding(&quot;Left&quot;); }</div><div class='line' id='LC292'>function getPaddingRight() { return getPadding(&quot;Right&quot;); }</div><div class='line' id='LC293'>function getPaddingTop() { return getPadding(&quot;Top&quot;); }</div><div class='line' id='LC294'>function getPaddingBottom() { return getPadding(&quot;Bottom&quot;); }</div><div class='line' id='LC295'><br/></div><div class='line' id='LC296'><br/></div><div class='line' id='LC297'><br/></div><div class='line' id='LC298'>/*</div><div class='line' id='LC299'>&nbsp;* getBoxSizing</div><div class='line' id='LC300'>&nbsp;* Get the box-sizing value for the current element</div><div class='line' id='LC301'>&nbsp;*/</div><div class='line' id='LC302'>function getBoxSizing(){</div><div class='line' id='LC303'>	var s = element.style;</div><div class='line' id='LC304'>	var cs = element.currentStyle</div><div class='line' id='LC305'>	if(typeof s.boxSizing != &quot;undefined&quot; &amp;&amp; s.boxSizing != &quot;&quot;){</div><div class='line' id='LC306'>		return s.boxSizing;</div><div class='line' id='LC307'>	}</div><div class='line' id='LC308'>	if(typeof s[&quot;box-sizing&quot;] != &quot;undefined&quot; &amp;&amp; s[&quot;box-sizing&quot;] != &quot;&quot;){</div><div class='line' id='LC309'>		return s[&quot;box-sizing&quot;];</div><div class='line' id='LC310'>	}</div><div class='line' id='LC311'>	if(typeof cs.boxSizing != &quot;undefined&quot; &amp;&amp; cs.boxSizing != &quot;&quot;){</div><div class='line' id='LC312'>		return cs.boxSizing;</div><div class='line' id='LC313'>	}</div><div class='line' id='LC314'>	if(typeof cs[&quot;box-sizing&quot;] != &quot;undefined&quot; &amp;&amp; cs[&quot;box-sizing&quot;] != &quot;&quot;){</div><div class='line' id='LC315'>		return cs[&quot;box-sizing&quot;];</div><div class='line' id='LC316'>	}</div><div class='line' id='LC317'>	return getDocumentBoxSizing();</div><div class='line' id='LC318'>}</div><div class='line' id='LC319'><br/></div><div class='line' id='LC320'><br/></div><div class='line' id='LC321'>/*</div><div class='line' id='LC322'>&nbsp;* getDocumentBoxSizing</div><div class='line' id='LC323'>&nbsp;* Get the default document box sizing (check for quirks mode)</div><div class='line' id='LC324'>&nbsp;*/</div><div class='line' id='LC325'>function getDocumentBoxSizing(){</div><div class='line' id='LC326'>	if(doc.compatMode === null || doc.compatMode === &quot;BackCompat&quot;){</div><div class='line' id='LC327'>		return &quot;border-box&quot;;</div><div class='line' id='LC328'>	}</div><div class='line' id='LC329'>	return &quot;content-box&quot;</div><div class='line' id='LC330'>}</div><div class='line' id='LC331'><br/></div><div class='line' id='LC332'><br/></div><div class='line' id='LC333'>/*</div><div class='line' id='LC334'>&nbsp;* setBorderBoxWidth &amp; friends</div><div class='line' id='LC335'>&nbsp;* Width and height setters</div><div class='line' id='LC336'>&nbsp;*/</div><div class='line' id='LC337'>function setBorderBoxWidth(n){</div><div class='line' id='LC338'>	element.runtimeStyle.width = Math.max(0, n - getBorderLeftWidth() -</div><div class='line' id='LC339'>		getPaddingLeft() - getPaddingRight() - getBorderRightWidth()) + &quot;px&quot;;</div><div class='line' id='LC340'>}</div><div class='line' id='LC341'>function setBorderBoxHeight(n){</div><div class='line' id='LC342'>	element.runtimeStyle.height = Math.max(0, n - getBorderTopWidth() -</div><div class='line' id='LC343'>		getPaddingTop() - getPaddingBottom() - getBorderBottomWidth()) + &quot;px&quot;;</div><div class='line' id='LC344'>}</div><div class='line' id='LC345'>function setContentBoxWidth(n){</div><div class='line' id='LC346'>	element.runtimeStyle.width = Math.max(0, n + getBorderLeftWidth() +</div><div class='line' id='LC347'>		getPaddingLeft() + getPaddingRight() + getBorderRightWidth()) + &quot;px&quot;;</div><div class='line' id='LC348'>}</div><div class='line' id='LC349'>function setContentBoxHeight(n){</div><div class='line' id='LC350'>	element.runtimeStyle.height = Math.max(0, n + getBorderTopWidth() +</div><div class='line' id='LC351'>		getPaddingTop() + getPaddingBottom() + getBorderBottomWidth()) + &quot;px&quot;;</div><div class='line' id='LC352'>}</div><div class='line' id='LC353'><br/></div><div class='line' id='LC354'><br/></div><div class='line' id='LC355'>/*</div><div class='line' id='LC356'>&nbsp;* updateBorderBoxWidth &amp; updateBorderBoxHeight</div><div class='line' id='LC357'>&nbsp;* </div><div class='line' id='LC358'>&nbsp;*/</div><div class='line' id='LC359'>function updateBorderBoxWidth() {</div><div class='line' id='LC360'>	if(getDocumentBoxSizing() == getBoxSizing()){</div><div class='line' id='LC361'>		return;</div><div class='line' id='LC362'>	}</div><div class='line' id='LC363'>	var csw = element.currentStyle.width;</div><div class='line' id='LC364'>	if(csw != &quot;auto&quot;){</div><div class='line' id='LC365'>		csw = getPixelWidth(element,csw);</div><div class='line' id='LC366'>		if(getBoxSizing() == &quot;border-box&quot;){</div><div class='line' id='LC367'>			setBorderBoxWidth(parseInt(csw));</div><div class='line' id='LC368'>		}</div><div class='line' id='LC369'>		else{</div><div class='line' id='LC370'>			setContentBoxWidth(parseInt(csw));</div><div class='line' id='LC371'>		}</div><div class='line' id='LC372'>	}</div><div class='line' id='LC373'>}</div><div class='line' id='LC374'><br/></div><div class='line' id='LC375'>function updateBorderBoxHeight() {</div><div class='line' id='LC376'>	if(getDocumentBoxSizing() == getBoxSizing()){</div><div class='line' id='LC377'>		return;</div><div class='line' id='LC378'>	}</div><div class='line' id='LC379'>	var csh = element.currentStyle.height;</div><div class='line' id='LC380'>	if(csh != &quot;auto&quot;){</div><div class='line' id='LC381'>		csh = getPixelHeight(element,csh);</div><div class='line' id='LC382'>		if(csh !== &quot;auto&quot;){</div><div class='line' id='LC383'>			if(getBoxSizing() == &quot;border-box&quot;){</div><div class='line' id='LC384'>				setBorderBoxHeight(parseInt(csh));</div><div class='line' id='LC385'>			}</div><div class='line' id='LC386'>			else{</div><div class='line' id='LC387'>				setContentBoxHeight(parseInt(csh));</div><div class='line' id='LC388'>			}</div><div class='line' id='LC389'>		}</div><div class='line' id='LC390'>	}</div><div class='line' id='LC391'>}</div><div class='line' id='LC392'><br/></div><div class='line' id='LC393'><br/></div><div class='line' id='LC394'>// Run the calculations</div><div class='line' id='LC395'>init();</div><div class='line' id='LC396'><br/></div><div class='line' id='LC397'>//]]&gt;</div><div class='line' id='LC398'>&lt;/script&gt;</div><div class='line' id='LC399'>&lt;/component&gt;</div></pre></div>
          </td>
        </tr>
      </table>
  </div>

          </div>
        </div>
      </div>
    </div>

  </div>

<div class="frame frame-loading large-loading-area" style="display:none;" data-tree-list-url="/Schepp/box-sizing-polyfill/tree-list/b3f495c7e562b6e6325df8b51bf426e10b5baafc" data-blob-url-prefix="/Schepp/box-sizing-polyfill/blob/b3f495c7e562b6e6325df8b51bf426e10b5baafc">
  <img src="https://a248.e.akamai.net/assets.github.com/images/spinners/octocat-spinner-64.gif?1329872008" height="64" width="64">
</div>

      </div>
      <div class="context-overlay"></div>
    </div>

      <div id="footer-push"></div><!-- hack for sticky footer -->
    </div><!-- end of wrapper - hack for sticky footer -->

      <!-- footer -->
      <div id="footer" >
        
  <div class="upper_footer">
     <div class="container clearfix">

       <!--[if IE]><h4 id="blacktocat_ie">GitHub Links</h4><![endif]-->
       <![if !IE]><h4 id="blacktocat">GitHub Links</h4><![endif]>

       <ul class="footer_nav">
         <h4>GitHub</h4>
         <li><a href="https://github.com/about">About</a></li>
         <li><a href="https://github.com/blog">Blog</a></li>
         <li><a href="https://github.com/features">Features</a></li>
         <li><a href="https://github.com/contact">Contact &amp; Support</a></li>
         <li><a href="https://github.com/training">Training</a></li>
         <li><a href="http://enterprise.github.com/">GitHub Enterprise</a></li>
         <li><a href="http://status.github.com/">Site Status</a></li>
       </ul>

       <ul class="footer_nav">
         <h4>Tools</h4>
         <li><a href="http://get.gaug.es/">Gauges: Analyze web traffic</a></li>
         <li><a href="http://speakerdeck.com">Speaker Deck: Presentations</a></li>
         <li><a href="https://gist.github.com">Gist: Code snippets</a></li>
         <li><a href="http://mac.github.com/">GitHub for Mac</a></li>
         <li><a href="http://windows.github.com/">GitHub for Windows</a></li>
         <li><a href="http://mobile.github.com/">Issues for iPhone</a></li>
         <li><a href="http://jobs.github.com/">Job Board</a></li>
       </ul>

       <ul class="footer_nav">
         <h4>Extras</h4>
         <li><a href="http://shop.github.com/">GitHub Shop</a></li>
         <li><a href="http://octodex.github.com/">The Octodex</a></li>
       </ul>

       <ul class="footer_nav">
         <h4>Documentation</h4>
         <li><a href="http://help.github.com/">GitHub Help</a></li>
         <li><a href="http://developer.github.com/">Developer API</a></li>
         <li><a href="http://github.github.com/github-flavored-markdown/">GitHub Flavored Markdown</a></li>
         <li><a href="http://pages.github.com/">GitHub Pages</a></li>
       </ul>

     </div><!-- /.site -->
  </div><!-- /.upper_footer -->

<div class="lower_footer">
  <div class="container clearfix">
    <!--[if IE]><div id="legal_ie"><![endif]-->
    <![if !IE]><div id="legal"><![endif]>
      <ul>
          <li><a href="https://github.com/site/terms">Terms of Service</a></li>
          <li><a href="https://github.com/site/privacy">Privacy</a></li>
          <li><a href="https://github.com/security">Security</a></li>
      </ul>

      <p>&copy; 2012 <span title="0.04919s from fe4.rs.github.com">GitHub</span> Inc. All rights reserved.</p>
    </div><!-- /#legal or /#legal_ie-->

      <div class="sponsor">
        <a href="http://www.rackspace.com" class="logo">
          <img alt="Dedicated Server" height="36" src="https://a248.e.akamai.net/assets.github.com/images/modules/footer/rackspaces_logo.png?1329521040" width="38" />
        </a>
        Powered by the <a href="http://www.rackspace.com ">Dedicated
        Servers</a> and<br/> <a href="http://www.rackspacecloud.com">Cloud
        Computing</a> of Rackspace Hosting<span>&reg;</span>
      </div>
  </div><!-- /.site -->
</div><!-- /.lower_footer -->

      </div><!-- /#footer -->

    

<div id="keyboard_shortcuts_pane" class="instapaper_ignore readability-extra" style="display:none">
  <h2>Keyboard Shortcuts <small><a href="#" class="js-see-all-keyboard-shortcuts">(see all)</a></small></h2>

  <div class="columns threecols">
    <div class="column first">
      <h3>Site wide shortcuts</h3>
      <dl class="keyboard-mappings">
        <dt>s</dt>
        <dd>Focus site search</dd>
      </dl>
      <dl class="keyboard-mappings">
        <dt>?</dt>
        <dd>Bring up this help dialog</dd>
      </dl>
    </div><!-- /.column.first -->

    <div class="column middle" style='display:none'>
      <h3>Commit list</h3>
      <dl class="keyboard-mappings">
        <dt>j</dt>
        <dd>Move selection down</dd>
      </dl>
      <dl class="keyboard-mappings">
        <dt>k</dt>
        <dd>Move selection up</dd>
      </dl>
      <dl class="keyboard-mappings">
        <dt>c <em>or</em> o <em>or</em> enter</dt>
        <dd>Open commit</dd>
      </dl>
      <dl class="keyboard-mappings">
        <dt>y</dt>
        <dd>Expand URL to its canonical form</dd>
      </dl>
    </div><!-- /.column.first -->

    <div class="column last" style='display:none'>
      <h3>Pull request list</h3>
      <dl class="keyboard-mappings">
        <dt>j</dt>
        <dd>Move selection down</dd>
      </dl>
      <dl class="keyboard-mappings">
        <dt>k</dt>
        <dd>Move selection up</dd>
      </dl>
      <dl class="keyboard-mappings">
        <dt>o <em>or</em> enter</dt>
        <dd>Open issue</dd>
      </dl>
      <dl class="keyboard-mappings">
        <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt>
        <dd>Submit comment</dd>
      </dl>
    </div><!-- /.columns.last -->

  </div><!-- /.columns.equacols -->

  <div style='display:none'>
    <div class="rule"></div>

    <h3>Issues</h3>

    <div class="columns threecols">
      <div class="column first">
        <dl class="keyboard-mappings">
          <dt>j</dt>
          <dd>Move selection down</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>k</dt>
          <dd>Move selection up</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>x</dt>
          <dd>Toggle selection</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>o <em>or</em> enter</dt>
          <dd>Open issue</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt>
          <dd>Submit comment</dd>
        </dl>
      </div><!-- /.column.first -->
      <div class="column last">
        <dl class="keyboard-mappings">
          <dt>c</dt>
          <dd>Create issue</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>l</dt>
          <dd>Create label</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>i</dt>
          <dd>Back to inbox</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>u</dt>
          <dd>Back to issues</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>/</dt>
          <dd>Focus issues search</dd>
        </dl>
      </div>
    </div>
  </div>

  <div style='display:none'>
    <div class="rule"></div>

    <h3>Issues Dashboard</h3>

    <div class="columns threecols">
      <div class="column first">
        <dl class="keyboard-mappings">
          <dt>j</dt>
          <dd>Move selection down</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>k</dt>
          <dd>Move selection up</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>o <em>or</em> enter</dt>
          <dd>Open issue</dd>
        </dl>
      </div><!-- /.column.first -->
    </div>
  </div>

  <div style='display:none'>
    <div class="rule"></div>

    <h3>Network Graph</h3>
    <div class="columns equacols">
      <div class="column first">
        <dl class="keyboard-mappings">
          <dt><span class="badmono">←</span> <em>or</em> h</dt>
          <dd>Scroll left</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt><span class="badmono">→</span> <em>or</em> l</dt>
          <dd>Scroll right</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt><span class="badmono">↑</span> <em>or</em> k</dt>
          <dd>Scroll up</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt><span class="badmono">↓</span> <em>or</em> j</dt>
          <dd>Scroll down</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>t</dt>
          <dd>Toggle visibility of head labels</dd>
        </dl>
      </div><!-- /.column.first -->
      <div class="column last">
        <dl class="keyboard-mappings">
          <dt>shift <span class="badmono">←</span> <em>or</em> shift h</dt>
          <dd>Scroll all the way left</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>shift <span class="badmono">→</span> <em>or</em> shift l</dt>
          <dd>Scroll all the way right</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>shift <span class="badmono">↑</span> <em>or</em> shift k</dt>
          <dd>Scroll all the way up</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>shift <span class="badmono">↓</span> <em>or</em> shift j</dt>
          <dd>Scroll all the way down</dd>
        </dl>
      </div><!-- /.column.last -->
    </div>
  </div>

  <div >
    <div class="rule"></div>
    <div class="columns threecols">
      <div class="column first" >
        <h3>Source Code Browsing</h3>
        <dl class="keyboard-mappings">
          <dt>t</dt>
          <dd>Activates the file finder</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>l</dt>
          <dd>Jump to line</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>w</dt>
          <dd>Switch branch/tag</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>y</dt>
          <dd>Expand URL to its canonical form</dd>
        </dl>
      </div>
    </div>
  </div>

  <div style='display:none'>
    <div class="rule"></div>
    <div class="columns threecols">
      <div class="column first">
        <h3>Browsing Commits</h3>
        <dl class="keyboard-mappings">
          <dt><span class="platform-mac">⌘</span><span class="platform-other">ctrl</span> <em>+</em> enter</dt>
          <dd>Submit comment</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>escape</dt>
          <dd>Close form</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>p</dt>
          <dd>Parent commit</dd>
        </dl>
        <dl class="keyboard-mappings">
          <dt>o</dt>
          <dd>Other parent commit</dd>
        </dl>
      </div>
    </div>
  </div>
</div>

    <div id="markdown-help" class="instapaper_ignore readability-extra">
  <h2>Markdown Cheat Sheet</h2>

  <div class="cheatsheet-content">

  <div class="mod">
    <div class="col">
      <h3>Format Text</h3>
      <p>Headers</p>
      <pre>
# This is an &lt;h1&gt; tag
## This is an &lt;h2&gt; tag
###### This is an &lt;h6&gt; tag</pre>
     <p>Text styles</p>
     <pre>
*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__

*You **can** combine them*
</pre>
    </div>
    <div class="col">
      <h3>Lists</h3>
      <p>Unordered</p>
      <pre>
* Item 1
* Item 2
  * Item 2a
  * Item 2b</pre>
     <p>Ordered</p>
     <pre>
1. Item 1
2. Item 2
3. Item 3
   * Item 3a
   * Item 3b</pre>
    </div>
    <div class="col">
      <h3>Miscellaneous</h3>
      <p>Images</p>
      <pre>
![GitHub Logo](/images/logo.png)
Format: ![Alt Text](url)
</pre>
     <p>Links</p>
     <pre>
http://github.com - automatic!
[GitHub](http://github.com)</pre>
<p>Blockquotes</p>
     <pre>
As Kanye West said:

> We're living the future so
> the present is our past.
</pre>
    </div>
  </div>
  <div class="rule"></div>

  <h3>Code Examples in Markdown</h3>
  <div class="col">
      <p>Syntax highlighting with <a href="http://github.github.com/github-flavored-markdown/" title="GitHub Flavored Markdown" target="_blank">GFM</a></p>
      <pre>
```javascript
function fancyAlert(arg) {
  if(arg) {
    $.facebox({div:'#foo'})
  }
}
```</pre>
    </div>
    <div class="col">
      <p>Or, indent your code 4 spaces</p>
      <pre>
Here is a Python code example
without syntax highlighting:

    def foo:
      if not bar:
        return true</pre>
    </div>
    <div class="col">
      <p>Inline code for comments</p>
      <pre>
I think you should use an
`&lt;addr&gt;` element here instead.</pre>
    </div>
  </div>

  </div>
</div>


    <div id="ajax-error-message">
      <span class="mini-icon mini-icon-exclamation"></span>
      Something went wrong with that request. Please try again.
      <a href="#" class="ajax-error-dismiss">Dismiss</a>
    </div>

    <div id="logo-popup">
      <h2>Looking for the GitHub logo?</h2>
      <ul>
        <li>
          <h4>GitHub Logo</h4>
          <a href="http://github-media-downloads.s3.amazonaws.com/GitHub_Logos.zip"><img alt="Github_logo" src="https://a248.e.akamai.net/assets.github.com/images/modules/about_page/github_logo.png?1306884373" /></a>
          <a href="http://github-media-downloads.s3.amazonaws.com/GitHub_Logos.zip" class="minibutton btn-download download"><span class="icon"></span>Download</a>
        </li>
        <li>
          <h4>The Octocat</h4>
          <a href="http://github-media-downloads.s3.amazonaws.com/Octocats.zip"><img alt="Octocat" src="https://a248.e.akamai.net/assets.github.com/images/modules/about_page/octocat.png?1306884373" /></a>
          <a href="http://github-media-downloads.s3.amazonaws.com/Octocats.zip" class="minibutton btn-download download"><span class="icon"></span>Download</a>
        </li>
      </ul>
    </div>

    
    
    
    <span id='server_response_time' data-time='0.05163' data-host='fe4'></span>
  </body>
</html>

