mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
a21b07a094
The behavior change of Next() vs DeprecatedNext() here is OK, because if DeprecatedNext() failed to find a break position then we'd end up reaching the "simple fallback logic" below, which will just advance to the next space or end-of-text anyhow. The only case, then, where this results in a change of behavior would be if there's a space that the line-breaker does *not* consider a valid break, so that instead it advances to end-of-text, where previously we'd have reached the fallback code and used the (invalid) space as a break. So (a) this is a really obscure edge-case, and (b) the new behavior would be more correct anyhow. Differential Revision: https://phabricator.services.mozilla.com/D127805 |
||
---|---|---|
.. | ||
moz.build | ||
nsDocumentEncoder.cpp | ||
nsDOMSerializer.cpp | ||
nsDOMSerializer.h | ||
nsHTMLContentSerializer.cpp | ||
nsHTMLContentSerializer.h | ||
nsIContentSerializer.h | ||
nsIDocumentEncoder.idl | ||
nsPlainTextSerializer.cpp | ||
nsPlainTextSerializer.h | ||
nsXHTMLContentSerializer.cpp | ||
nsXHTMLContentSerializer.h | ||
nsXMLContentSerializer.cpp | ||
nsXMLContentSerializer.h |