r15242 - in /scripts/qa/templates: by_category default.css

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Feb 20 21:56:01 UTC 2008


Author: dmn
Date: Wed Feb 20 21:56:00 2008
New Revision: 15242

URL: http://svn.debian.org/wsvn/?sc=1&rev=15242
Log:
replace DIVs in balloon SPANs with SPANs styled with "display:block" to satosfy XHTML validity requirements

Modified:
    scripts/qa/templates/by_category
    scripts/qa/templates/default.css

Modified: scripts/qa/templates/by_category
URL: http://svn.debian.org/wsvn/scripts/qa/templates/by_category?rev=15242&op=diff
==============================================================================
--- scripts/qa/templates/by_category (original)
+++ scripts/qa/templates/by_category Wed Feb 20 21:56:00 2008
@@ -50,7 +50,9 @@
         [% IF pkg.status.$ngkey %][NG][% ELSE %][NM][% END %]
     </span>
     <span class="balloon">
-        <div style="margin-bottom: 1em;">
+        [%# this is span, but is has "display: block" in .css
+            the reason is that XHTML does not allow DIVs inside SPANs %]
+        <span style="margin-bottom: 1em;">
             [% IF pkg.status.$ngkey %]
             The group is neither maintainer nor uploader of this
             package
@@ -58,7 +60,7 @@
             The group is not maintainer (but uploader) of this
             package
             [% END %]
-        </div>
+        </span>
         [% show_maint(mdata) %]
     </span>
 </span>

Modified: scripts/qa/templates/default.css
URL: http://svn.debian.org/wsvn/scripts/qa/templates/default.css?rev=15242&op=diff
==============================================================================
--- scripts/qa/templates/default.css (original)
+++ scripts/qa/templates/default.css Wed Feb 20 21:56:00 2008
@@ -56,6 +56,11 @@
     -moz-opacity: 0.95;
     filter: alpha(opacity=95);
 }
+
+span.balloon span {
+    display: block;
+}
+
 #main_table {
     width: 95%;
 }




More information about the Pkg-perl-cvs-commits mailing list