CSS Properties: Generated CSS selectors are wrong sometimes
Hi.
OS: Windows 10 x64
Illustrator: 24.1.2 and older versions
Steps:
I have drawn two paths (shapes) on the same layer.
I have given these names:
abc1 and abc11 to each path
When I select one of them, the generated css in CSS properties panel is ok, the selector's name is right. The issue happens just when I select both paths at the same time and try to generate the CSS.
The selector name for abc11, is changed wrongly to abc111 (an extra 1 at the end).
Expected result:
.abc1
{
position : absolute ;
left : 120px;
top : 1226px;
width : 74px;
height : 25px;
}
.abc11
{
position : absolute ;
left : 123px;
top : 1272px;
width : 74px;
height : 25px;
}
Actual result:
.abc1
{
position : absolute ;
left : 120px;
top : 1226px;
width : 74px;
height : 25px;
}
.abc111
{
position : absolute ;
left : 123px;
top : 1272px;
width : 74px;
height : 25px;
}
(Notice the extra 1, on abc11 selector name)
It only fails when abc1 layer is above abc11 layer, when abc11 is above abc1 layer, the generated css is right.
I have been facing the same issue for a long time, it would great a fix for it.