summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/tests/reftest/vs-non-ascii-in-comment-before-ref.html
blob: 66f03386583863f3ea8b4597c4ae7b5997a2d5d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width"><title>vs-non-ascii-in-comment-before.html</title><link rel="stylesheet" type="text/css" href="resource://content-accessible/viewsource.css"></head><body id="viewsource" class="highlight" style="tab-size: 4"><pre id="line1"><span></span><span class="doctype">&lt;!DOCTYPE html&gt;</span><span>
<span id="line2"></span></span><span>&lt;<span class="start-tag">head</span>&gt;</span><span>
<span id="line3"></span></span><span>&lt;<span class="start-tag">link</span> <span class="attribute-name">rel</span>="<a class="attribute-value">match</a>" <span class="attribute-name">href</span>="<a class="attribute-value" href="view-source:references/non-ascii-in-comment-before-ref.html">references/non-ascii-in-comment-before-ref.html</a>"&gt;</span><span>
<span id="line4"></span></span><span class="comment">&lt;!-- ж --&gt;</span><span>
<span id="line5"></span></span><span>&lt;<span class="start-tag">meta</span> <span class="attribute-name">charset</span>="<a class="attribute-value">windows-1251</a>"&gt;</span><span>
<span id="line6"></span></span><span>&lt;/<span class="end-tag">head</span>&gt;</span><span>
<span id="line7"></span></span><span>&lt;<span class="start-tag">body</span>&gt;</span><span>
<span id="line8"></span></span><span>&lt;<span class="start-tag">p</span>&gt;</span><span>Normal meta. Non-ASCII in comment before.</span><span>&lt;/<span class="end-tag">p</span>&gt;</span><span>
<span id="line9"></span></span><span>&lt;<span class="start-tag">p</span>&gt;</span><span>Test: ж</span><span>&lt;/<span class="end-tag">p</span>&gt;</span><span>
<span id="line10"></span></span><span>&lt;<span class="start-tag">p</span>&gt;</span><span>If <span class="entity"><span>&amp;</span>#x0436;</span>, meta takes effect</span><span>&lt;/<span class="end-tag">p</span>&gt;</span><span>
<span id="line11"></span></span><span>&lt;/<span class="end-tag">body</span>&gt;</span><span>
<span id="line12"></span></span></pre></body></html>