Bug ID: 63642
           Summary: Parsoid outputs <small> as child of <figure>
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: General
       Web browser: ---
   Mobile Platform: ---

On , I see
two images that look like:

<figure><small><a href="..."><img src="..." /></a><figcaption>Caption

You can find them by opening that link in a browser and typing
document.querySelectorAll('figure>small') in a console, then clicking on the
result (Firebug) or right-clicking the result and choosing "Reveal in elements
panel" (Chrome).

Putting a <small> inside a <figure> tag but wrapped around a <figcaption> tag
is a violation of the image spec (in addition to just being insane), which
causes VisualEditor to get very confused and corrupt the image, which causes
Parsoid to output [[undefined|NaNxNaNpx|right|link=]], see
. This is reminiscent of bug 62805 (NaNxNaNpx).

The wikitext that triggers this is fairly complicated, and I haven't been able
to isolate a test case locally. It seems to be something like:

* '''Text'''


* '''Text'''

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to