Closed
Bug 1191354
Opened 9 years ago
Closed 9 years ago
Clean up nsHTMLEditRules::GetHighestInlineParent, CheckInterlinePosition, InsertMozBRIfNeeded, etc.
Categories
(Core :: DOM: Editor, enhancement)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: ayg, Assigned: ayg)
References
Details
Attachments
(13 files, 14 obsolete files)
4.63 KB,
patch
|
Details | Diff | Splinter Review | |
5.36 KB,
patch
|
Details | Diff | Splinter Review | |
4.41 KB,
patch
|
Details | Diff | Splinter Review | |
7.69 KB,
patch
|
Details | Diff | Splinter Review | |
5.33 KB,
patch
|
Details | Diff | Splinter Review | |
21.06 KB,
patch
|
Details | Diff | Splinter Review | |
8.67 KB,
patch
|
Details | Diff | Splinter Review | |
69.10 KB,
patch
|
Details | Diff | Splinter Review | |
8.22 KB,
patch
|
Details | Diff | Splinter Review | |
1.67 KB,
patch
|
Details | Diff | Splinter Review | |
21.42 KB,
patch
|
Details | Diff | Splinter Review | |
12.25 KB,
patch
|
Details | Diff | Splinter Review | |
8.48 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Flags: in-testsuite-
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8644357 -
Flags: review?(ehsan)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8644359 -
Flags: review?(ehsan)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8644360 -
Flags: review?(ehsan)
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8644362 -
Flags: review?(ehsan)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8644371 -
Flags: review?(ehsan)
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8644372 -
Flags: review?(ehsan)
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8644374 -
Flags: review?(ehsan)
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8644375 -
Flags: review?(ehsan)
Assignee | ||
Comment 9•9 years ago
|
||
Attachment #8644376 -
Flags: review?(ehsan)
Assignee | ||
Comment 10•9 years ago
|
||
Attachment #8644377 -
Flags: review?(nfroyd)
Assignee | ||
Comment 11•9 years ago
|
||
Attachment #8644378 -
Flags: review?(ehsan)
Assignee | ||
Comment 12•9 years ago
|
||
Attachment #8644379 -
Flags: review?(ehsan)
Assignee | ||
Comment 13•9 years ago
|
||
Attachment #8644380 -
Flags: review?(ehsan)
Updated•9 years ago
|
Attachment #8644377 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 14•9 years ago
|
||
Updated•9 years ago
|
Attachment #8644357 -
Flags: review?(ehsan) → review+
Comment 15•9 years ago
|
||
Comment on attachment 8644359 [details] [diff] [review]
Part 2 -- Clean up nsHTMLEditRules::CheckInterlinePosition
Review of attachment 8644359 [details] [diff] [review]:
-----------------------------------------------------------------
::: editor/libeditor/nsHTMLEditRules.cpp
@@ +7177,3 @@
> }
>
> + NS_ENSURE_TRUE(mHTMLEditor, );
NS_ENSURE_TRUE_VOID, as before. Here and elsewhere in all other patches.
Attachment #8644359 -
Flags: review?(ehsan) → review+
Updated•9 years ago
|
Attachment #8644360 -
Flags: review?(ehsan) → review+
Comment 16•9 years ago
|
||
Comment on attachment 8644362 [details] [diff] [review]
Part 4 -- Clean up nsHTMLEditRules::AlignBlock
Review of attachment 8644362 [details] [diff] [review]:
-----------------------------------------------------------------
::: editor/libeditor/nsHTMLEditRules.cpp
@@ +8353,5 @@
> + nsCOMPtr<nsIEditor> kungFuDeathGrip(mHTMLEditor);
> +
> + nsresult res = RemoveAlignment(aElement.AsDOMNode(), aAlignType,
> + aContentsOnly == ContentsOnly::yes ? true
> + : false);
Just aContentsOnly == ContentsOnly::yes is enough.
Attachment #8644362 -
Flags: review?(ehsan) → review+
Comment 17•9 years ago
|
||
Comment on attachment 8644371 [details] [diff] [review]
Part 5 -- Clean up nsHTMLEditRules::IsEmptyInline
Review of attachment 8644371 [details] [diff] [review]:
-----------------------------------------------------------------
::: editor/libeditor/nsHTMLEditRules.cpp
@@ +7658,5 @@
> + NS_ENSURE_TRUE(mHTMLEditor, false);
> + nsCOMPtr<nsIEditor> kungFuDeathGrip(mHTMLEditor);
> +
> + if (IsInlineNode(aNode.AsDOMNode()) && mHTMLEditor->IsContainer(&aNode)) {
> + bool isEmpty;
Please initialize to true.
Attachment #8644371 -
Flags: review?(ehsan) → review+
Updated•9 years ago
|
Attachment #8644372 -
Flags: review?(ehsan) → review+
Updated•9 years ago
|
Attachment #8644374 -
Flags: review?(ehsan) → review+
Updated•9 years ago
|
Attachment #8644375 -
Flags: review?(ehsan) → review+
Updated•9 years ago
|
Attachment #8644376 -
Flags: review?(ehsan) → review+
Updated•9 years ago
|
Attachment #8644378 -
Flags: review?(ehsan) → review+
Updated•9 years ago
|
Attachment #8644379 -
Flags: review?(ehsan) → review+
Updated•9 years ago
|
Attachment #8644380 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 18•9 years ago
|
||
Attachment #8644357 -
Attachment is obsolete: true
Assignee | ||
Comment 19•9 years ago
|
||
Attachment #8644359 -
Attachment is obsolete: true
Assignee | ||
Comment 20•9 years ago
|
||
Attachment #8644360 -
Attachment is obsolete: true
Assignee | ||
Comment 21•9 years ago
|
||
Attachment #8644362 -
Attachment is obsolete: true
Assignee | ||
Comment 22•9 years ago
|
||
Attachment #8644371 -
Attachment is obsolete: true
Assignee | ||
Comment 23•9 years ago
|
||
Attachment #8742802 -
Attachment is obsolete: true
Assignee | ||
Comment 24•9 years ago
|
||
Assignee | ||
Comment 25•9 years ago
|
||
Attachment #8644372 -
Attachment is obsolete: true
Attachment #8644374 -
Attachment is obsolete: true
Assignee | ||
Comment 26•9 years ago
|
||
Attachment #8644375 -
Attachment is obsolete: true
Assignee | ||
Comment 27•9 years ago
|
||
Attachment #8644376 -
Attachment is obsolete: true
Assignee | ||
Comment 28•9 years ago
|
||
Assignee | ||
Comment 29•9 years ago
|
||
Attachment #8644377 -
Attachment is obsolete: true
Attachment #8644378 -
Attachment is obsolete: true
Assignee | ||
Comment 30•9 years ago
|
||
Attachment #8644379 -
Attachment is obsolete: true
Assignee | ||
Comment 31•9 years ago
|
||
Attachment #8644380 -
Attachment is obsolete: true
Assignee | ||
Comment 32•9 years ago
|
||
Checkin instructions at bug 1191356 comment 20.
Keywords: leave-open → checkin-needed
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 33•9 years ago
|
||
Comment 34•9 years ago
|
||
Comment 35•9 years ago
|
||
Comment 36•9 years ago
|
||
Comment 37•9 years ago
|
||
Comment 38•9 years ago
|
||
Comment 39•9 years ago
|
||
Comment 40•9 years ago
|
||
Comment 41•9 years ago
|
||
Comment 42•9 years ago
|
||
Comment 43•9 years ago
|
||
Comment 44•9 years ago
|
||
Comment 45•9 years ago
|
||
Comment 46•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ab44edac6c41
https://hg.mozilla.org/mozilla-central/rev/d556b4103dee
https://hg.mozilla.org/mozilla-central/rev/142b62061350
https://hg.mozilla.org/mozilla-central/rev/6c6fd98812c7
https://hg.mozilla.org/mozilla-central/rev/47f7ab7dc09b
https://hg.mozilla.org/mozilla-central/rev/14fb48ed9c8d
https://hg.mozilla.org/mozilla-central/rev/4724402baace
https://hg.mozilla.org/mozilla-central/rev/68e6b568ad2a
https://hg.mozilla.org/mozilla-central/rev/12906c848272
https://hg.mozilla.org/mozilla-central/rev/62d58efcd0c0
https://hg.mozilla.org/mozilla-central/rev/3739ead5ce63
https://hg.mozilla.org/mozilla-central/rev/5896fcd5c10a
https://hg.mozilla.org/mozilla-central/rev/a5a4a49c5188
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•