CSS Selector Panel

Post anything about TopStyle here. NOTE: TopStyle has been discontinued.

Moderator: TopStyle Support

Post Reply
KBeng
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 9
Joined: Tue May 29, 2012 4:42 am

CSS Selector Panel

Post by KBeng » Sun Sep 08, 2013 4:56 am

Long selector combinations are not handled correctly in Topstyle. It looks like the internal variable to store the selectors is not sufficient (256?).
selectorpane.jpg
Selector Panel
selectorpane.jpg (19.29 KiB) Viewed 4901 times
Test case

Code: Select all

/* @group content */

/* Total number of characters: 253 */
.char h3 + h4,
.char h3 + p,
.char h3 + blockquote,
.char h3 + ul,
.char h3 + table,
.char h4 + h4,
.char h4 + p,
.char h4 + blockquote,
.char h4 + ul,
.char h4 + table,
.char p + h4,
.char p + p,
.char p + blockquote,
.char p + ul,
.char {
	background-color: green;
}

/* Total number of characters: 254 */
.test h3 + h4,
.test h3 + p,
.test h3 + blockquote,
.test h3 + ul,
.test h3 + table,
.test h4 + h4,
.test h4 + p,
.test h4 + blockquote,
.test h4 + ul,
.test h4 + table,
.test p + h4,
.test p + p,
.test p + blockquote,
.test p + ul,
.test p {
	background-color: red;
}

.test {
	background-color: transparent;
}

/* @end */

Post Reply