layout/reftests/counters/counter-suffix.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!DOCTYPE html>
     2 <style>
     3   ol, li { margin: 0; padding: 0; line-height: 150%; }
     4   #wrapper { width: 10em; }
     5   ol { padding: 0 3em; }
     6   .dec { list-style-type: decimal; }
     7   .heb { list-style-type: hebrew; }
     8   .cjk { list-style-type: cjk-decimal; }
     9   .kor { list-style-type: korean-hangul-formal; }
    10   .spec li::-moz-list-number {
    11     -moz-padding-end: 1em;
    12   }
    13 </style>
    14 <div id="wrapper">
    15   <ol class="dec"><li>foo<li>bar</ol>
    16   <ol class="heb"><li>foo<li>bar</ol>
    17   <ol class="cjk"><li>foo<li>bar</ol>
    18   <ol class="kor"><li>foo<li>bar</ol>
    19   <ol class="dec spec"><li>foo<li>bar</ol>
    20   <ol class="heb spec"><li>foo<li>bar</ol>
    21   <ol class="cjk spec"><li>foo<li>bar</ol>
    22   <ol class="kor spec"><li>foo<li>bar</ol>
    23   <ol class="dec" dir="rtl"><li>foo<li>bar</ol>
    24   <ol class="heb" dir="rtl"><li>foo<li>bar</ol>
    25   <ol class="dec spec" dir="rtl"><li>foo<li>bar</ol>
    26   <ol class="heb spec" dir="rtl"><li>foo<li>bar</ol>
    27 </div>

mercurial