Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
install system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
7 Jan 2013 at 20:16 UTC
Updated:
13 Apr 2017 at 18:05 UTC
Jump to comment: Most recent file

Comments
Comment #1
jeni_dc commentedIt looks as though there was no CSS at all for the password strength. In comparing the install form to the user edit form, user.css from core user.module was adding in the required styles for the password strength checking.
I'm not sure if this file was ever included in the install process, but adding it back to the form made the password strength checking work fine for me.
In install.core.inc, function _install_configure_form, I added the following
I'd supply a patch but I'm not sure if the css was ever included from user.css, where it may have been, or why it may have been removed.
Adding in the entire contents of user.css had no detrimental effects on the rest of the page.
Comment #2
David_Rothstein commentedNoticed this too... Seems at least normal priority (if not major); that floating word looks very ugly out there.
I think attaching the CSS is probably the right way to go but I wonder if we can track down what caused this regression in the first place. Maybe there already exists code somewhere that is still trying to add that CSS but failing for some reason.
Comment #3
yesct commentedI recently did a git bisect, if someone wants to do that to find out which commit broke this. I was not that bad actually.. just a lot of install, test, wipe, install test... etc.
I followed the binary search section of: http://git-scm.com/book/en/Git-Tools-Debugging-with-Git
Comment #4
yesct commentedrelated: #1811240: Improve "password matches" and "password strength" accessibility
Comment #5
zengenuity commentedI'm pretty sure it broke with this commit:
http://drupalcode.org/project/drupal.git/commit/2bd155b1069fc631c1e1b0d0...
In that commit:
Removed from user.info:
stylesheets[all][] = user.cssReplaced with in user.module:
This is equivalent for normal pages, but
hook_page_buildis not called for installation pages, because those are run through the maintenance page theme. Given this, it seems like using the form attachment is reasonable, but the correspondinguser.jsfile is actually loaded onto the installation page fromuser_library_info().user.jsis almost entirely about the password widget, so if that's being loaded throughuser_library_info(), I thinkuser.cssshould be, too. I've tested it, and it fixes the problem. (as does the form attachment method)Attached is a patch to add
user.csstouser_library_info().Comment #6
jthorson commentedDoes what it says it should. :)
Comment #7
webchickHooray! :) Thanks for tracking this down!
Committed and pushed to 8.x.