Skip to content

Commit 94a5de4

Browse files
committed
fix a small markup error
1 parent c75b4bb commit 94a5de4

2 files changed

Lines changed: 38 additions & 36 deletions

File tree

cssom/Overview.html

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,38 @@
55
<title>Cascading Style Sheets Object Model (CSSOM)</title>
66

77
<style type="text/css">
8-
/* some things here are taken from http://whatwg.org/style/specification */
9-
pre.idl { border:solid thin; background:#eee; color:#000; padding:0.5em }
10-
pre.idl :link, pre.idl :visited { color:inherit; background:transparent }
11-
div.example { margin-left:1em; padding-left:1em; border-left:double; color:#222; background:#fcfcfc }
12-
div.example table code { color:inherit }
13-
td, th { padding:.1em }
14-
.issue { padding:.5em; border:solid red }
15-
.proposal { padding:.5em; border:solid blue }
16-
p.issue::before { content:"Issue: " }
17-
em.ct { text-transform:lowercase; font-variant:small-caps; font-style:normal }
18-
dfn { font-weight:bold; font-style:normal }
19-
code { color:orangered }
20-
code :link, code :visited { color:inherit }
21-
.members dt { margin:.5em 0 }
22-
.members dd p:first-child { margin-top:0 }
23-
.members dd p:last-child { margin-bottom:0 }
8+
pre.idl { border:solid thin; background:#eee; color:#000; padding:0.5em }
9+
pre.idl :link, pre.idl :visited { color:inherit; background:transparent }
10+
dfn { font-weight:bold; font-style:normal }
11+
div.example { margin-left:1em; padding-left:1em; border-left:double; color:#222; background:#fcfcfc }
12+
div.example table code { color:inherit }
13+
td, th { padding:.1em }
14+
.proposal { padding:.5em; border:solid blue }
15+
p.note { margin-left:2em; color:green; font-style:italic; font-weight:bold }
16+
p.note::before { content:"Note: " }
17+
.issue { padding:.5em; border:solid red }
18+
.issue::before { content:"Issue: " }
19+
em.ct { text-transform:lowercase; font-variant:small-caps; font-style:normal }
20+
code { color:orangered }
21+
code :link, code :visited { color:inherit }
22+
.members dt { margin:.5em 0 }
23+
.members dd p:first-child { margin-top:0 }
24+
.members dd p:last-child { margin-bottom:0 }
2425
</style>
2526
<link href="http://www.w3.org/StyleSheets/TR/base" rel=stylesheet>
2627

2728
<body class=draft>
2829
<div class=head>
2930
<h1 id=cssom>Cascading Style Sheets Object Model (<abbr>CSSOM</abbr>)</h1>
3031

31-
<h2 class="no-num no-toc" id="">Editor's draft <!--W3C Working Draft--> 16
32+
<h2 class="no-num no-toc" id="">Editor's draft <!--W3C Working Draft--> 19
3233
January 2007</h2>
3334

3435
<dl>
3536
<dt>This version:
3637

3738
<dd><a
38-
href="http://www.w3.org/TR/2007/WD-cssom-20070116">http://www.w3.org/TR/2007/WD-cssom-20070116/</a>
39+
href="http://www.w3.org/TR/2007/WD-cssom-20070119">http://www.w3.org/TR/2007/WD-cssom-20070119/</a>
3940

4041
<dt>Latest version:
4142

@@ -1568,7 +1569,7 @@ <h4 id=the-documentcss><span class=secno>3.5.4. </span>The <code><a
15681569
Author !important styles
15691570
Override !important styles
15701571
User !important styles
1571-
UA !important styles (fwiw) -- or does this come before user?!
1572+
UA !important styles (fwiw) - or does this come before user?!
15721573
15731574
on getting you actually don't create an override style sheet you just read
15741575
the computed style of a certain property. this should be clear.

cssom/Overview.src.html

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,23 @@
33
<head>
44
<title>Cascading Style Sheets Object Model (CSSOM)</title>
55
<style type="text/css">
6-
/* some things here are taken from http://whatwg.org/style/specification */
7-
pre.idl { border:solid thin; background:#eee; color:#000; padding:0.5em }
8-
pre.idl :link, pre.idl :visited { color:inherit; background:transparent }
9-
div.example { margin-left:1em; padding-left:1em; border-left:double; color:#222; background:#fcfcfc }
10-
div.example table code { color:inherit }
11-
td, th { padding:.1em }
12-
.issue { padding:.5em; border:solid red }
13-
.proposal { padding:.5em; border:solid blue }
14-
p.issue::before { content:"Issue: " }
15-
em.ct { text-transform:lowercase; font-variant:small-caps; font-style:normal }
16-
dfn { font-weight:bold; font-style:normal }
17-
code { color:orangered }
18-
code :link, code :visited { color:inherit }
19-
.members dt { margin:.5em 0 }
20-
.members dd p:first-child { margin-top:0 }
21-
.members dd p:last-child { margin-bottom:0 }
6+
pre.idl { border:solid thin; background:#eee; color:#000; padding:0.5em }
7+
pre.idl :link, pre.idl :visited { color:inherit; background:transparent }
8+
dfn { font-weight:bold; font-style:normal }
9+
div.example { margin-left:1em; padding-left:1em; border-left:double; color:#222; background:#fcfcfc }
10+
div.example table code { color:inherit }
11+
td, th { padding:.1em }
12+
.proposal { padding:.5em; border:solid blue }
13+
p.note { margin-left:2em; color:green; font-style:italic; font-weight:bold }
14+
p.note::before { content:"Note: " }
15+
.issue { padding:.5em; border:solid red }
16+
.issue::before { content:"Issue: " }
17+
em.ct { text-transform:lowercase; font-variant:small-caps; font-style:normal }
18+
code { color:orangered }
19+
code :link, code :visited { color:inherit }
20+
.members dt { margin:.5em 0 }
21+
.members dd p:first-child { margin-top:0 }
22+
.members dd p:last-child { margin-bottom:0 }
2223
</style>
2324
<link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/base">
2425
</head>
@@ -1253,7 +1254,7 @@ <h4>The <code>DocumentCSS</code> Interface</h4>
12531254
Author !important styles
12541255
Override !important styles
12551256
User !important styles
1256-
UA !important styles (fwiw) -- or does this come before user?!
1257+
UA !important styles (fwiw) - or does this come before user?!
12571258
12581259
on getting you actually don't create an override style sheet you just read
12591260
the computed style of a certain property. this should be clear.

0 commit comments

Comments
 (0)