Closed
Bug 1184538
Opened 10 years ago
Closed 1 month ago
[Ruleview] values are being autocompleted wrong when I press Shift+Up/Down while the cursor is placed in the middle of the rule value
Categories
(DevTools :: Inspector: Rules, defect, P2)
DevTools
Inspector: Rules
Tracking
(firefox136 fixed)
RESOLVED
FIXED
136 Branch
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: arni2033, Assigned: nchevobbe)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
STR:
1. Open Inspector -> sidebar -> Rules tab
2. Create new rule "background: darkblue;"
3. Place cursor between "l" and "u" in "darkblue"
4. Press Shift+Up/Down
5. (optional) GoTo step 3
Result:
Value is being autocompleted so I get "darkblueueueue". The same applies to rule names.
Expectation:
In this case Shift+Up/Down hotkeys should work just like Up/Down - to move cursor to the beginning/end of the value/rule
Updated•9 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Developer Tools: Inspector → Developer Tools: CSS Rules Inspector
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
Assignee | ||
Updated•9 months ago
|
Summary: [Ruleview] rule vaules are being autocompleted Wrong when I press Shift+Up/Down while the cursor is placed in the middle of the rule value → [Ruleview] values are being autocompleted wrong when I press Shift+Up/Down while the cursor is placed in the middle of the rule value
Assignee | ||
Updated•4 months ago
|
Blocks: dt-2025-h1-P2
Assignee | ||
Comment 2•2 months ago
|
||
Those were triggering specific issues as they do cause
characters to be selected in the input, which makes it
looks like a regular completion to the maybeSuggestCompletion
method. Other selecting combination (e.g. Shift+Right|Home)
didn't suffer from this because they're triggering a different
code path.
This adds a few test cases to make sure we're handling all those
as we should.
Updated•2 months ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/925a7c634e8c
[devtools] Shift+Up|Down should not trigger autocomplete in InplaceEditor. r=devtools-reviewers,jdescottes.
Comment 4•2 months ago
|
||
Backed out for causing failures at browser_rules_gridline-names-are-shown-correctly.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/f10cdccac8534641ee045f96d875dc5ae9fda817
Failure log: https://treeherder.mozilla.org/logviewer?job_id=490637671&repo=autoland&lineNumber=4066
Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/68aebe687205
[devtools] Shift+Up|Down should not trigger autocomplete in InplaceEditor. r=devtools-reviewers,jdescottes.
Comment 6•1 month ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox136:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Assignee | ||
Updated•1 month ago
|
Flags: needinfo?(nchevobbe)
You need to log in
before you can comment on or make changes to this bug.
Description
•