diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-30 22:27:26 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-30 22:27:26 +0100 |
commit | 1b96214bbf9f88a94f7a7cd6d2b105488a0baf36 (patch) | |
tree | f950dca4c97aafcfe4123646f67607030a77e73e /src | |
parent | e5b07eee5af88f1048085e840c89eaa9eb6d11ea (diff) |
comment
Diffstat (limited to 'src')
-rw-r--r-- | src/css.cc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -235,6 +235,12 @@ void CssRule::print () { props->print (); } +/* + * \brief insert rule with increasing specificity + * If two rules have the same specificity, the one that was added later + * will be added behind the others. + * This gives later added rules more weight. + */ void CssStyleSheet::RuleList::insert (CssRule *rule) { increase (); int i = size () - 1; |