[oXygen-user] Oxygen CSS parser appears to not understand @media queries
Eliot Kimber
ekimber at rsicms.com
Fri Jun 8 09:36:43 CDT 2012
Didn't realize that setting was there.
Cheers,
E.
On 6/8/12 9:16 AM, "Oxygen XML Editor Support" <support at oxygenxml.com>
wrote:
> Hi Eliot,
>
> So you meant validation of the CSS file edited in Oxygen should support
> the @media query syntax, right?
>
> Just make sure than in the Oxygen Preferences->"CSS Validator" page you
> set the profile to be "CSS 3" or "CSS 3 with Oxygen extensions".
> My small samples seemed to validate OK using one of these 2 profiles.
>
> Regards,
> Radu
>
> Radu Coravu
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
> On 6/8/2012 5:05 PM, Eliot Kimber wrote:
>> I was actually referring to the parse used when editing the CSS file itself,
>> not the use of the CSS in Author mode.
>>
>> I was simply looking at a CSS developed for rendering books at different
>> display sizes, which uses the form @media query shown in the example.
>>
>> Cheers,
>>
>> E.
>>
>> On 6/8/12 3:35 AM, "Oxygen XML Editor Support"<support at oxygenxml.com>
>> wrote:
>>
>>> Hi Eliot,
>>>
>>> Oxygen only supports for rendering in the Author page parsing simple CSS
>>> media types like:
>>>
>>>> @media screen {
>>>> * { font-size: 30px; }
>>>> }
>>>
>>> Actually Oxygen applies in the Author page styles specified in 3 media
>>> types: "all", "screen" or our custom "oxygen" media type.
>>>
>>> You seem to want more complex media queries, like:
>>>
>>>> @media all and (min-width:500px) {
>>>> * { font-size: 30px; }
>>>> }
>>>
>>> Indeed the CSS parser used in the Author page does not yet support this.
>>>
>>> Could you elaborate on your use case? Maybe give us a small sample?
>>>
>>> Regards,
>>> Radu
>>>
>>> Radu Coravu
>>> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
>>> http://www.oxygenxml.com
>>>
>>> On 6/7/2012 4:26 PM, Eliot Kimber wrote:
>>>> Please see http://www.w3.org/TR/css3-mediaqueries/
>>>>
>>>> It looks like the CSS parser in 14.0, build 2012052416 doesn't understand
>>>> this new feature of CSS.
>>>>
>>>> Is it possible to add it?
>>>>
>>>> Cheers,
>>>>
>>>> E.
>>>>
>>> _______________________________________________
>>> oXygen-user mailing list
>>> oXygen-user at oxygenxml.com
>>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
--
Eliot Kimber
Senior Solutions Architect, RSI Content Solutions
"Bringing Strategy, Content, and Technology Together"
Main: 512.554.9368
www.rsicms.com
www.rsuitecms.com
Book: DITA For Practitioners, from XML Press,
http://xmlpress.net/publications/dita/practitioners-1/
More information about the oXygen-user
mailing list