Closed Bug 1578668 Opened 5 years ago Closed 5 years ago

Simplify more code around `nsPlainTextSerializer::EndLine`

Categories

(Core :: DOM: Serializers, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mbrodesser-Igalia, Assigned: mbrodesser-Igalia)

Details

Attachments

(6 files)

No description provided.
Assignee: nobody → mbrodesser

To remove the obscurity of the conditions.

Depends on D44654

Pushed by mbrodesser@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/988093895b44
part 1) Remove some code redundancy in `nsPlainTextSerializer::EndLine`. r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/75b65888a4b5
part 2) Move `nsPlainTextSerializer::FlushLine` to `nsPlainTextSerializer::OutputManager::Flush`. r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/067c257a5294
part 3) Add `IsSignatureSeparator`. r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/dc4b3abf0d58
part 4) Factor out `CreateLineOfDashes`. r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/4dad1ee46933
part 5) Add `CurrentLine::HasContentOrIndentationHeader`. r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/ca9fa19ab9a1
part 6) Reorder conditions using `mHasWrittenCellsForRow`. r=hsivonen
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: