| 37 | } |
| 38 | |
| 39 | CSSAttribute toCSSAttribute(AttributeIds& attributeIds, const Valdi::NodeAttribute& nodeAttribute) { |
| 40 | return {.id = attributeIds.getIdForName(Valdi::StringCache::getGlobal().makeString(nodeAttribute.name())), |
| 41 | .value = valueFromNodeAttribute(nodeAttribute)}; |
| 42 | } |
| 43 | |
| 44 | void CSSDocument::populateStyleDeclaration(AttributeIds& attributeIds, |
| 45 | const Valdi::StyleDeclaration& styleDeclaration, |
no test coverage detected