Page 1 of 1

CSS Selector Panel

Posted: Sun Sep 08, 2013 4:56 am
by KBeng
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 4876 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 */