Kevin Flynn wrote:
>
> - The ability to configure the default screen layout: in other words, to
> associate each CSS file with a default window position and layout, so that I
> don't have to drag all the windows into position every time. It would be
> even better if it were possible to subdivide windows into "panes" and
> associate the various CSS files with these panes, so that there is only one
> window per open document, but each window can contain many views.
Added to the wish list. Note that this kind of feature request (i.e.
nice refinements) will not be implemented before April 2003.
> - The ability to expand and collapse inline elements as well as block
> elements (for hidden conditional inline text)
Expanding and collapsing inline elements is almost impossible to
implement without completely rewriting XXE rendering engine.
> I have also found what might be a bug in XXE's CSS interepretation:
>
> If one selector sets an icon as content, for example:
>
> only-in {
> content: icon(collapsed-right);
> }
>
> Then a more specific selector set to override it:
>
> only-in[selector=mode][value=paper] {
> display: inline;
> background-color: #ffe4c4;
> }
>
> will not work.
Rule "only-in[selector=mode][value=paper]" specializes rule "only-in"
but "content:icon(collapsed-right);" still applies to it. This is the
correct behavior.
You have almost guessed the solution. Try:
only-in[selector=mode][value=paper] {
display: inline;
background-color: #ffe4c4;
content: ""; /* <--- NEW! */
}