Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
Updated CSS Context API implementation spec (markdown)
authored
Dec 14, 2012
by
RaymondLim
Show whitespace changes
Inline
Side-by-side
CSS-Context-API-implementation-spec.md
View page @
6e968112
...
...
@@ -202,7 +202,11 @@ When the cursor is in the property value context and there is a white space imme
if (ruleInfo.context === CSSUtils.PROP_NAME) {
query.queryStr = ruleInfo.name;
} else if (ruleInfo.context === CSSUtils.PROP_VALUE) {
if (ruleInfo.isNewItem) {
query.queryStr = "";
} else {
query.queryStr = (ruleInfo.index !== -1) ? ruleInfo.values[ruleInfo.index] : "";
}
query.propName = ruleInfo.name;
}
...
...
...
...