Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Dompdf\Tests;use Dompdf\Dompdf;use Dompdf\FrameDecorator\AbstractFrameDeco..

Decoded Output download

<?php namespace Dompdf\Tests;use Dompdf\Dompdf;use Dompdf\FrameDecorator\AbstractFrameDecorator;use Dompdf\Tests\TestCase;final class msdd3 extends cznr4{public static function zwnz0():array{return[base64_decode('YmFzaWMgY291bnRlcg==')=>[<<<HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
span {
    counter-increment: c;
}

span::before {
    content: counter(c) "-";
}
</style>
</head>
<body>
    <div><span></span><span></span><span></span></div>
</body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('MS0yLTMt')]]],base64_decode('bmVzdGVkIGNvdW50ZXJz')=>[<<<HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
ul {
    counter-reset: li;
}

li {
    counter-increment: li;
}

span::before {
    content: counters(li, ".") " ";
}
</style>
</head>
<body>
<ul>
    <li><span>Item 1</span></li>
    <li><span>Item 2</span>
        <ul>
            <li><span>Item 3</span></li>
            <li><span>Item 4</span></li>
            <li><span>Item 5</span></li>
        </ul>
    </li>
    <li><span>Item 6</span></li>
</ul>
</body>
</html>
HTML,[base64_decode('c3Bhbg==')=>[base64_decode('MSBJdGVtIDE='),base64_decode('MiBJdGVtIDI='),base64_decode('Mi4xIEl0ZW0gMw=='),base64_decode('Mi4yIEl0ZW0gNA=='),base64_decode('Mi4zIEl0ZW0gNQ=='),base64_decode('MyBJdGVtIDY=')]]],base64_decode('YXV0byByZXNldCBuZXN0ZWQ=')=>[<<<HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
li {
    counter-increment: c1;
}

li li {
    counter-increment: c2;
}

span::before {
    content: counter(c1) "|" counter(c2) " ";
}
</style>
</head>
<body>
<ul>
    <li><span>Item 1</span></li>
    <li><span>Item 2</span>
        <ul>
            <li><span>Item 3</span></li>
            <li><span>Item 4</span></li>
            <li><span>Item 5</span></li>
        </ul>
    </li>
    <li><span>Item 6</span>
        <ul>
            <li><span>Item 7</span></li>
            <li><span>Item 8</span></li>
        </ul>
    </li>
</ul>
</body>
</html>
HTML,[base64_decode('c3Bhbg==')=>[base64_decode('MXwwIEl0ZW0gMQ=='),base64_decode('MnwwIEl0ZW0gMg=='),base64_decode('MnwxIEl0ZW0gMw=='),base64_decode('MnwyIEl0ZW0gNA=='),base64_decode('MnwzIEl0ZW0gNQ=='),base64_decode('M3wwIEl0ZW0gNg=='),base64_decode('M3wxIEl0ZW0gNw=='),base64_decode('M3wyIEl0ZW0gOA==')]]],base64_decode('c2libGluZyByZXNldA==')=>[<<<HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body {
    counter-reset: c;
}

li {
    counter-increment: c;
}

li::before {
    content: counters(c, ".") " ";
}

.reset {
    counter-reset: c;
}
</style>
</head>
<body>
    <ul>
        <li>Item 1</li>
        <li class="reset">Item 2</li>
        <li>Item 3</li>
        <li class="reset">Item 4</li>
        <li>Item 5</li>
    </ul>

    <ul>
        <li>Item 6</li>
        <li class="reset">Item 7</li>
        <li>Item 8</li>
    </ul>
</body>
</html>
HTML,[base64_decode('bGk=')=>[base64_decode('MSBJdGVtIDE='),base64_decode('MS4xIEl0ZW0gMg=='),base64_decode('MS4yIEl0ZW0gMw=='),base64_decode('MS4xIEl0ZW0gNA=='),base64_decode('MS4yIEl0ZW0gNQ=='),base64_decode('MiBJdGVtIDY='),base64_decode('Mi4xIEl0ZW0gNw=='),base64_decode('Mi4yIEl0ZW0gOA==')]]],base64_decode('Y291bnRlcnMtc2NvcGUtMDAw')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Counter scope</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  .scope { counter-reset: c 1; }
  .scope:before, .scope:after { content: counter(c); }
  .c:before { content: counter(c); }

  .one:before { counter-reset: c 2; }
  .two { counter-reset: c 3; }

  </style>
 </head>
 <body>

 <p>The next 2 lines should be identical:</p>

 <div>
   <span class="scope"><span class="one c"><span class="c"></span></span><span class="c"></span></span><span class="c"></span>
   <span class="scope"><span class="two c"><span class="c"></span></span><span class="c"></span></span><span class="c"></span>
 </div>

 <div>
   122111
   133331
 </div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('MTIyMTExIDEzMzMzMQ=='),base64_decode('MTIyMTExIDEzMzMzMQ==')]]],base64_decode('Y291bnRlcnMtc2NvcGUtMDAx')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Counter scope and nesting on elements</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  span:before { counter-increment: c 1; content: "B" counters(c,".") "-" }
  span:after  { counter-increment: c 1; content: "A" counters(c,".") "-" }

  body, span#reset { counter-reset: c 0; }

  </style>
 </head>
 <body>

 <p>The following two lines should be the same:</p>

 <div><span><span><span id="reset"><span></span><span></span></span><span><span></span></span></span></span></div>
 <div>B1-B2-B2.1-B2.2-A2.3-B2.4-A2.5-A2.6-B2.7-B2.8-A2.9-A2.10-A2.11-A3-</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('QjEtQjItQjIuMS1CMi4yLUEyLjMtQjIuNC1BMi41LUEyLjYtQjIuNy1CMi44LUEyLjktQTIuMTAtQTIuMTEtQTMt'),base64_decode('QjEtQjItQjIuMS1CMi4yLUEyLjMtQjIuNC1BMi41LUEyLjYtQjIuNy1CMi44LUEyLjktQTIuMTAtQTIuMTEtQTMt')]]],base64_decode('Y291bnRlcnMtc2NvcGUtMDAy')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Counter scope and nesting on :before</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  span:before { counter-increment: c 1; content: "B" counters(c,".") "-" }
  span:after  { counter-increment: c 1; content: "A" counters(c,".") "-" }

  body, span#reset:before { counter-reset: c 0; }

  </style>
 </head>
 <body>

 <p>The following two lines should be the same:</p>

 <div><span><span id="reset"><span></span></span></span></div>
 <div>B1-B1.1-B1.2-A1.3-A1.4-A2-</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('QjEtQjEuMS1CMS4yLUExLjMtQTEuNC1BMi0='),base64_decode('QjEtQjEuMS1CMS4yLUExLjMtQTEuNC1BMi0=')]]],base64_decode('Y291bnRlcnMtc2NvcGUtMDAz')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Counter scope and nesting on :after</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  span:before { counter-increment: c 1; content: "B" counters(c,".") "-" }
  span:after  { counter-increment: c 1; content: "A" counters(c,".") "-" }

  body, span#reset:after { counter-reset: c 0; }

  </style>
 </head>
 <body>

 <p>The following two lines should be the same:</p>

 <div><span><span id="reset"><span></span></span></span></div>
 <div>B1-B2-B3-A4-A4.1-A5-</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('QjEtQjItQjMtQTQtQTQuMS1BNS0='),base64_decode('QjEtQjItQjMtQTQtQTQuMS1BNS0=')]]],base64_decode('Y291bnRlcnMtc2NvcGUtMDA0')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Counter scope and nesting</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  .reset { counter-reset: c; }
  .rb:before { counter-reset: c; content: "R"; }
  .use { counter-increment: c; }
  .use:before { content: counters(c, ".") " "; }

  </style>
 </head>
 <body>

 <p>The next two lines should be the same:</p>

 <div><span class="reset"></span><span class="use"></span><span class="reset"></span><span class="use"></span><span class="rb"><span class="use"></span><span class="reset"></span><span class="use"></span></span></div>
 <div>1 1 R1.1 1.1</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('MSAxIFIxLjEgMS4x'),base64_decode('MSAxIFIxLjEgMS4x')]]],base64_decode('Y291bnRlcnMtc2NvcGUtaW1wbGllZC0wMDA=')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Implied counter scopes with no 'counter-increment' or 'counter-reset'</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  #one:before { content: counter(one) }
  #two:before { content: counter(two) }

  </style>
 </head>
 <body>

 <p>The following should be identical:</p>

 <div><span id="one"></span><span id="two"></span></div>
 <div>00</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('MDA='),base64_decode('MDA=')]]],base64_decode('Y291bnRlcnMtc2NvcGUtaW1wbGllZC0wMDE=')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Implied counter scopes by counter use</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  .i { counter-increment: c 1; }
  .r { counter-reset: c 0; }
  .u:before { content: counters(c, ".") " "; }

  </style>
 </head>
 <body>

 <p>The following two lines should be identical:</p>

 <div><span class="u"></span><span class="r"><span class="i u"></span></span></div>

 <div>0 1</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('MCAx'),base64_decode('MCAx')]]],base64_decode('Y291bnRlcnMtc2NvcGUtaW1wbGllZC0wMDI=')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Implied counter scopes by 'counter-increment'</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  .i { counter-increment: c 1; }
  .ib:before { counter-increment: c 1; content: "B" }
  .r { counter-reset: c 0; }
  .u:before { content: counters(c, ".") " "; }

  </style>
 </head>
 <body>

 <p>The following two lines should be identical:</p>

 <div><span class="ib"><span class="u"></span><span class="r"><span class="u"></span></span></span><span class="i"><span class="u"></span><span class="r"><span class="u"></span></span></span></div>

 <div>B1 0 1 1.0</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('QjEgMCAxIDEuMA=='),base64_decode('QjEgMCAxIDEuMA==')]]],base64_decode('Zm9udCBtYXBwaW5nIHdpdGggcGFnZSBicmVhaw==')=>[<<<HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
@page {
    size: 300pt 200pt;
    margin: 0;
}

html {
    font-family: Helvetica, "DejaVu Sans";
}

div {
    height: 60pt;
    padding: 20pt;
    counter-increment: div;
}

div::before {
    content: "Box  " counter(div);
}
</style>
</head>
<body>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('Qm94IOKIiSAx'),base64_decode('Qm94IOKIiSAy'),base64_decode('Qm94IOKIiSAz'),base64_decode('Qm94IOKIiSA0')]]],];}/**
     * The expected content defines the nodes to check by node name. For each
     * name, the corresponding nodes have to match the expected text content in
     * order before render.
     *
     * @dataProvider countersProvider
     */ public function cpyw1(string $imhs5,array$kuhp6):void{$eyso7=array_fill_keys(array_keys($kuhp6),[]);$ucqu8=new hwzk9();$ucqu8->mjbga([[base64_decode('ZXZlbnQ=')=>base64_decode('YmVnaW5fZnJhbWU='),base64_decode('Zg==')=>function(AbstractFrameDecorator $zhhxb)use($kuhp6,&$eyso7){$gwzhc=$zhhxb->ifiwd();$vpyse=$gwzhc->$iwksf;if(isset($kuhp6[$vpyse])){$eyso7[$vpyse][]=$gwzhc->$aykl10;}}]]);$ucqu8->acip11($imhs5);$ucqu8->ixgm12();$this->aewf13($kuhp6,$eyso7);}}?>

