diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-31 09:53:48 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-31 09:53:48 +0100 |
commit | 1eb7f63a69af93a0b41e5f05beb5ebc5b1279cc9 (patch) | |
tree | 1190b6685fd5019d0aa7a221ba95c34abc226652 /src/css.cc | |
parent | 7ea33b9c2e22726413fce2a5bd55d93f9f5482f2 (diff) |
comment
Diffstat (limited to 'src/css.cc')
-rw-r--r-- | src/css.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -323,6 +323,8 @@ void CssStyleSheet::apply (CssPropertyList *props, ruleList[2] = elementTable[docTree->top ()->element]; ruleList[3] = anyTable; + // Apply potentially matching rules from ruleList[0-3] with + // ascending specificity. Each ruleList is sorted already. while (true) { int minSpec = 1 << 30; int minSpecIndex = -1; |