File Coverage

blib/lib/OCBNET/CSS3/DOM/Text.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 14 15 93.3


line stmt bran cond sub pod time code
1             ###################################################################################################
2             # Copyright 2013/2014 by Marcel Greter
3             # This file is part of OCBNET-CSS3 (GPL3)
4             ####################################################################################################
5             package OCBNET::CSS3::DOM::Text;
6             ####################################################################################################
7             our $VERSION = '0.2.5';
8             ####################################################################################################
9              
10 11     11   51 use strict;
  11         24  
  11         319  
11 11     11   53 use warnings;
  11         18  
  11         269  
12              
13             ####################################################################################################
14 11     11   57 use base 'OCBNET::CSS3';
  11         25  
  11         1351  
15             ####################################################################################################
16              
17             # static getter
18             #**************************************************************************************************
19 1     1 0 5 sub type { return 'text' }
20              
21             ####################################################################################################
22              
23             # add basic extended type with highest priority
24             #**************************************************************************************************
25             push @OCBNET::CSS3::types, [
26             qr/\A.+\z/is,
27             'OCBNET::CSS3::DOM::Text'
28             ];
29              
30             ####################################################################################################
31             ####################################################################################################
32             1;