On 01/03/2019 04:49 PM, Leif Halvard Silli wrote:
Problem: XMLmind XML Editor seems to keep a list of the CSS features it supports. And if it discovers a CSS feature that it does not support, then it does not (in one particular situation) permit you to use the corresponding CSS code. Example - do this: 1. Insert an <img> element in a HTML file 2. Click once on the <img> element and then click once on the style attribute (in the attribute panel). 3. Now, click on style editor icon 4. Now, activate the CSS source editor 5. Add this code: * float:right; 6. Click OK * *Expected outcome:* The CSS editor should close * *Actuall outcome:* XXE emits a warning that the CSS feature is unsupported. * *Workaround:* By pasting the code in the less fancy edit field of the very Attribute pane (that is: by not using XXE’s CSS editor), the warning is 'escaped'. The CSS float feature is an age old CSS feature. It would make sence if XXE warned us that XXE itself does not support CSS float, as long as it did not make it it difficult to ignore such warnings. Because, while it is absolutely usesfull to know which CSS features XXE supports. However, to most XXE users, this is not very interesting, as they author not for XXE but for Web browsers.
The vast majority of XXE users author DITA or DocBook, not XHTML. Hence, the vast majority of XXE users do not need to specify CSS styles.
Proposal Either remove the CSS warnings completely.
This is certainly not a good idea. Example: "padding-rigth: 0;"
OR alter the warning by a) making it (more) clear that the warning only applies to XXE’s own CSS rendering capabilities.
Sorry but we cannot implement this. XXE cannot make a difference between incorrect CSS properties/property values (e.g. "padding-rigth:0;") and its own limitations (e.g. "float:right;").
And at any rate: Do not prevent users from entering CSS code that XXE does not support.
OK. We'll change the CSS source editor in order to let you click OK even when some CSS warnings about unsupported properties/property values are reported.
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support