diff --git a/packages/ckeditor5-engine/src/dataprocessor/htmldataprocessor.js b/packages/ckeditor5-engine/src/dataprocessor/htmldataprocessor.js
index 4bbffab0f91..01c75b8a217 100644
--- a/packages/ckeditor5-engine/src/dataprocessor/htmldataprocessor.js
+++ b/packages/ckeditor5-engine/src/dataprocessor/htmldataprocessor.js
@@ -33,6 +33,20 @@ export default class HtmlDataProcessor {
*/
this._domParser = new DOMParser();
+ /**
+ * A regular expression used to check whether the MIME type of ' +
+ 'This is thefoo'
+ );
+
+ expect( stringify( fragment ) ).to.equal(
+ '' +
+ 'This is thefoo'
+ );
+ } );
+
+ it( 'should retain ' +
+ 'This is thefoo'
+ );
+
+ expect( stringify( fragment ) ).to.equal(
+ '' +
+ 'This is thefoo'
+ );
+ } );
+
+ it( 'should not retain leading ' +
+ '' +
+ 'This is thefoo'
+ );
+
+ expect( stringify( fragment ) ).to.equal(
+ 'This is thefoo'
+ );
+ } );
+
+ it( 'should not retain leading ' +
+ '' +
+ 'This is thefoo'
+ );
+
+ expect( stringify( fragment ) ).to.equal(
+ 'This is thefoo'
+ );
+ } );
+
+ it( 'should not retain leading ' +
+ '' +
+ 'This is thefoo'
+ );
+
+ expect( stringify( fragment ) ).to.equal(
+ 'This is thefoo'
+ );
+ } );
+
+ it( 'should not retain leading ' +
+ 'This is thefoo'
+ );
+
+ expect( stringify( fragment ) ).to.equal(
+ 'This is thefoo'
+ );
+ } );
+ } );
+
+ describe( 'https://github.com/ckeditor/ckeditor5/issues/9659', () => {
it( 'does not lose whitespaces in Chrome\'s paste-like content', () => {
const fragment = dataProcessor.toView(
'' +