PHPIDS
Current file: /home/mario/workspace/php-ids.org/trunk/lib/IDS/vendors/htmlpurifier/HTMLPurifier/HTMLModule/StyleAttribute.php
Legend: executed not executed dead code

  Coverage
  Classes Methods Lines
Total
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 3 / 3
 
HTMLPurifier_HTMLModule_StyleAttribute
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 3 / 3
 public function __construct()
100.00 %100.00%
100.00% 1 / 1
100.00 %100.00%
100.00% 2 / 2


       1                 : <?php                                                                              
       2                 :                                                                                    
       3                 : /**                                                                                
       4                 :  * XHTML 1.1 Edit Module, defines editing-related elements. Text Extension         
       5                 :  * Module.                                                                         
       6                 :  */                                                                                
       7               1 : class HTMLPurifier_HTMLModule_StyleAttribute extends HTMLPurifier_HTMLModule       
       8                 : {                                                                                  
       9                 :                                                                                    
      10                 :     public $name = 'StyleAttribute';                                               
      11                 :     public $attr_collections = array(                                              
      12                 :         // The inclusion routine differs from the Abstract Modules but             
      13                 :         // is in line with the DTD and XML Schemas.                                
      14                 :         'Style' => array('style' => false), // see constructor                     
      15                 :         'Core' => array(0 => array('Style'))                                       
      16                 :     );                                                                             
      17                 :                                                                                    
      18                 :     public function __construct() {                                                
      19               1 :         $this->attr_collections['Style']['style'] = new HTMLPurifier_AttrDef_CSS();
      20               1 :     }                                                                              
      21                 :                                                                                    
      22                 : }                                                                                  
      23                 :                                                                                    

Generated by PHPUnit 3.2.20 and Xdebug 2.0.3 at Sat Jun 7 16:15:42 CEST 2008.