| Index: sky/engine/core/css/ElementRuleCollector.cpp
|
| diff --git a/sky/engine/core/css/ElementRuleCollector.cpp b/sky/engine/core/css/ElementRuleCollector.cpp
|
| index d9f5f38b0f1cbdb015d004e5fdebf53fc78fa02d..cc5fce119d22d830603fc228e42ddfb3b83abd9c 100644
|
| --- a/sky/engine/core/css/ElementRuleCollector.cpp
|
| +++ b/sky/engine/core/css/ElementRuleCollector.cpp
|
| @@ -140,10 +140,7 @@ void ElementRuleCollector::sortAndTransferMatchedRules()
|
|
|
| // Now transfer the set of matched rules over to our list of declarations.
|
| for (unsigned i = 0; i < matchedRules.size(); i++) {
|
| - // FIXME: Matching should not modify the style directly.
|
| const RuleData* ruleData = matchedRules[i].ruleData();
|
| - if (m_style && ruleData->containsAttributeSelector())
|
| - m_style->setUnique();
|
| m_result.addMatchedProperties(&ruleData->rule()->properties());
|
| }
|
| }
|
|
|