Jack Phoenix has submitted this change and it was merged.

Change subject: Futher HTML validation fixes, kinda
......................................................................


Futher HTML validation fixes, kinda

Change-Id: Ieb4434befe2ffc15e9f6f63f0e69696a9472ecad
---
M SiteScoutClass.php
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Jack Phoenix: Verified; Looks good to me, approved



diff --git a/SiteScoutClass.php b/SiteScoutClass.php
index b95c19e..064cead 100644
--- a/SiteScoutClass.php
+++ b/SiteScoutClass.php
@@ -102,7 +102,7 @@
                                                                                
<table>
                                                                                
        <tr>
                                                                                
                <td>
-                                                                               
                        <table style="background-color:#009900; height:7px;" 
width="' . ( $votes / $largest_value * 300 ) . "\">
+                                                                               
                        <table style="background-color:#009900; height:7px; 
width:' . ( $votes / $largest_value * 300 ) . "px;\">
                                                                                
                                <tr>
                                                                                
                                        <td></td>
                                                                                
                                </tr>
@@ -124,7 +124,7 @@
                                                                                
<table>
                                                                                
        <tr>
                                                                                
                <td>
-                                                                               
                        <table style="background-color:#285C98; height:7px;" 
width="' . ( $edits / $largest_value * 300 ) . "\">
+                                                                               
                        <table style="background-color:#285C98; height:7px; 
width:' . ( $edits / $largest_value * 300 ) . "px;\">
                                                                                
                                <tr>
                                                                                
                                        <td></td>
                                                                                
                                </tr>
@@ -147,7 +147,7 @@
                                                                                
<table>
                                                                                
        <tr>
                                                                                
                <td>
-                                                                               
                        <table style="background-color:#990000; height:7px;" 
width="' . ( $comments / $largest_value * 300 ) . "\">
+                                                                               
                        <table style="background-color:#990000; height:7px; 
width:' . ( $comments / $largest_value * 300 ) . "px;\">
                                                                                
                                <tr>
                                                                                
                                        <td></td>
                                                                                
                                </tr>
@@ -202,7 +202,7 @@
                                </tr>
                        </table>
 
-               </td><td width="25"></td><td valign="bottom">
+               </td><td style="width:25px;"></td><td valign="bottom">
                </td></tr></table>';
                // Hidden utility div for the JavaScript file; required (AFAIK) 
in the
                // new, ResourceLoader-ful world where inline JS is a strict 
no-no

-- 
To view, visit https://gerrit.wikimedia.org/r/226915
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ieb4434befe2ffc15e9f6f63f0e69696a9472ecad
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SiteScout
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <[email protected]>
Gerrit-Reviewer: Jack Phoenix <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to