Last modified: 2014-10-16 12:00:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66941, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64941 - [UIFeedback]: After closing screenshot dialog Firefox selects the whole text by a single click
[UIFeedback]: After closing screenshot dialog Firefox selects the whole text ...
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
master
All All
: Lowest minor (vote)
: ---
Assigned To: Fomafix
: javascript
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-06 06:23 UTC by Fomafix
Modified: 2014-10-16 12:00 UTC (History)
0 users

See Also:
Web browser: Firefox
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Fomafix 2014-05-06 06:23:10 UTC
Steps to reproduce:
* Load UIFeedback in screenshot mode by #screenshot.
* Click on "Feedback" button
-> "Feedback" dialog occurs.
* Click on the close button in the right top corner.
-> Dialog closes.
* Click somewhere in the text.
-> The whole text gets selected.

This behavior occurs in Mozilla Firefox.
This behavior occurs not in Google Chrome.

To allow drawing before the screenshot the selection gets disabled by
user-select: none
That is correct.

After closing the selection should set back to normal mode. This is done by
user-select: all
That is wrong. The default value is
user-select: text
http://www.w3.org/TR/2000/WD-css3-userint-20000216#user-select
https://developer.mozilla.org/en-US/docs/Web/CSS/user-select

Webkit does not support (-webkit-)user-select: all
https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/css/property/-webkit-user-select
Comment 1 Gerrit Notification Bot 2014-05-06 06:23:20 UTC
Change 131664 had a related patch set uploaded by Gerrit Patch Uploader:
Reset to the default user-select: text instead of user-select: all

https://gerrit.wikimedia.org/r/131664

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links