Login   Register  
PHP Classes
elePHPant
Icontem

File: test/expect/unicodestylevalues.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  Secure HTML parser and filter  >  test/expect/unicodestylevalues.txt  >  Download  
File: test/expect/unicodestylevalues.txt
Role: Auxiliary data
Content type: text/plain
Description: Test expected output
Class: Secure HTML parser and filter
Parse and filter insecure HTML tags and CSS styles
Author: By
Last change: Added support to CSS style selectors.
Date: 4 years ago
Size: 1,822 bytes
 

Contents

Class file image Download
array(3) {
  ["Type"]=>
  string(7) "ruleset"
  ["RuleSet"]=>
  array(3) {
    ["Selectors"]=>
    array(1) {
      [0]=>
      array(2) {
        ["Type"]=>
        string(8) "selector"
        ["Elements"]=>
        array(1) {
          [0]=>
          array(2) {
            ["Type"]=>
            string(14) "simpleselector"
            ["Elements"]=>
            array(1) {
              [0]=>
              array(3) {
                ["Type"]=>
                string(5) "class"
                ["Class"]=>
                string(4) "test"
                ["Position"]=>
                int(0)
              }
            }
          }
        }
      }
    }
    ["Properties"]=>
    array(1) {
      [0]=>
      array(3) {
        ["Property"]=>
        string(5) "color"
        ["Value"]=>
        array(1) {
          [0]=>
          array(4) {
            ["Type"]=>
            string(8) "function"
            ["Function"]=>
            string(10) "expression"
            ["Parameters"]=>
            array(1) {
              [0]=>
              array(4) {
                ["Type"]=>
                string(8) "function"
                ["Function"]=>
                string(5) "alert"
                ["Parameters"]=>
                array(1) {
                  [0]=>
                  array(3) {
                    ["Type"]=>
                    string(6) "number"
                    ["Number"]=>
                    string(1) "1"
                    ["Position"]=>
                    int(100)
                  }
                }
                ["Position"]=>
                int(70)
              }
            }
            ["Position"]=>
            int(15)
          }
        }
        ["Position"]=>
        int(15)
      }
    }
    ["Position"]=>
    int(0)
  }
  ["Position"]=>
  int(0)
}