tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

stylesheets.test (470B)


      1 stylesheets, rules
      2 <link rel="help" href="https://w3c.github.io/webvtt/#collect-a-webvtt-block">
      3 
      4 // There's no way to test the actual style from js
      5 assert_equals(document.styleSheets.length, 0);
      6 
      7 ===
      8 WEBVTT
      9 
     10 STYLE
     11 ::cue(#foo) {
     12     width: 20px;
     13 } /*
     14 NOTE hello
     15 00:00:00.000 -- > 00:00:01.000
     16 */
     17 .foo {
     18     width: 19px;
     19 }
     20 
     21 .bar {
     22     width: 18px;
     23 }
     24 
     25 foo
     26 00:00:00.000 --> 00:00:01.000
     27 text
     28 
     29 STYLE
     30 ::cue(::bar) {
     31     width: 18px;
     32 }
     33 
     34 bar
     35 00:00:00.000 --> 00:00:01.000
     36 text