Closed
Bug 857862
Opened 12 years ago
Closed 11 years ago
Defect - Selection monocles don't show up on sites using content editable (like outlook.com)
Categories
(Firefox for Metro Graveyard :: Input, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jimm, Assigned: jimm)
References
Details
(Whiteboard: [selection][shovel-ready]feature=defect c=tbd u=tbd p=3)
Attachments
(3 files, 2 obsolete files)
644 bytes,
text/html
|
Details | |
7.37 KB,
patch
|
sfoster
:
review+
|
Details | Diff | Splinter Review |
4.99 KB,
patch
|
sfoster
:
review+
|
Details | Diff | Splinter Review |
str:
1) compose a new message on outlook.com
2) type in some text into the message view
3) tap within the text you type
result: no caret monocle
if you select some text you don't get start or end monocles either.
Assignee | ||
Updated•12 years ago
|
Whiteboard: [selection]
Assignee | ||
Comment 1•12 years ago
|
||
This is really a more general problem of not supporting content editable in the current selection handler code.
Updated•12 years ago
|
Blocks: metrov1defect&change
Updated•12 years ago
|
Summary: selection monocles don't show up on outlook.com → Defect - Selection monocles don't show up on outlook.com
Whiteboard: [selection] → [selection] feature=defect c=tbd u=tbd p=0
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jmathies
Whiteboard: [selection] feature=defect c=tbd u=tbd p=0 → [selection] feature=defect c=tbd u=tbd p=5
Comment 2•12 years ago
|
||
Jim's point estimate=5
Whiteboard: [selection] feature=defect c=tbd u=tbd p=5 → [selection] feature=defect c=tbd u=tbd p=0
Updated•12 years ago
|
No longer blocks: metrov1defect&change
Priority: -- → P2
Summary: Defect - Selection monocles don't show up on outlook.com → Defect - Selection monocles don't show up on sites using content editable (like outlook.com)
Updated•12 years ago
|
Comment 3•12 years ago
|
||
Is there anything blocking or holding this up?
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to :Ally Naaktgeboren from comment #3)
> Is there anything blocking or holding this up?
No, and it's a definite selection blocker.
Assignee: jmathies → nobody
Whiteboard: [selection] feature=defect c=tbd u=tbd p=0 → [selection][shovel-ready]feature=defect c=tbd u=tbd p=0
Assignee | ||
Comment 5•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jmathies
Whiteboard: [selection][shovel-ready]feature=defect c=tbd u=tbd p=0 → [selection][shovel-ready]feature=defect c=tbd u=tbd p=3
Assignee | ||
Comment 6•11 years ago
|
||
Updated•11 years ago
|
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #770212 -
Attachment is obsolete: true
Attachment #770730 -
Flags: review?(sfoster)
Assignee | ||
Comment 8•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #770731 -
Flags: review?(sfoster)
Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 770731 [details] [diff] [review]
tests
This needs a setDevPixelEqualToPx() call. The coordinates are off on test slaves.
Attachment #770731 -
Attachment is obsolete: true
Attachment #770731 -
Flags: review?(sfoster)
Comment 10•11 years ago
|
||
Comment on attachment 770730 [details] [diff] [review]
content editable support v.1
Review of attachment 770730 [details] [diff] [review]:
-----------------------------------------------------------------
Clean local test run, looks good to me.
::: browser/metro/base/content/Util.js
@@ +185,5 @@
> aElement instanceof Ci.nsIDOMHTMLTextAreaElement);
> },
>
> + isEditableContent: function isEditableContent(aElement) {
> + if (!aElement)
Is it worth also checking you get an element? E.g. aElement.nodeType==1
Attachment #770730 -
Flags: review?(sfoster) → review+
Assignee | ||
Comment 11•11 years ago
|
||
Attachment #771654 -
Flags: review?(sfoster)
Assignee | ||
Comment 12•11 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #11)
> Created attachment 771654 [details] [diff] [review]
> tests
try run:
https://tbpl.mozilla.org/?tree=Try&showall=0&rev=638f75179575
Comment 13•11 years ago
|
||
Comment on attachment 771654 [details] [diff] [review]
tests
Review of attachment 771654 [details] [diff] [review]:
-----------------------------------------------------------------
The try run came up green. r+ with comments.
::: browser/metro/base/tests/mochitest/browser_selection_contenteditable.js
@@ +37,5 @@
> + run: function test() {
> + let div = gWindow.document.getElementById("testdiv");
> + ok(div, "have the div");
> +
> + sendElementTap(gWindow, div, 295); // end of 'outlook.com'
What does this 295 magic number come from?
::: browser/metro/base/tests/mochitest/head.js
@@ +639,5 @@
>
> TouchDragAndHold.prototype = {
> _timeoutStep: 2,
> _numSteps: 50,
> + _debug: true,
Did you mean to commit this change to the _debug flag?
Attachment #771654 -
Flags: review?(sfoster) → review+
Comment 14•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d412604544ac
https://hg.mozilla.org/mozilla-central/rev/fd19f8ea452e
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 15•11 years ago
|
||
User Agent : Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20130717 Firefox/25.0
Build ID: 20130717030207
Works for me.
Tested for iteration 10 on latest nightly from ftp://ftp.mozilla.org/pub/firefox/nightly/2013/07/2013-07-17-03-02-07-mozilla-central/
using windows 8.1 preview.
I see selection monocles for editable content.
Comment 16•11 years ago
|
||
User Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:26.0) Gecko/20100101 Firefox/26.0
Build ID: 20130806104538
Built from http://hg.mozilla.org/mozilla-central/rev/1e381c91885d
WFM
Tested on windows 8 using latest nightly for iteration-11. Followed steps provided in comment0 and I got caret monocle after tapping. When I selected some text I got start and end monocles.
Comment 17•11 years ago
|
||
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
Build ID: 20130816030205
Built from http://hg.mozilla.org/mozilla-central/rev/1ed5a88cd4d0
WFM
Tested on windows 8 using latest nightly for iteration-12. Followed steps provided in comment0 and I got caret monocle after tapping. When I selected some text I got start and end monocles.
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•