Opened 9 years ago

Closed 9 years ago

#12692 closed Bug (duplicate)

Link Style background error

Reported by: Jack Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


When using the Link feature and adding background/background-image with a URL in the Style field, the user always gets this error:

"Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons"

Some examples of CSS added to get this error: background-image: url(''); background: url('');

Steps to produce: 1) Go to Link >> Advanced >> Style and add the following into the field: background-image: url('');

You can see these steps here:

Browser Used: Firefox v33.1

Cause of the Problem: I think this error shows because the URL contains a colon (':'), which is the basis of the name:value JS logic.

Need to update this so that background/background-image styles with URLs in do not get this error (currently only relative links can be added as background-image).

As shown in the screencast video above, managed to reproduce this on the nightly build.

Change History (1)

comment:1 Changed 9 years ago by Jakub Ś

Keywords: Link Style Bug background background-image removed
Resolution: duplicate
Status: newclosed
Version: 4.5.0 (GitHub - major)

DUP of #12197.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy