| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
|
3
|
2
|
|
|
2
|
|
88479
|
|
|
|
2
|
|
|
|
|
13
|
|
|
|
2
|
|
|
|
|
56
|
|
|
4
|
|
|
|
|
|
|
use base 'Rose::HTML::Object'; |
|
5
|
2
|
|
|
2
|
|
10
|
|
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
712
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.606'; |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
__PACKAGE__->add_valid_html_attrs |
|
9
|
|
|
|
|
|
|
( |
|
10
|
|
|
|
|
|
|
'charset', # %Charset; #IMPLIED -- char encoding of linked resource |
|
11
|
|
|
|
|
|
|
'href', # %URI; #IMPLIED -- URI for linked resource |
|
12
|
|
|
|
|
|
|
'hreflang', # %LanguageCode; #IMPLIED -- language code |
|
13
|
|
|
|
|
|
|
'type', # %ContentType; #IMPLIED -- advisory content type |
|
14
|
|
|
|
|
|
|
'rel', # %LinkTypes; #IMPLIED -- forward link types |
|
15
|
|
|
|
|
|
|
'rev', # %LinkTypes; #IMPLIED -- reverse link types |
|
16
|
|
|
|
|
|
|
'media', # %MediaDesc; #IMPLIED -- for rendering on these media |
|
17
|
|
|
|
|
|
|
); |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
|
20
|
2
|
|
|
2
|
0
|
20
|
|
|
21
|
2
|
|
|
2
|
0
|
11
|
|
|
22
|
|
|
|
|
|
|
1; |
|
23
|
0
|
|
|
0
|
1
|
0
|
|
|
24
|
1
|
|
|
1
|
1
|
8
|
|
|
25
|
1
|
|
|
1
|
1
|
7
|
=head1 NAME |
|
26
|
|
|
|
|
|
|
|
|
27
|
2
|
|
|
2
|
1
|
8
|
Rose::HTML::Link - Object representation of the "link" HTML tag. |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
$link = |
|
32
|
|
|
|
|
|
|
Rose::HTML::Link->new( |
|
33
|
|
|
|
|
|
|
rel => 'stylesheet', |
|
34
|
|
|
|
|
|
|
href => '/style/main.css'); |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
print $link->html; |
|
37
|
|
|
|
|
|
|
print $link->xhtml; |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
... |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
L<Rose::HTML::Link> is an object representation of a "link" HTML tag used to reference another document (e.g., a CSS stylesheet). |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
This class inherits from, and follows the conventions of, L<Rose::HTML::Object>. Inherited methods that are not overridden will not be documented a second time here. See the L<Rose::HTML::Object> documentation for more information. |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 HTML ATTRIBUTES |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Valid attributes: |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
charset |
|
52
|
|
|
|
|
|
|
class |
|
53
|
|
|
|
|
|
|
dir |
|
54
|
|
|
|
|
|
|
href |
|
55
|
|
|
|
|
|
|
hreflang |
|
56
|
|
|
|
|
|
|
id |
|
57
|
|
|
|
|
|
|
lang |
|
58
|
|
|
|
|
|
|
media |
|
59
|
|
|
|
|
|
|
onclick |
|
60
|
|
|
|
|
|
|
ondblclick |
|
61
|
|
|
|
|
|
|
onkeydown |
|
62
|
|
|
|
|
|
|
onkeypress |
|
63
|
|
|
|
|
|
|
onkeyup |
|
64
|
|
|
|
|
|
|
onmousedown |
|
65
|
|
|
|
|
|
|
onmousemove |
|
66
|
|
|
|
|
|
|
onmouseout |
|
67
|
|
|
|
|
|
|
onmouseover |
|
68
|
|
|
|
|
|
|
onmouseup |
|
69
|
|
|
|
|
|
|
rel |
|
70
|
|
|
|
|
|
|
rev |
|
71
|
|
|
|
|
|
|
style |
|
72
|
|
|
|
|
|
|
title |
|
73
|
|
|
|
|
|
|
type |
|
74
|
|
|
|
|
|
|
xml:lang |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 AUTHOR |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
John C. Siracusa (siracusa@gmail.com) |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 LICENSE |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. |