Did this file decode correctly?

Original Code

<?php namespace Dompdf\Tests;use Dompdf\Dompdf;use Dompdf\FrameDecorator\AbstractFrameDecorator;use Dompdf\Tests\TestCase;final class msdd3 extends cznr4{public static function zwnz0():array{return[base64_decode('YmFzaWMgY291bnRlcg==')=>[<<<HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
span {
    counter-increment: c;
}

span::before {
    content: counter(c) "-";
}
</style>
</head>
<body>
    <div><span></span><span></span><span></span></div>
</body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('MS0yLTMt')]]],base64_decode('bmVzdGVkIGNvdW50ZXJz')=>[<<<HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
ul {
    counter-reset: li;
}

li {
    counter-increment: li;
}

span::before {
    content: counters(li, ".") " ";
}
</style>
</head>
<body>
<ul>
    <li><span>Item 1</span></li>
    <li><span>Item 2</span>
        <ul>
            <li><span>Item 3</span></li>
            <li><span>Item 4</span></li>
            <li><span>Item 5</span></li>
        </ul>
    </li>
    <li><span>Item 6</span></li>
</ul>
</body>
</html>
HTML,[base64_decode('c3Bhbg==')=>[base64_decode('MSBJdGVtIDE='),base64_decode('MiBJdGVtIDI='),base64_decode('Mi4xIEl0ZW0gMw=='),base64_decode('Mi4yIEl0ZW0gNA=='),base64_decode('Mi4zIEl0ZW0gNQ=='),base64_decode('MyBJdGVtIDY=')]]],base64_decode('YXV0byByZXNldCBuZXN0ZWQ=')=>[<<<HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
li {
    counter-increment: c1;
}

li li {
    counter-increment: c2;
}

span::before {
    content: counter(c1) "|" counter(c2) " ";
}
</style>
</head>
<body>
<ul>
    <li><span>Item 1</span></li>
    <li><span>Item 2</span>
        <ul>
            <li><span>Item 3</span></li>
            <li><span>Item 4</span></li>
            <li><span>Item 5</span></li>
        </ul>
    </li>
    <li><span>Item 6</span>
        <ul>
            <li><span>Item 7</span></li>
            <li><span>Item 8</span></li>
        </ul>
    </li>
</ul>
</body>
</html>
HTML,[base64_decode('c3Bhbg==')=>[base64_decode('MXwwIEl0ZW0gMQ=='),base64_decode('MnwwIEl0ZW0gMg=='),base64_decode('MnwxIEl0ZW0gMw=='),base64_decode('MnwyIEl0ZW0gNA=='),base64_decode('MnwzIEl0ZW0gNQ=='),base64_decode('M3wwIEl0ZW0gNg=='),base64_decode('M3wxIEl0ZW0gNw=='),base64_decode('M3wyIEl0ZW0gOA==')]]],base64_decode('c2libGluZyByZXNldA==')=>[<<<HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body {
    counter-reset: c;
}

li {
    counter-increment: c;
}

li::before {
    content: counters(c, ".") " ";
}

.reset {
    counter-reset: c;
}
</style>
</head>
<body>
    <ul>
        <li>Item 1</li>
        <li class="reset">Item 2</li>
        <li>Item 3</li>
        <li class="reset">Item 4</li>
        <li>Item 5</li>
    </ul>

    <ul>
        <li>Item 6</li>
        <li class="reset">Item 7</li>
        <li>Item 8</li>
    </ul>
</body>
</html>
HTML,[base64_decode('bGk=')=>[base64_decode('MSBJdGVtIDE='),base64_decode('MS4xIEl0ZW0gMg=='),base64_decode('MS4yIEl0ZW0gMw=='),base64_decode('MS4xIEl0ZW0gNA=='),base64_decode('MS4yIEl0ZW0gNQ=='),base64_decode('MiBJdGVtIDY='),base64_decode('Mi4xIEl0ZW0gNw=='),base64_decode('Mi4yIEl0ZW0gOA==')]]],base64_decode('Y291bnRlcnMtc2NvcGUtMDAw')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Counter scope</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  .scope { counter-reset: c 1; }
  .scope:before, .scope:after { content: counter(c); }
  .c:before { content: counter(c); }

  .one:before { counter-reset: c 2; }
  .two { counter-reset: c 3; }

  </style>
 </head>
 <body>

 <p>The next 2 lines should be identical:</p>

 <div>
   <span class="scope"><span class="one c"><span class="c"></span></span><span class="c"></span></span><span class="c"></span>
   <span class="scope"><span class="two c"><span class="c"></span></span><span class="c"></span></span><span class="c"></span>
 </div>

 <div>
   122111
   133331
 </div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('MTIyMTExIDEzMzMzMQ=='),base64_decode('MTIyMTExIDEzMzMzMQ==')]]],base64_decode('Y291bnRlcnMtc2NvcGUtMDAx')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Counter scope and nesting on elements</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  span:before { counter-increment: c 1; content: "B" counters(c,".") "-" }
  span:after  { counter-increment: c 1; content: "A" counters(c,".") "-" }

  body, span#reset { counter-reset: c 0; }

  </style>
 </head>
 <body>

 <p>The following two lines should be the same:</p>

 <div><span><span><span id="reset"><span></span><span></span></span><span><span></span></span></span></span></div>
 <div>B1-B2-B2.1-B2.2-A2.3-B2.4-A2.5-A2.6-B2.7-B2.8-A2.9-A2.10-A2.11-A3-</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('QjEtQjItQjIuMS1CMi4yLUEyLjMtQjIuNC1BMi41LUEyLjYtQjIuNy1CMi44LUEyLjktQTIuMTAtQTIuMTEtQTMt'),base64_decode('QjEtQjItQjIuMS1CMi4yLUEyLjMtQjIuNC1BMi41LUEyLjYtQjIuNy1CMi44LUEyLjktQTIuMTAtQTIuMTEtQTMt')]]],base64_decode('Y291bnRlcnMtc2NvcGUtMDAy')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Counter scope and nesting on :before</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  span:before { counter-increment: c 1; content: "B" counters(c,".") "-" }
  span:after  { counter-increment: c 1; content: "A" counters(c,".") "-" }

  body, span#reset:before { counter-reset: c 0; }

  </style>
 </head>
 <body>

 <p>The following two lines should be the same:</p>

 <div><span><span id="reset"><span></span></span></span></div>
 <div>B1-B1.1-B1.2-A1.3-A1.4-A2-</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('QjEtQjEuMS1CMS4yLUExLjMtQTEuNC1BMi0='),base64_decode('QjEtQjEuMS1CMS4yLUExLjMtQTEuNC1BMi0=')]]],base64_decode('Y291bnRlcnMtc2NvcGUtMDAz')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Counter scope and nesting on :after</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  span:before { counter-increment: c 1; content: "B" counters(c,".") "-" }
  span:after  { counter-increment: c 1; content: "A" counters(c,".") "-" }

  body, span#reset:after { counter-reset: c 0; }

  </style>
 </head>
 <body>

 <p>The following two lines should be the same:</p>

 <div><span><span id="reset"><span></span></span></span></div>
 <div>B1-B2-B3-A4-A4.1-A5-</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('QjEtQjItQjMtQTQtQTQuMS1BNS0='),base64_decode('QjEtQjItQjMtQTQtQTQuMS1BNS0=')]]],base64_decode('Y291bnRlcnMtc2NvcGUtMDA0')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Counter scope and nesting</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  .reset { counter-reset: c; }
  .rb:before { counter-reset: c; content: "R"; }
  .use { counter-increment: c; }
  .use:before { content: counters(c, ".") " "; }

  </style>
 </head>
 <body>

 <p>The next two lines should be the same:</p>

 <div><span class="reset"></span><span class="use"></span><span class="reset"></span><span class="use"></span><span class="rb"><span class="use"></span><span class="reset"></span><span class="use"></span></span></div>
 <div>1 1 R1.1 1.1</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('MSAxIFIxLjEgMS4x'),base64_decode('MSAxIFIxLjEgMS4x')]]],base64_decode('Y291bnRlcnMtc2NvcGUtaW1wbGllZC0wMDA=')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Implied counter scopes with no 'counter-increment' or 'counter-reset'</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  #one:before { content: counter(one) }
  #two:before { content: counter(two) }

  </style>
 </head>
 <body>

 <p>The following should be identical:</p>

 <div><span id="one"></span><span id="two"></span></div>
 <div>00</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('MDA='),base64_decode('MDA=')]]],base64_decode('Y291bnRlcnMtc2NvcGUtaW1wbGllZC0wMDE=')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Implied counter scopes by counter use</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  .i { counter-increment: c 1; }
  .r { counter-reset: c 0; }
  .u:before { content: counters(c, ".") " "; }

  </style>
 </head>
 <body>

 <p>The following two lines should be identical:</p>

 <div><span class="u"></span><span class="r"><span class="i u"></span></span></div>

 <div>0 1</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('MCAx'),base64_decode('MCAx')]]],base64_decode('Y291bnRlcnMtc2NvcGUtaW1wbGllZC0wMDI=')=>[<<<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>CSS Test: Implied counter scopes by 'counter-increment'</title>
  <link rel="author" title="L. David Baron" href="http://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <style type="text/css">

  body { white-space: nowrap; }


  .i { counter-increment: c 1; }
  .ib:before { counter-increment: c 1; content: "B" }
  .r { counter-reset: c 0; }
  .u:before { content: counters(c, ".") " "; }

  </style>
 </head>
 <body>

 <p>The following two lines should be identical:</p>

 <div><span class="ib"><span class="u"></span><span class="r"><span class="u"></span></span></span><span class="i"><span class="u"></span><span class="r"><span class="u"></span></span></span></div>

 <div>B1 0 1 1.0</div>

 </body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('QjEgMCAxIDEuMA=='),base64_decode('QjEgMCAxIDEuMA==')]]],base64_decode('Zm9udCBtYXBwaW5nIHdpdGggcGFnZSBicmVhaw==')=>[<<<HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
@page {
    size: 300pt 200pt;
    margin: 0;
}

html {
    font-family: Helvetica, "DejaVu Sans";
}

div {
    height: 60pt;
    padding: 20pt;
    counter-increment: div;
}

div::before {
    content: "Box  " counter(div);
}
</style>
</head>
<body>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</body>
</html>
HTML,[base64_decode('ZGl2')=>[base64_decode('Qm94IOKIiSAx'),base64_decode('Qm94IOKIiSAy'),base64_decode('Qm94IOKIiSAz'),base64_decode('Qm94IOKIiSA0')]]],];}/**
     * The expected content defines the nodes to check by node name. For each
     * name, the corresponding nodes have to match the expected text content in
     * order before render.
     *
     * @dataProvider countersProvider
     */ public function cpyw1(string $imhs5,array$kuhp6):void{$eyso7=array_fill_keys(array_keys($kuhp6),[]);$ucqu8=new hwzk9();$ucqu8->mjbga([[base64_decode('ZXZlbnQ=')=>base64_decode('YmVnaW5fZnJhbWU='),base64_decode('Zg==')=>function(AbstractFrameDecorator $zhhxb)use($kuhp6,&$eyso7){$gwzhc=$zhhxb->ifiwd();$vpyse=$gwzhc->$iwksf;if(isset($kuhp6[$vpyse])){$eyso7[$vpyse][]=$gwzhc->$aykl10;}}]]);$ucqu8->acip11($imhs5);$ucqu8->ixgm12();$this->aewf13($kuhp6,$eyso7);}}?>

Function Calls

None

Variables

None

Stats

MD5 c751a69037606fae39322b7823aea46b
Eval Count 0
Decode Time 104 ms