Skip to content

Commit e1e399a

Browse files
committed
Add example for external links
1 parent 93dfb59 commit e1e399a

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

selectors4/Overview.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515

1616
<h1 id=title>Selectors Level 4</h1>
1717

18-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 6 July 2011</h2>
18+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 7 July 2011</h2>
1919

2020
<dl>
2121
<dt>This version:
2222

23-
<dd> <!-- <a href="http://www.w3.org/TR/2011/ED-selectors4-20110706/">
24-
http://www.w3.org/TR/2011/WD-selectors4-20110706</a> -->
23+
<dd> <!-- <a href="http://www.w3.org/TR/2011/ED-selectors4-20110707/">
24+
http://www.w3.org/TR/2011/WD-selectors4-20110707</a> -->
2525
<a href="http://dev.w3.org/csswg/selectors4">
2626
http://dev.w3.org/csswg/selectors4</a>
2727

@@ -1791,6 +1791,13 @@ <h3 id=here-pseudo><span class=secno>8.2. </span> The link location
17911791
</ol>
17921792
</div>
17931793

1794+
<div class=example>
1795+
<p>The following example styles all site-external links with a dashed
1796+
underline.
1797+
1798+
<pre>:not(:current(0)) { text-decoration-style: dashed; }</pre>
1799+
</div>
1800+
17941801
<h3 id=target-pseudo><span class=secno>8.3. </span> The target pseudo-class
17951802
:target</h3>
17961803

selectors4/Overview.src.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,12 @@ <h3 id="here-pseudo">
13151315
<ol>
13161316
</div>
13171317

1318+
<div class="example">
1319+
<p>The following example styles all site-external links with a dashed
1320+
underline.
1321+
<pre>:not(:current(0)) { text-decoration-style: dashed; }</pre>
1322+
</div>
1323+
13181324
<h3 id=target-pseudo>
13191325
The target pseudo-class :target</h3>
13201326

0 commit comments

Comments
 (0)