layout/reftests/bugs/476856-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!doctype html>
michael@0 2 <html><head><title>Handling of un-terminated long tokens in CSS</title>
michael@0 3
michael@0 4 <style>#ax,#bx,#cx,#dx{display:none}</style>
michael@0 5
michael@0 6 <style>#ad{color:/*}#ao{display:none}#ax{display:inline}</style>
michael@0 7
michael@0 8 <style>#bd{background:url("xxx"}#bo{display:none}#bx{display:inline}</style>
michael@0 9
michael@0 10 <style>#cd{background:url('xxx'}#co{display:none}#cx{display:inline}</style>
michael@0 11
michael@0 12 <style>#dd{background:url(xxx}#do{display:none}#dx{display:inline}</style>
michael@0 13
michael@0 14 </head><body>
michael@0 15
michael@0 16 <div>This CSS parser <span id="ao">does not</span>
michael@0 17 backtrack<span id="ax">s</span> for unterminated comments.</div>
michael@0 18
michael@0 19 <div>It <span id="bo">does not</span>
michael@0 20 backtrack<span id="bx">s</span> for unterminated double-quoted url().</div>
michael@0 21
michael@0 22 <div>It <span id="co">does not</span>
michael@0 23 backtrack<span id="cx">s</span> for unterminated single-quoted url().</div>
michael@0 24
michael@0 25 <div>It <span id="do">does not</span>
michael@0 26 backtrack<span id="dx">s</span> for unterminated unquoted url().</div>
michael@0 27
michael@0 28 </body></html>
michael@0 29

mercurial