Soeren.oldag has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/204025

Change subject: Removed bug in HtmlTableCell class, which leads to horizontal 
arranged rows in Firefox and Opera.
......................................................................

Removed bug in HtmlTableCell class, which leads to horizontal arranged rows in 
Firefox and Opera.

Changed default value of html attributes 'rowspan' and 'colspan' from 0 to 1.

Change-Id: I86d4e3f319085b12e26f45ca2948256ca90de2fa
---
M includes/Html/HtmlTableCell.php
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikidataQuality 
refs/changes/25/204025/1

diff --git a/includes/Html/HtmlTableCell.php b/includes/Html/HtmlTableCell.php
index f654fed..bcaa2b4 100644
--- a/includes/Html/HtmlTableCell.php
+++ b/includes/Html/HtmlTableCell.php
@@ -36,8 +36,10 @@
 
     /**
      * @param $content
+     * @param int $rowSpan
+     * @param int $colSpan
      */
-    public function __construct( $content, $rowSpan = 0, $colSpan = 0 ) {
+    public function __construct( $content, $rowSpan = 1, $colSpan = 1 ) {
         // Check parameters
         if ( !is_string( $content ) ) {
             throw new InvalidArgumentException( '$content must be string.' );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I86d4e3f319085b12e26f45ca2948256ca90de2fa
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikidataQuality
Gerrit-Branch: master
Gerrit-Owner: Soeren.oldag <soeren_ol...@freenet.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to