1 Replies Last post: Feb 12, 2013 2:40 PM by Alex Berezoutsky  
Richard Deeming Novice 112 posts since
Oct 6, 2010
Currently Being Moderated

Feb 11, 2013 10:37 PM

BUG: CSS counters

I have a stylesheet using the CSS2 counter syntax:

 

table.eventList
{
    counter-reset: day-item;
}
table.eventList tbody td.counter span:before
{
    content: counter(day-item, lower-roman);
    counter-increment: day-item;
}

 

R# flags the comma in "counter(day-item, lower-roman)" as an error: "Expected one of: disc, circle, ...", but the style works as expected.

ReSharper-CSS-Counter-Error.png

If I change the style to "counter(day-item lower-roman)", R# is happy but the style doesn't work.

 

Is this a known problem or a new bug?

 

ReSharper 7.1.1 Full Edition Build 7.1.1000.900

Visual Studio 2012 Professional

Windows 7 x64

Alex Berezoutsky JetBrains 456 posts since
Feb 18, 2011
Currently Being Moderated
Feb 12, 2013 2:40 PM in response to: Richard Deeming
Re: BUG: CSS counters

Hi Richard,

 

Thnk you very much for the report. I've logged it here in YouTrack for further fixing: http://youtrack.jetbrains.com/issue/RSRP-338609.

 

Thanks again!

More Like This

  • Retrieving data ...