Francois Gouget : testbot/web: Add some </div> comments identifying the corresponding <div>.

Alexandre Julliard julliard at winehq.org
Wed Aug 22 16:00:46 CDT 2018


Module: tools
Branch: master
Commit: a0078ae5726a27ec5b701b18edfcd7a4883293ab
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=a0078ae5726a27ec5b701b18edfcd7a4883293ab

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Aug 22 10:58:50 2018 +0200

testbot/web: Add some </div> comments identifying the corresponding <div>.

This helps debug HTML tag balancing errors.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/lib/ObjectModel/CGI/FormPage.pm | 4 ++--
 testbot/lib/WineTestBot/CGI/PageBase.pm | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/testbot/lib/ObjectModel/CGI/FormPage.pm b/testbot/lib/ObjectModel/CGI/FormPage.pm
index b3861dd..3a41fe0 100644
--- a/testbot/lib/ObjectModel/CGI/FormPage.pm
+++ b/testbot/lib/ObjectModel/CGI/FormPage.pm
@@ -128,8 +128,8 @@ sub GenerateBody($)
   {
     print "<p>$Text</p>\n";
   }
-  print "</div>\n";
-  print "</div>\n";
+  print "</div><!--Content-->\n";
+  print "</div><!--ItemBody-->\n";
 }
 
 sub GenerateFormStart($)
diff --git a/testbot/lib/WineTestBot/CGI/PageBase.pm b/testbot/lib/WineTestBot/CGI/PageBase.pm
index 67e8fc8..e5b2f2d 100644
--- a/testbot/lib/WineTestBot/CGI/PageBase.pm
+++ b/testbot/lib/WineTestBot/CGI/PageBase.pm
@@ -327,10 +327,10 @@ sub GenerateFooter($)
   my ($self) = @_;
 
   print <<EOF;
-    </div>
+    </div><!--ContentContainer-->
     <b class="rbottom"><b class="r4"> </b><b class="r3"> </b><b class="r2"> </b><b class="r1"> </b></b>
   </div>
-</div>
+</div><!--main_content-->
 
 </body>
 </html>




More information about the wine-cvs mailing list