Google recently added a new calculator widget that appears on the results page if you search for terms that can be calculated. Steps to reproduce: 1. Go to http://www.google.com/ and search 1+1= 2. Try to select "2" in the result area either by double clicking or click-dragging Results: Text cannot be selected. Expected results: Text is selected and can be copied, etc. Additional notes: This works in Chrome.
confirming with Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14a1 Build identifier: 20120730003010
Component: Graphics: Text → Selection
can also select the text correctly in IE9
The page is using the non-standard -moz-user-select property, so this might well just be an evangelism issue. A minimal testcase is: <span style="-moz-user-select: text; float: left">2</span> Ehsan, is that supposed to work, or is this a Google bug?
Er, wait. That's not quite right. Digging more.
Actual minimal testcase: <div style="-moz-user-select: none"> <span style="-moz-user-select: text;">2</span> </div> I believe -moz-user-select:none in fact overrides any -moz-user-select values on kids, so this is working as designed...
Thanks, Boris. There is some related discussion in bug 648624 that agrees with your assessment and suggests using -moz-user-select: -moz-none on the parent, which would allow the children to override it. If I get time, I'll try and find somewhere I can complain to Google about this. ->INVALID
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INVALID
I sent mail about this.
Thanks. I just posted a reply on the Google Product Forums, where it appears a Google employee is looking into this: http://productforums.google.com/forum/#!searchin/websearch/calculator/websearch/3ue0BkpRkbw/c5-9b76D9KIJ.
You need to log in before you can comment on or make changes to this bug.