The icon for "Optionen" is placed much too low:
Reproducible with version currently deployed on Wikipedia with Firefox 46 on Ubuntu.
Schnark | |
Sep 23 2016, 10:00 AM |
F4534552: pasted_file | |
Sep 28 2016, 10:29 PM |
F4534502: pasted_file | |
Sep 28 2016, 10:29 PM |
F4534575: pasted_file | |
Sep 28 2016, 10:29 PM |
F4534505: pasted_file | |
Sep 28 2016, 10:29 PM |
F4534600: pasted_file | |
Sep 28 2016, 10:29 PM |
F4534543: pasted_file | |
Sep 28 2016, 10:29 PM |
F4517000: pasted_file | |
Sep 23 2016, 2:28 PM |
F4517002: pasted_file | |
Sep 23 2016, 2:28 PM |
The icon for "Optionen" is placed much too low:
Reproducible with version currently deployed on Wikipedia with Firefox 46 on Ubuntu.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | thcipriani | T145220 MW-1.28.0-wmf.21 deployment blockers | |||
Resolved | matmarex | T146462 [Regression wmf.20] Using <fieldset> and <legend> for FieldsetLayouts breaks rendering in Firefox |
This is a Firefox bug related to using <fieldset> + <legend>. We probably should've noticed this when testing the change that introduced those, whoops…
Reduced test case: https://jsfiddle.net/ggw0m96c/1/
Chromium | Firefox | Opera 12 | IE 11 | Edge |
Assuming we don't want to abandon <legend>, I see two possible solutions:
Change 312526 had a related patch set uploaded (by Bartosz Dziewoński):
demo: Add FieldsetLayout with icon
I've searched a bit and I see two more possible solutions:
(Yes, these are workarounds from 2011 and 2008, respectively. :) )
Change 312542 had a related patch set uploaded (by Bartosz Dziewoński):
FieldsetLayout: Work around absolute positioning problems on Firefox
Change 312542 merged by jenkins-bot:
FieldsetLayout: Work around positioning problems in Firefox
Have you tested IE9/10 as well?
The fact we have to use more floats/position:absolutes to work around these bugs makes it feel like a game of whack-a-mole to get these elements to behave consistently, and is the reason which switched to <div>s in the first place.
No, so I downloaded some virtual machines, just for you :). It works perfectly.
IE 9 | IE 10 | |
VisualEditor | ||
JS demo | ||
The OOUI PHP demo also looks fine in IE 8. It's all messed up in IE 6, but the FieldsetLayout label is one of the few things which display semi-sensibly.
IE 6 | IE 8 | |
PHP demo | ||
This is now resolved in OOjs UI. The fix is not released yet, nor deployed to Wikimedia production. If this is UBN for the VE team, please cherry-pick it manually and deploy it.
Change 313846 had a related patch set uploaded (by Jforrester):
OOjs UI: FieldsetLayout: Work around positioning problems in Firefox
Change 313855 had a related patch set uploaded (by Jforrester):
FieldsetLayout: Work around positioning problems in Firefox
Change 313846 abandoned by Jforrester:
OOjs UI: FieldsetLayout: Work around positioning problems in Firefox
Reason:
We're doing a release instead.
Change 313855 merged by jenkins-bot:
FieldsetLayout: Work around positioning problems in Firefox
Did a new release of OOUI (0.17.10) with these fixes; pulls-through to MW are in https://gerrit.wikimedia.org/r/#/q/I4faf83e301417ef5721a81a4a69890854e6c266b with master done and wmf.20 to be done in the SWAT this afternoon.