Commit 3cc66676 authored by panr's avatar panr

Change fontBackgroundColor to match yellow color from color picker

parent a33a08ae
...@@ -204,11 +204,11 @@ describe( 'DecoupledEditor build', () => { ...@@ -204,11 +204,11 @@ describe( 'DecoupledEditor build', () => {
} ); } );
it( 'font background color works', () => { it( 'font background color works', () => {
const data = '<p><span style="background-color:gold;">foo</span></p>'; const data = '<p><span style="background-color:hsl(60,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( 'fontBackgroundColor' ) ).to.equal( 'gold' ); expect( editor.model.document.selection.getAttribute( 'fontBackgroundColor' ) ).to.equal( 'hsl(60,75%,60%)' );
} ); } );
it( 'font color works', () => { it( 'font color 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