CSS Debuging
Posted: Thu Jul 25, 2013 5:34 pm
I've done due diligence searching in the forums and documentation, but it looks like Oxygen does not have the CSS debugging capability for Author mode that browsers like Firefox and Chrome do for detecting the source of each element's active CSS attributes, whether computed or literal. It appears that I need to use the following workflow:
1. guess where I should change a CSS rule in the frameworks/dita/css_classed directory and make the change
2. save the CSS file
3. activate the tab for the dita content file
4. choose Save (if changes were made to it) and then Revert (since there's no easy refresh or reload option that I've been able to locate).
5. if I can see the changes from the CSS file, I can preview the result for content authors. It also means that I've located the correct CSS file.
The other option is to insert an xml-stylesheet processing instruction into the content that points to the suspect CSS and open the content file in Firefox or Chrome in developer mode so I can see the cascade tree that is controlling the style of the selected content element and try a few alternatives without needed to save and reload files. The only caveat with this is that any oxy-* extensions will be useless in a standard browser.
Is there something obvious that I've missed in CSS development for Author mode?
John
1. guess where I should change a CSS rule in the frameworks/dita/css_classed directory and make the change
2. save the CSS file
3. activate the tab for the dita content file
4. choose Save (if changes were made to it) and then Revert (since there's no easy refresh or reload option that I've been able to locate).
5. if I can see the changes from the CSS file, I can preview the result for content authors. It also means that I've located the correct CSS file.
The other option is to insert an xml-stylesheet processing instruction into the content that points to the suspect CSS and open the content file in Firefox or Chrome in developer mode so I can see the cascade tree that is controlling the style of the selected content element and try a few alternatives without needed to save and reload files. The only caveat with this is that any oxy-* extensions will be useless in a standard browser.
Is there something obvious that I've missed in CSS development for Author mode?
John