gecko-dev/dom/serializers
Makoto Kato 67fd68d1c6 Bug 1719535 - Part 9. Trim ASCII space at the tail for content serializer. r=TYLin
XML/Plain text Serializer uses line break segmenter to wrap text. New
segmenter that is compatible with UAX#14 has different rules for old segmenter.

Old segmenter have break opportunity before ASCII space, but UAX#14 doesn't
have it (https://www.unicode.org/reports/tr14/#LB7).

So we have to trim ASCII space at the tail for text wrap.

Depends on D167677

Differential Revision: https://phabricator.services.mozilla.com/D180773
2023-08-07 06:23:59 +00:00
..
crashtests
moz.build
nsDocumentEncoder.cpp
nsDOMSerializer.cpp
nsDOMSerializer.h
nsHTMLContentSerializer.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
nsHTMLContentSerializer.h
nsIContentSerializer.h
nsIDocumentEncoder.idl
nsPlainTextSerializer.cpp Bug 1719535 - Part 9. Trim ASCII space at the tail for content serializer. r=TYLin 2023-08-07 06:23:59 +00:00
nsPlainTextSerializer.h
nsXHTMLContentSerializer.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
nsXHTMLContentSerializer.h
nsXMLContentSerializer.cpp Bug 1719535 - Part 9. Trim ASCII space at the tail for content serializer. r=TYLin 2023-08-07 06:23:59 +00:00
nsXMLContentSerializer.h