MCPcopy Create free account
hub / github.com/dillo-browser/dillo / parseDeclarationBlock

Method parseDeclarationBlock

src/cssparser.cc:1802–1815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1800}
1801
1802void CssParser::parseDeclarationBlock(const DilloUrl *baseUrl,
1803 const char *buf, int buflen,
1804 CssPropertyList *props,
1805 CssPropertyList *propsImortant)
1806{
1807 CssParser parser (NULL, CSS_ORIGIN_AUTHOR, baseUrl, buf, buflen);
1808
1809 parser.withinBlock = true;
1810
1811 do
1812 parser.parseDeclaration(props, propsImortant);
1813 while (!(parser.ttype == CSS_TK_END ||
1814 (parser.ttype == CSS_TK_CHAR && parser.tval[0] == '}')));
1815}

Callers

nothing calls this directly

Calls 1

parseDeclarationMethod · 0.80

Tested by

no test coverage detected