File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212# <span class="propinst-name"><'name'></span>
1313#
1414# Ian Jacobs - ij@w3.org (Based on work by Arnaud Le Hors)
15- # $Id: dextr,v 1.5 1997-12-11 00:12:37 ijacobs Exp $
15+ # $Id: dextr,v 1.6 1998-01-09 14:35:59 ijacobs Exp $
1616
1717$PROGNAME = substr ($0 , rindex ($0 , " /" ) + 1);
1818
@@ -50,7 +50,9 @@ $init = $_[2];
5050$media = $_ [3];
5151print output " <DIV class=\" descdef\" >\n " ;
5252print output " <P><a name=\" descdef-$name \" class=\" descdef-title\" ><strong>'$name '</strong> (Descriptor)</a></P>\n " ;
53- print output " <TABLE class=\" descinfo\" >\n " ;
53+ # We use cellspacing/cellpadding until more browsers
54+ # handle tables correctly.
55+ print output " <TABLE class=\" descinfo\" cellpadding=0 cellspacing=0>\n " ;
5456&format_name($name );
5557&format_values($values );
5658&format_init($init );
@@ -61,7 +63,7 @@ print output "</DIV>\n\n";
6163
6264sub format_name {
6365print output " <TR valign=\" top\" ><TH align=\" right\" >Descriptor name:" ;
64- print output " <TD><span class=\" index-def\" title=\" '$_ [0]' (descriptor)\" >\' $_ [0]\' </span></TR>\n " ;
66+ print output " <TD><span class=\" index-def\" title=\" '$_ [0]' (descriptor)\" >\' $_ [0]\' </span></TR>\n " ;
6567}
6668
6769sub format_values {
Original file line number Diff line number Diff line change 1313# <span class="propinst-name"><'name'></span>
1414#
1515# Ian Jacobs - ij@w3.org (Based on work by Arnaud Le Hors)
16- # $Id: pextr,v 1.6 1997-12-16 20:51:56 ijacobs Exp $
16+ # $Id: pextr,v 1.7 1998-01-09 14:36:06 ijacobs Exp $
1717
1818$PROGNAME = substr ($0 , rindex ($0 , " /" ) + 1);
1919
@@ -55,7 +55,9 @@ $media = $_[6];
5555# Do next three lines in src files to get headings right.
5656print output " <DIV class=\" propdef\" >\n " ;
5757print output " <P><a name=\" propdef-$name \" class=\" propdef-title\" ><strong>'$name '</strong></a></P>\n " ;
58- print output " <TABLE class=\" propinfo\" >\n " ;
58+ # Sorry, we use cellspacing/cellpadding until tables
59+ # handled better in user agents.
60+ print output " <TABLE class=\" propinfo\" cellspacing=0 cellpadding=0>\n " ;
5961&format_name($name );
6062&format_values($values );
6163&format_init($init );
@@ -67,9 +69,11 @@ print output "</TABLE>\n";
6769print output " </DIV>\n\n " ;
6870}
6971
72+ # Include an nbsp before TD since CSS not used to
73+ # align tables yet.
7074sub format_name {
7175print output " <TR valign=\" top\" ><TH align=\" right\" >Property name:" ;
72- print output " <TD><span class=\" index-def\" title=\" '$_ [0]'\" >\' $_ [0]\' </span></TR>\n " ;
76+ print output " <TD><span class=\" index-def\" title=\" '$_ [0]'\" >\' $_ [0]\' </span></TR>\n " ;
7377}
7478
7579sub format_values {
Original file line number Diff line number Diff line change 1212# <span class="propinst-name"><'name'></span>
1313#
1414# Ian Jacobs - ij@w3.org (Based on work by Arnaud Le Hors)
15- # $Id: dextr,v 1.5 1997-12-11 00:12:37 ijacobs Exp $
15+ # $Id: dextr,v 1.6 1998-01-09 14:35:59 ijacobs Exp $
1616
1717$PROGNAME = substr ($0 , rindex ($0 , " /" ) + 1);
1818
@@ -50,7 +50,9 @@ $init = $_[2];
5050$media = $_ [3];
5151print output " <DIV class=\" descdef\" >\n " ;
5252print output " <P><a name=\" descdef-$name \" class=\" descdef-title\" ><strong>'$name '</strong> (Descriptor)</a></P>\n " ;
53- print output " <TABLE class=\" descinfo\" >\n " ;
53+ # We use cellspacing/cellpadding until more browsers
54+ # handle tables correctly.
55+ print output " <TABLE class=\" descinfo\" cellpadding=0 cellspacing=0>\n " ;
5456&format_name($name );
5557&format_values($values );
5658&format_init($init );
@@ -61,7 +63,7 @@ print output "</DIV>\n\n";
6163
6264sub format_name {
6365print output " <TR valign=\" top\" ><TH align=\" right\" >Descriptor name:" ;
64- print output " <TD><span class=\" index-def\" title=\" '$_ [0]' (descriptor)\" >\' $_ [0]\' </span></TR>\n " ;
66+ print output " <TD><span class=\" index-def\" title=\" '$_ [0]' (descriptor)\" >\' $_ [0]\' </span></TR>\n " ;
6567}
6668
6769sub format_values {
Original file line number Diff line number Diff line change 1313# <span class="propinst-name"><'name'></span>
1414#
1515# Ian Jacobs - ij@w3.org (Based on work by Arnaud Le Hors)
16- # $Id: pextr,v 1.6 1997-12-16 20:51:56 ijacobs Exp $
16+ # $Id: pextr,v 1.7 1998-01-09 14:36:06 ijacobs Exp $
1717
1818$PROGNAME = substr ($0 , rindex ($0 , " /" ) + 1);
1919
@@ -55,7 +55,9 @@ $media = $_[6];
5555# Do next three lines in src files to get headings right.
5656print output " <DIV class=\" propdef\" >\n " ;
5757print output " <P><a name=\" propdef-$name \" class=\" propdef-title\" ><strong>'$name '</strong></a></P>\n " ;
58- print output " <TABLE class=\" propinfo\" >\n " ;
58+ # Sorry, we use cellspacing/cellpadding until tables
59+ # handled better in user agents.
60+ print output " <TABLE class=\" propinfo\" cellspacing=0 cellpadding=0>\n " ;
5961&format_name($name );
6062&format_values($values );
6163&format_init($init );
@@ -67,9 +69,11 @@ print output "</TABLE>\n";
6769print output " </DIV>\n\n " ;
6870}
6971
72+ # Include an nbsp before TD since CSS not used to
73+ # align tables yet.
7074sub format_name {
7175print output " <TR valign=\" top\" ><TH align=\" right\" >Property name:" ;
72- print output " <TD><span class=\" index-def\" title=\" '$_ [0]'\" >\' $_ [0]\' </span></TR>\n " ;
76+ print output " <TD><span class=\" index-def\" title=\" '$_ [0]'\" >\' $_ [0]\' </span></TR>\n " ;
7377}
7478
7579sub format_values {
You can’t perform that action at this time.
0 commit comments