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

       Web browser: ---
             Bug #: 33415
           Summary: Headlines should have their id in the h-tag not in a
                    span
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Not sure if this is proper HTML:

<h2><span class="editsection">...</span> <span id="License"
class="mw-headline">License</span></h2>

Correct would be to add the id to the h2-tga instead:
<h2 id="License"><span class="editsection">...</span> <span
class="mw-headline">License</span></h2>

It becomes a problem when you use the CSS3 pseudo selector :target to style the
background:

*:target  { background-color:#fffddf !important }

http://i.imgur.com/I7uwr.png

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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