https://bugzilla.wikimedia.org/show_bug.cgi?id=69157
Bug ID: 69157 Summary: Parsoid: image thumbnail without caption lacks a bottom border Product: Parsoid Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: parsoid-t...@wikimedia.org Reporter: sp...@wikimedia.org CC: jforres...@wikimedia.org, ssas...@wikimedia.org Web browser: --- Mobile Platform: --- Visit http://parsoid.wmflabs.org/_wikitext/ Enter [[File:Rainbow3580Colours.png|thumb]] and submit. Then zoom in. Result: the "frame" around the thumbnail image is missing its bottom edge. This is intentional, resources/src/mediawiki.skinning/content.parsoid.less has figure[typeof~='mw:Image/Thumb'] ... border-bottom: 0; // No border to caption and if you add a caption to the image, e.g. [[File:Rainbow3580Colours.png|thumb|Hello]] then the HTML has a nested <figcaption> and this is styled with matching borders its right, left, and bottom to complete the frame. It seems it would be better to put a border around the entire <figure> and when there's a caption place a borderless figcaption within it. CSS is hard :) Note that in regular wikitext the bottom edge of a thumbnail looks different because it always has a thumbcaption div containing a magnify icon. -- You are receiving this mail because: 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