MCPcopy Create free account
hub / github.com/Snapchat/Valdi / setElementId

Method setElementId

valdi/src/valdi/runtime/CSS/CSSAttributesManager.cpp:185–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185bool CSSAttributesManager::setElementId(const StringBox& elementId, bool isOverridenFromParent) {
186 return getCSSNodeContainer(isOverridenFromParent).node.setNodeId(elementId);
187}
188
189CSSNodeContainer* CSSAttributesManager::getCSSNodeContainerForDocument(const CSSDocument* cssDocument) const {
190 if (_cssNodeContainer != nullptr && _cssNodeContainer->cssDocument.get() == cssDocument) {

Callers 4

TEST_PFunction · 0.45
populateRenderRequestFunction · 0.45
setAttributeMethod · 0.45

Calls 1

setNodeIdMethod · 0.80

Tested by 2

TEST_PFunction · 0.36
populateRenderRequestFunction · 0.36