gecko-dev/editor/libeditor
Xidorn Quan 5e29805363 Bug 1294299 part 8 - Refactor interface provided by css::Declaration. r=heycam
The main targets of this refactor are:
1. Move most of the logic of distinguishing properties and custom
   properties from nsDOMCSSDeclaration into css::Declaration, which
   gives ServoDeclarationBlock more flexibility to implement.
2. Rename those methods of css::Declaration to provide a clear interface
   which makes sense for implementing in ServoDeclarationBlock, and also
   avoid method overload, which can impede the forward macro, on them.

MozReview-Commit-ID: 2cCqF855TVK

--HG--
extra : source : 3837e1e558caac4f2901e838371e97c17821530e
2016-11-03 14:41:02 +11:00
..
crashtests Bug 1272490 nsHTMLEditRules::ReapplyCachedStyles() should do nothing if nsIEditor::GetSelection() returns nullptr r=Ehsan 2016-05-17 11:47:39 +09:00
tests Bug 1271125 part 2 - Port editor mochitests that depend on ChromeUtils.js to mochitest-plain; r=masayuki 2016-10-31 18:38:04 +02:00
CSSEditUtils.cpp Bug 1294299 part 8 - Refactor interface provided by css::Declaration. r=heycam 2016-11-03 14:41:02 +11:00
CSSEditUtils.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
ChangeAttributeTransaction.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
ChangeAttributeTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
ChangeStyleTransaction.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
ChangeStyleTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
CompositionTransaction.cpp Bug 1310618 Replace nsresult variables |res| with |rv| under editor/ r=Ehsan 2016-10-19 18:09:33 +09:00
CompositionTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
CreateElementTransaction.cpp Bug 1309720, ensure expected DOM tree operations when calling insertBefore, r=ehsan 2016-10-14 15:33:42 +03:00
CreateElementTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
DeleteNodeTransaction.cpp Bug 1309720, ensure expected DOM tree operations when calling insertBefore, r=ehsan 2016-10-14 15:33:42 +03:00
DeleteNodeTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
DeleteRangeTransaction.cpp Bug 1310618 Replace nsresult variables |res| with |rv| under editor/ r=Ehsan 2016-10-19 18:09:33 +09:00
DeleteRangeTransaction.h Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
DeleteTextTransaction.cpp Bug 1310618 Replace nsresult variables |res| with |rv| under editor/ r=Ehsan 2016-10-19 18:09:33 +09:00
DeleteTextTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditActionListener.h Bug 1042469 - Flatten editor/libeditor/base to editor/libeditor; r=poiru 2014-08-15 10:03:48 -04:00
EditAggregateTransaction.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
EditAggregateTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditTransactionBase.cpp Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditTransactionBase.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditorBase.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
EditorBase.h Bug 850043 - Part 1. Looking for better insertion point when using plain text editor. r=masayuki 2016-10-17 14:22:46 +09:00
EditorCommands.cpp Bug 748308 - Support insertParagraph and insertLineBreak per spec/Blink/WebKit; r=masayuki 2016-08-23 14:13:17 +03:00
EditorCommands.h Bug 748308 - Support insertParagraph and insertLineBreak per spec/Blink/WebKit; r=masayuki 2016-08-23 14:13:17 +03:00
EditorController.cpp Bug 748308 - Support insertParagraph and insertLineBreak per spec/Blink/WebKit; r=masayuki 2016-08-23 14:13:17 +03:00
EditorController.h Bug 1260651 part.33 Rename nsEditorController to mozilla::EditorController (and their files too) r=mccr8 2016-07-08 14:26:02 +09:00
EditorEventListener.cpp Bug 1308287 part 2. Make DataTransfer.types use [NeedsSubjectPrincipal]. r=mystor 2016-10-10 21:07:48 -04:00
EditorEventListener.h Bug 1162050 - Remove instances of eLegacyDragGesture and draggesture. r=enn 2016-05-27 14:32:59 -04:00
EditorUtils.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
EditorUtils.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditorUtils.js Bug 1259517 - Make dropping images in editors work in e10s. r=baku 2016-06-21 15:17:37 -07:00
EditorUtils.manifest Bug 1259517 - Make dropping images in editors work in e10s. r=baku 2016-06-21 15:17:37 -07:00
HTMLAbsPositionEditor.cpp Bug 1310618 Replace nsresult variables |res| with |rv| under editor/ r=Ehsan 2016-10-19 18:09:33 +09:00
HTMLAnonymousNodeEditor.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
HTMLEditRules.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
HTMLEditRules.h Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00
HTMLEditUtils.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
HTMLEditUtils.h Bug 1260651 part.16 Rename nsHTMLEditUtils to mozilla::HTMLEditUtils (and their files too) r=mccr8 2016-07-07 14:01:12 +09:00
HTMLEditor.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
HTMLEditor.h Bug 1312936 - Part 2. Use nsAutoCString for nsITranserable.getAnyTransferData into editor. r=masayuki 2016-10-26 11:10:29 +09:00
HTMLEditorDataTransfer.cpp Bug 1312936 - Part 2. Use nsAutoCString for nsITranserable.getAnyTransferData into editor. r=masayuki 2016-10-26 11:10:29 +09:00
HTMLEditorEventListener.cpp Bug 1260651 part.56 Rename nsHTMLEditor to mozilla::HTMLEditor and related stuff r=mccr8 2016-07-09 11:42:33 +09:00
HTMLEditorEventListener.h Bug 1260651 part.56 Rename nsHTMLEditor to mozilla::HTMLEditor and related stuff r=mccr8 2016-07-09 11:42:33 +09:00
HTMLEditorObjectResizer.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
HTMLEditorObjectResizerUtils.h Bug 1260651 part.57 Move classes in nsHTMLObjectResizer.h into mozilla namespace and its file name should be HTMLEditorObjectResizerUtils.h r=mccr8 2016-07-07 19:49:07 +09:00
HTMLInlineTableEditor.cpp Bug 1310618 Replace nsresult variables |res| with |rv| under editor/ r=Ehsan 2016-10-19 18:09:33 +09:00
HTMLStyleEditor.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
HTMLTableEditor.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
HTMLURIRefObject.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
HTMLURIRefObject.h Bug 1260651 part.46 Rename nsHTMLURIRefObject to mozilla::HTMLURIRefObject (and also their file names) r=mccr8 2016-07-07 18:40:45 +09:00
InsertNodeTransaction.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
InsertNodeTransaction.h Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
InsertTextTransaction.cpp Bug 1310618 Replace nsresult variables |res| with |rv| under editor/ r=Ehsan 2016-10-19 18:09:33 +09:00
InsertTextTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
InternetCiter.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
InternetCiter.h Bug 1260651 part.36 Rename nsInternetCiter to mozilla::InternetCiter (and their files too) r=mccr8 2016-07-07 18:00:19 +09:00
JoinNodeTransaction.cpp Bug 1309720, ensure expected DOM tree operations when calling insertBefore, r=ehsan 2016-10-14 15:33:42 +03:00
JoinNodeTransaction.h Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
PlaceholderTransaction.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
PlaceholderTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
SelectionState.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
SelectionState.h Bug 1260651 part.49 Rename nsTextEditRules to mozilla::TextEditRules (and also their file names) r=mccr8 2016-07-09 11:34:41 +09:00
SetDocumentTitleTransaction.cpp Bug 1309413 part.4 Get rid of NS_ENSURE_* from SetDocumentTitleTransaction r=ehsan 2016-10-15 00:51:48 +09:00
SetDocumentTitleTransaction.h Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
SplitNodeTransaction.cpp Bug 1309720, ensure expected DOM tree operations when calling insertBefore, r=ehsan 2016-10-14 15:33:42 +03:00
SplitNodeTransaction.h Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
StyleSheetTransactions.cpp Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam 2016-09-26 22:03:25 +10:00
StyleSheetTransactions.h Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam 2016-09-26 22:03:25 +10:00
TextEditRules.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
TextEditRules.h Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00
TextEditRulesBidi.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
TextEditUtils.cpp Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00
TextEditUtils.h Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00
TextEditor.cpp Bug 1312936 - Part 2. Use nsAutoCString for nsITranserable.getAnyTransferData into editor. r=masayuki 2016-10-26 11:10:29 +09:00
TextEditor.h Bug 1284963 - Make CreateBR return already_AddRefed. r=masayuki 2016-07-12 08:58:13 -07:00
TextEditorDataTransfer.cpp Bug 1312936 - Part 2. Use nsAutoCString for nsITranserable.getAnyTransferData into editor. r=masayuki 2016-10-26 11:10:29 +09:00
TextEditorTest.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
TextEditorTest.h Bug 1055105 - Flatten editor/libeditor/html to editor/libeditor; r=poiru 2014-08-18 17:28:17 -04:00
TypeInState.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
TypeInState.h Bug 1260651 part.48 Rename nsHTMLEditRules to mozilla::HTMLEditRules (and also their file names) r=mccr8 2016-07-07 19:05:51 +09:00
WSRunObject.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
WSRunObject.h Bug 1284963 - Make CreateBR return already_AddRefed. r=masayuki 2016-07-12 08:58:13 -07:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nsIAbsorbingTransaction.h Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
nsIEditRules.h Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00