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

            Bug ID: 63233
           Summary: Using <section> prevents from inheriting CSS
           Product: MediaWiki
           Version: 1.23-git
          Hardware: Macintosh
                OS: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: User preferences
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: scheno...@gmail.com
                CC: agarr...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

In includes/templates/Usercreate.php, there is a part that reads:

<section class="mw-form-header">
<?php $this->html( 'header' ); ?>
</section>

For some reason, the content put between the <section></section> tags does not
inherit the CSS from its parents, with ugly consequences. For instance, when
the ConfirmEdit extension is activated, and QuestyCaptcha is used, an input
field is inserted between the <section></section> tags, which doesn't inherit
CSS and thus looks different from the rest of the fields.

I've seen this bug in Chrome 33, Firefox 25 and Safari 6 (screens attached).
This bug is probably not due to MediaWiki, but a short Google search didn't
suggest that it's a browser issue either.

So anyway, rather than complicating ourselves too much, I suggest to simply
change the section tags for divs.

Here is the Gerrit patch: https://gerrit.wikimedia.org/r/#/c/121291/

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to