Commit Graph

2279 Commits

Author SHA1 Message Date
Masayuki Nakano
7f356ebad3 Bug 555642 part.1 nsCaret should have a way to override the caret visible state for hiding caret temporarily and nsEditor should hide caret if composition string doesn't have caret information r=roc 2015-08-17 20:58:38 +09:00
William Chen
161ace8311 Bug 1181130 - Part 3: Keep track of editable descendants per node and prevent NS_STYLE_USER_SELECT_ALL selection for nodes with editable descendants. r=bz 2015-08-14 10:52:38 -07:00
Aryeh Gregor
1d1b2d1359 Bug 874838 - Make CreateElem return Element. r=khuey 2015-08-13 07:50:00 -04:00
Ehsan Akhgari
383dae82b6 Bug 1184689 - Remove two spammy editor warnings 2015-08-10 23:50:41 -04:00
Ehsan Akhgari
b2e59d9512 Bug 1184665 - Remove a spammy editor warning 2015-08-10 23:50:40 -04:00
Ehsan Akhgari
bc044d3e6d Bug 1184289 - Remove a spammy editor warning 2015-08-08 18:25:55 -04:00
Masayuki Nakano
3383b668cb Bug 1186799 part.2 Add test to check if IME selections are removed by committing composition caused by clicking outside of the focused contenteditable editor r=smaug 2015-08-08 09:23:04 +09:00
Masayuki Nakano
7e4923df1f Bug 1186799 part.1 nsHTMLEditorEventListener should commit composition when it receives unacceptable mousedown event r=smaug 2015-08-08 09:23:04 +09:00
Aryeh Gregor
0573ab78f0 Bug 1156062 part 1b - Convert some callers of nsEditor::SplitNodeDeep; r=ehsan 2015-08-05 18:10:09 +03:00
Aryeh Gregor
11d2d83d7b Bug 1156062 part 1a - New nsEditor::SplitNodeDeep variant; r=ehsan 2015-08-05 17:54:36 +03:00
Aryeh Gregor
e12eae82e0 Bug 1188180 - Fix possible uninitialized variable use; r=ehsan 2015-08-05 15:28:28 +03:00
Aryeh Gregor
a3c0771347 Bug 1190823 - Move OwningNonNull.h to xpcom/base/; r=froydnj 2015-08-05 15:28:27 +03:00
Birunthan Mohanathas
9b6236a10a Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Ting-Yu Lin
e3d43dad6d Bug 1172382 - Disable AccessibleCaret on some tests. r=roc
All the tests disabled for AccessibleCaret had already being disabled
for either TouchCaret or SelectionCarets.
2015-07-27 03:00:00 -04:00
Carsten "Tomcat" Book
44bc20766a Backed out changeset c5e6edadb0d1 (bug 1172382) for mulet R6 Reftest Failures 2015-07-27 08:47:23 +02:00
Ting-Yu Lin
144163d42f Bug 1172382 - Disable AccessibleCaret on some tests. r=roc
All the tests disabled for AccessibleCaret had already being disabled
for either TouchCaret or SelectionCarets.
2015-07-27 11:56:04 +08:00
Boris Zbarsky
938a6621cb Bug 1177819. Replace the warning about anon content being passed into frame construction with an assert plus whitelisting of the known-OK cases. r=dholbert 2015-07-23 11:51:09 -04:00
Kartikaya Gupta
c4a7ab6183 Bug 1186004 - Split the asyncPanZoom reftest sandbox condition into asyncPan and asyncZoom. r=mstange 2015-07-22 23:42:08 -04:00
Eric Rahm
b69e56d7e5 Bug 1184249 - Remove warning if rootContent is null in nsEditorSpellCheck::UpdateCurrentDictionary. r=ehsan 2015-07-22 09:24:59 -07:00
Eric Rahm
ce65d9290b Bug 1184280 - Remove warning about mDisabledJSAndPlugins being false. r=ehsan 2015-07-15 14:48:09 -07:00
Birunthan Mohanathas
e52329c788 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Andrew Comminos
085390ca52 Bug 1182494 - Set background-color to white when moz-appearance is none in editor reftests. r=mstange 2015-07-10 07:49:00 +02:00
Geoff Brown
495b7cbfe1 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Jeff Walden
46d87fd534 Bug 1165533 - When testing DOMRect.top for getBoundingClientRect(), test only for +0, not for -0. r=Ms2ger 2015-07-02 21:19:10 -07:00
William Chen
b672752886 Bug 1178513 - Add <extapp> element and interfaces to be used by ACL. r=khuey 2015-06-30 11:27:57 -07:00
Michael Layzell
954a43b51d Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-30 08:18:04 -04:00
Ehsan Akhgari
0c1eb4b2b4 Backout changeset d648becaa638 (bug 1170531) for test failures 2015-06-27 13:14:06 -07:00
Michael Layzell
709f53ca94 Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-27 12:37:44 -07:00
Blake Kaplan
dc360b12a8 Bug 1168223 - Fix a crash caused by unexpected flushes under nsIEditor::SetFlags. r=ehsan 2015-06-25 13:58:01 -07:00
Carsten "Tomcat" Book
6f38001205 Backed out changeset 3fca18104696 (bug 1170531) for e10s-m4 test failures in test_bug1067255.html 2015-06-22 15:21:02 +02:00
Neil Deakin
8f5a9e14f6 Bug 1153518, allow drops on editors when the source is a remote browser, r=ehsan 2015-06-22 09:00:35 -04:00
Michael Layzell
01d8a62f71 Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-22 08:13:26 -04:00
Andrea Marchesini
7e2703b48d Bug 1170326 - nsHTMLCSSUtils::ParseLength should check if the input is an empty string, r=ehsan 2015-06-15 17:08:50 +01:00
Michael Layzell
550730ff35 Bug 1027560 - Return false from document.execCommand() and friends when not in editable document. r=ehsan 2015-06-02 09:07:00 -04:00
Ryan VanderMeulen
ffe7bfdc85 Bug 1067788 - Fix non-unified bustage. r=ehsan 2015-06-04 15:03:54 -04:00
Masayuki Nakano
f02d7cdac2 Bug 1162818 part.6 Don't notify IME of anything during reframing the editor r=smaug 2015-06-05 02:06:10 +09:00
Masayuki Nakano
aa07a30e72 Bug 1162818 part.5 The offset of nsEditor::InsertTextImpl() should be minimum offset of IME selections if there is r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano
cb43121733 Bug 1162818 part.4 Restore IME selection at initializing selection of the editor r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano
783680ad00 Bug 1162818 part.3 nsEditor should store actual composition string length in it r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano
1d957064de Bug 1162818 part.2 Make it possible to set IME selection from outside of IMETextTxn r=ehsan 2015-06-05 02:06:09 +09:00
Masayuki Nakano
b9c51d6caa Bug 1162818 part.1 nsEditor shouldn't release/forget mComposition becuase it should be handled by it after reframing r=ehsan 2015-06-05 02:06:09 +09:00
Ted Clancy
7ac21417a2 Bug 1067788 - Part 1: Don't invalidate bidi cursor directionality during a delete. r=smontagu 2015-06-01 15:19:57 -04:00
Masayuki Nakano
b2175a7b21 Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan 2015-05-29 00:58:42 +09:00
Michael Layzell
36836569ab Bug 1012662 - Part 2 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan 2015-05-13 08:51:00 +02:00
Masayuki Nakano
4f830b07ae Bug 1168079 nsTextEditRules::CollapseSelectionToTrailingBRIfNeeded() should ensure that there is a selection before calling nsEditor::GetStartNodeAndOffset() r=ehsan 2015-05-28 13:50:44 +09:00
Carsten "Tomcat" Book
0fac269a69 Backed out changeset 1f0306d29dec (bug 1012662) 2015-05-26 13:33:48 +02:00
Carsten "Tomcat" Book
c5cb32d2c2 Backed out changeset fdc2aa9e612f (bug 1027560) for failing w3 tests 2015-05-26 13:13:48 +02:00
Michael Layzell
05ea59b946 Bug 1027560 - return false from document.execCommand() and friends when not in editable document. r=ehsan 2015-05-14 06:46:00 +02:00
Michael Layzell
6456704cff Bug 1012662 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan 2015-05-13 08:51:00 +02:00
Michael Layzell
3b01959964 Bug 1162952 - Return true from document.queryCommandEnabled('cut'/'copy') when in privileged or user-initiated code. r=ehsan 2015-05-25 10:09:00 +02:00