Commit 79bb4253 authored by Piotrek Koszuliński's avatar Piotrek Koszuliński

Use a typical value that would be applied by this feature.

parent 3cc66676
...@@ -212,11 +212,11 @@ describe( 'DecoupledEditor build', () => { ...@@ -212,11 +212,11 @@ describe( 'DecoupledEditor build', () => {
} ); } );
it( 'font color works', () => { it( 'font color works', () => {
const data = '<p><span style="color:red;">foo</span></p>'; const data = '<p><span style="color:hsl(0,75%,60%);">foo</span></p>';
editor.setData( data ); editor.setData( data );
expect( editor.getData() ).to.equal( data ); expect( editor.getData() ).to.equal( data );
expect( editor.model.document.selection.getAttribute( 'fontColor' ) ).to.equal( 'red' ); expect( editor.model.document.selection.getAttribute( 'fontColor' ) ).to.equal( 'hsl(0,75%,60%)' );
} ); } );
it( 'alignment works', () => { it( 'alignment works', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment