Skip to content

Commit 4868958

Browse files
committed
[css3-ui] html validation: use style element styling td inside an id instead of cellpadding
1 parent 925d7ea commit 4868958

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

css-ui/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<h1>CSS Basic User Interface Module Level 3 (CSS3 UI)</h1>
2+
<style>#awesome-table td {padding:5px}</style>
23

34
<pre class='metadata'>
45
ED: http://dev.w3.org/csswg/css-ui/
@@ -775,7 +776,7 @@ sample CSS for a div:
775776
}</code></pre>
776777

777778
sample HTML fragments, renderings, and your browser:
778-
<table border="1" cellpadding="5" style="color:#000;background:#fff;"><tbody>
779+
<table border="1" style="color:#000;background:#fff" id="awesome-table"><tbody>
779780
<tr><th>HTML</th><th>sample rendering</th><th>your browser</th></tr>
780781
<tr>
781782
<td><pre><code class="lang-markup">&lt;div&gt;

css-ui/Overview.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
<script defer="" src="//test.csswg.org/harness/annotate.js#css-ui-3_dev/css-ui-3" type="text/javascript"></script>
6565

6666

67+
<style>#awesome-table td {padding:5px}</style>
68+
69+
70+
71+
6772
<script>self = (typeof window !== 'undefined')
6873
? window // if in browser
6974
: (
@@ -912,8 +917,6 @@ <h2 class="no-num no-toc no-ref heading settled" id="contents"><span class="cont
912917

913918

914919

915-
916-
917920
<p></p>
918921

919922

@@ -2073,7 +2076,7 @@ <h4 class="no-num no-toc heading settled" id="text-overflow-examples"><span clas
20732076

20742077
<p>sample HTML fragments, renderings, and your browser:</p>
20752078

2076-
<table border="1" cellpadding="5" style="color:#000;background:#fff;">
2079+
<table border="1" id="awesome-table" style="color:#000;background:#fff">
20772080
<tbody>
20782081

20792082
<tr>

0 commit comments

Comments
 (0)