~ubuntu-branches/ubuntu/precise/ghc/precise

« back to all changes in this revision

Viewing changes to libraries/xhtml/Text/XHtml/Strict/Attributes.hs

  • Committer: Bazaar Package Importer
  • Author(s): Joachim Breitner
  • Date: 2011-01-17 12:49:24 UTC
  • Revision ID: james.westby@ubuntu.com-20110117124924-do1pym1jlf5o636m
Tags: upstream-7.0.1
ImportĀ upstreamĀ versionĀ 7.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- #hide
 
2
 
 
3
module Text.XHtml.Strict.Attributes where
 
4
 
 
5
import Text.XHtml.Internals
 
6
 
 
7
-- * Attributes in XHTML Strict
 
8
 
 
9
action              :: String -> HtmlAttr
 
10
align               :: String -> HtmlAttr
 
11
 
 
12
alt                 :: String -> HtmlAttr
 
13
altcode             :: String -> HtmlAttr
 
14
archive             :: String -> HtmlAttr
 
15
base                :: String -> HtmlAttr
 
16
border              :: Int    -> HtmlAttr
 
17
bordercolor         :: String -> HtmlAttr
 
18
cellpadding         :: Int    -> HtmlAttr
 
19
cellspacing         :: Int    -> HtmlAttr
 
20
checked             ::           HtmlAttr
 
21
codebase            :: String -> HtmlAttr
 
22
cols                :: String -> HtmlAttr
 
23
colspan             :: Int    -> HtmlAttr
 
24
content             :: String -> HtmlAttr
 
25
coords              :: String -> HtmlAttr
 
26
disabled            ::           HtmlAttr
 
27
enctype             :: String -> HtmlAttr
 
28
height              :: String -> HtmlAttr
 
29
href                :: String -> HtmlAttr
 
30
hreflang            :: String -> HtmlAttr
 
31
httpequiv           :: String -> HtmlAttr
 
32
identifier          :: String -> HtmlAttr
 
33
ismap               ::           HtmlAttr
 
34
lang                :: String -> HtmlAttr
 
35
maxlength           :: Int    -> HtmlAttr
 
36
method              :: String -> HtmlAttr
 
37
multiple            ::           HtmlAttr
 
38
name                :: String -> HtmlAttr
 
39
nohref              ::           HtmlAttr
 
40
rel                 :: String -> HtmlAttr
 
41
rev                 :: String -> HtmlAttr
 
42
rows                :: String -> HtmlAttr
 
43
rowspan             :: Int    -> HtmlAttr
 
44
rules               :: String -> HtmlAttr
 
45
selected            ::           HtmlAttr
 
46
shape               :: String -> HtmlAttr
 
47
size                :: String -> HtmlAttr
 
48
src                 :: String -> HtmlAttr
 
49
theclass            :: String -> HtmlAttr
 
50
thefor              :: String -> HtmlAttr
 
51
thestyle            :: String -> HtmlAttr
 
52
thetype             :: String -> HtmlAttr
 
53
title               :: String -> HtmlAttr
 
54
usemap              :: String -> HtmlAttr
 
55
valign              :: String -> HtmlAttr
 
56
value               :: String -> HtmlAttr
 
57
width               :: String -> HtmlAttr
 
58
 
 
59
action              =   strAttr "action"
 
60
align               =   strAttr "align"
 
61
alt                 =   strAttr "alt"
 
62
altcode             =   strAttr "altcode"
 
63
archive             =   strAttr "archive"
 
64
base                =   strAttr "base"
 
65
border              =   intAttr "border"
 
66
bordercolor         =   strAttr "bordercolor"
 
67
cellpadding         =   intAttr "cellpadding"
 
68
cellspacing         =   intAttr "cellspacing"
 
69
checked             = emptyAttr "checked"
 
70
codebase            =   strAttr "codebase"
 
71
cols                =   strAttr "cols"
 
72
colspan             =   intAttr "colspan"
 
73
content             =   strAttr "content"
 
74
coords              =   strAttr "coords"
 
75
disabled            = emptyAttr "disabled"
 
76
enctype             =   strAttr "enctype"
 
77
height              =   strAttr "height"
 
78
href                =   strAttr "href"
 
79
hreflang            =   strAttr "hreflang"
 
80
httpequiv           =   strAttr "http-equiv"
 
81
identifier          =   strAttr "id"
 
82
ismap               = emptyAttr "ismap"
 
83
lang                =   strAttr "lang"
 
84
maxlength           =   intAttr "maxlength"
 
85
method              =   strAttr "method"
 
86
multiple            = emptyAttr "multiple"
 
87
name                =   strAttr "name"
 
88
nohref              = emptyAttr "nohref"
 
89
rel                 =   strAttr "rel"
 
90
rev                 =   strAttr "rev"
 
91
rows                =   strAttr "rows"
 
92
rowspan             =   intAttr "rowspan"
 
93
rules               =   strAttr "rules"
 
94
selected            = emptyAttr "selected"
 
95
shape               =   strAttr "shape"
 
96
size                =   strAttr "size"
 
97
src                 =   strAttr "src"
 
98
theclass            =   strAttr "class"
 
99
thefor              =   strAttr "for"
 
100
thestyle            =   strAttr "style"
 
101
thetype             =   strAttr "type"
 
102
title               =   strAttr "title"
 
103
usemap              =   strAttr "usemap"
 
104
valign              =   strAttr "valign"
 
105
value               =   strAttr "value"
 
106
width               =   strAttr "width"
 
107
 
 
108