blob: a81fb796666b9005a5d9a6a224a9027ebf5087f7 [file] [log] [blame]
<div id="scroll-container" ?hidden="${!this.highlighted_}" dir="ltr">
<div id="main">
<!-- Line numbers are not useful to a screenreader -->
<div id="line-numbers" aria-hidden="true">
<div class="more-code before" ?hidden="${!this.truncatedBefore_}">
...
</div>
<span>${this.lineNumbers_}</span>
<div class="more-code after" ?hidden="${!this.truncatedAfter_}">
...
</div>
</div>
<div id="source">
<div class="more-code before" ?hidden="${!this.truncatedBefore_}">
${this.getLinesNotShownLabel_(
this.truncatedBefore_,
'$i18nPolymer{errorLinesNotShownSingular}',
'$i18nPolymer{errorLinesNotShownPlural}')}
</div>
<span><!-- Whitespace is preserved in this span. Ignore new lines.
--><span>${this.before_}</span><!--
--><mark aria-description="${this.highlightDescription_}"><!--
-->${this.highlighted_}<!--
--></mark><!--
--><span>${this.after_}</span><!--
--></span>
<div class="more-code after" ?hidden="${!this.truncatedAfter_}">
${this.getLinesNotShownLabel_(
this.truncatedAfter_,
'$i18nPolymer{errorLinesNotShownSingular}',
'$i18nPolymer{errorLinesNotShownPlural}')}
</div>
</div>
</div>
</div>
<div id="no-code" ?hidden="${!this.shouldShowNoCode_()}">
${this.couldNotDisplayCode}
</div>