I was modifying the dita.css styles (removed the import
statements and defined new styles in one css file) for tables and came across
this bug(?) with the content property.
I wanted to show empty table cells with nothing in them. The
default is with the word entry on a grey background. So within the tbody I
wrote the following style
tbody row > entry { display: table-cell; padding: 5px;
border: 1px solid black; content: ""; }
and the cell now appears empty but when done to an entry as
a descendant of thead
thead row > entry { display: table-cell; padding: 5px;
background-color: white; color: black; font-size: 12pt; font-weight: bold;
border: 1px solid black; text-align: center; vertical-align: middle; content:
""; }
The following happens in Oxygen 11:
The entire page in the author view is blank.
The following happens under Oxygen 10.2 and 10.3
The following error message appears and a blank page in the
author view
[ AWT-EventQueue-0 ] -
java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
at ro.sync.ecss.A.g.A(Unknown Source)
at ro.sync.ecss.A.m.E(Unknown Source)
at ro.sync.ecss.A.G.A(Unknown Source)
at ro.sync.ecss.A.G.A(Unknown Source)
at ro.sync.ecss.A.C.A(Unknown Source)
at ro.sync.ecss.A.C.A(Unknown Source)
at ro.sync.ecss.A.C.A(Unknown Source)
at ro.sync.ecss.A.C.A(Unknown Source)
at ro.sync.ecss.A.C.A(Unknown Source)
at ro.sync.ecss.A.f.A(Unknown Source)
at ro.sync.ecss.component.J.è(Unknown
Source)
at ro.sync.ecss.component.J.ѕ(Unknown
Source)
at ro.sync.ecss.component.J.L(Unknown
Source)
at ro.sync.ecss.component.J.K(Unknown
Source)
at ro.sync.exml.editor.xmleditor.pageauthor.E$5.run(Unknown
Source)
at ro.sync.ui.g$1.run(Unknown Source)
at ro.sync.ui.g.A(Unknown Source)
at
ro.sync.exml.editor.xmleditor.pageauthor.E.L(Unknown Source)
at ro.sync.exml.editor.BA.K(Unknown Source)
at ro.sync.exml.editor.AB.readDocument(Unknown
Source)
at
ro.sync.exml.editor.R.K.readDocument(Unknown Source)
at
ro.sync.exml.editor.xmleditor.g.readDocument(Unknown Source)
at ro.sync.exml.editor.PA.A(Unknown Source)
at ro.sync.exml.editor.PA.A(Unknown Source)
at ro.sync.exml.editor.AB.K(Unknown Source)
at ro.sync.exml.editor.xmleditor.g.K(Unknown
Source)
at ro.sync.exml.editor.AB.open(Unknown
Source)
at
ro.sync.exml.editor.xmleditor.pageauthor.E.Ϡ(Unknown
Source)
at ro.sync.exml.editor.BA.ξ(Unknown Source)
at ro.sync.ecss.component.D.D.B.actionPerformed(Unknown
Source)
at
ro.sync.exml.D.C$_A.actionPerformed(Unknown Source)
at ro.sync.ui.HA.actionPerformed(Unknown
Source)
at ro.sync.ui.MA$4.actionPerformed(Unknown
Source)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at
com.jidesoft.plaf.basic.BasicJideSplitButtonUI$MouseInputHandler.A(Unknown
Source)
at
com.jidesoft.plaf.basic.BasicJideSplitButtonUI$MouseInputHandler.mouseReleased(Unknown
Source)
at
java.awt.Component.processMouseEvent(Component.java:6134)
at
javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at
java.awt.Component.processEvent(Component.java:5899)
at
java.awt.Container.processEvent(Container.java:2023)
at java.awt.Component.dispatchEventImpl(Component.java:4501)
at
java.awt.Container.dispatchEventImpl(Container.java:2081)
at
java.awt.Component.dispatchEvent(Component.java:4331)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
at
java.awt.Container.dispatchEventImpl(Container.java:2067)
at
java.awt.Window.dispatchEventImpl(Window.java:2458)
at
java.awt.Component.dispatchEvent(Component.java:4331)
at
java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
I found a solution to the problem but am concerned about the
different behaviour due to context of the entry element.
content: “ “; just add a space when a descendant of thead
Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries
mario_madunic@newflyer.com
P Please consider the environment before printing this e-mail.