https://bugzilla.wikimedia.org/show_bug.cgi?id=52075

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[email protected]
            Summary|Table renders incorrectly   |MobileFrontend: Tables are
                   |for List of Chocalate Bar   |cut off
                   |Brands                      |
     Ever confirmed|0                           |1
           Severity|normal                      |major

--- Comment #1 from Krinkle <[email protected]> ---
Don't use W3 validator, it is not useful in this case, nor in many other cases
actually.

The error is caused by two things:

1) This particular en.wiki article has a rather odd inline style:
  {| class="wikitable" style="height: 100px; width: 100%;"


Now, that's crazy as shit and fortunately doesn't actually work (why would you
want to make a table with lots of rows a 100px tall?).

But mobile has this other thing:

2) MobileFrontend's mobile.styles module:
   #content table {
      overflow: auto;
      overflow-y: hidden;
      overflow-x: auto;
      word-break: normal;
      display: block;
   }

Now (in particular "overflow-y: hidden;") that's also some interesting piece of
art that also fortunately doesn't work.


Both of these could (and should) be removed afaik as they do nothing.

And then here's where it gets all wibbly wobbly... timey wimey...

If you throw these two things (overflow-y: hidden; height: 100px) together on 1
table, it works and does exactly what you'd expect: Limit to a 100px and hide
everything else with no scroll bar or overflow.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to