- "html": "<p>If <var>syntax definition</var> is the <a data-link-type=\"dfn\" href=\"https://drafts.css-houdini.org/css-properties-values-api-1/#universal-syntax-definition\" id=\"ref-for-universal-syntax-definition④\">universal syntax definition</a>,\nand <var>initialValue</var> is not present,\nlet <var>parsed initial value</var> be empty.\nThis must be treated identically to the \"default\" initial value of custom properties,\nas defined in <a data-link-type=\"biblio\" href=\"https://drafts.css-houdini.org/css-properties-values-api-1/#biblio-css-variables\" title=\"CSS Custom Properties for Cascading Variables Module Level 1\">[css-variables]</a>.\nSkip to the next step of this algorithm.</p>\n <p>Otherwise,\nif <var>syntax definition</var> is the <a data-link-type=\"dfn\" href=\"https://drafts.css-houdini.org/css-properties-values-api-1/#universal-syntax-definition\" id=\"ref-for-universal-syntax-definition⑤\">universal syntax definition</a>, <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-syntax-3/#css-parse-something-according-to-a-css-grammar\" id=\"ref-for-css-parse-something-according-to-a-css-grammar②\">parse</a> <var>initialValue</var> as a <a class=\"production css\" data-link-type=\"type\" href=\"https://drafts.csswg.org/css-syntax-3/#typedef-declaration-value\" id=\"ref-for-typedef-declaration-value①\"><declaration-value></a>.\nIf this fails, <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\" id=\"ref-for-dfn-throw③\">throw</a> a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#syntaxerror\" id=\"ref-for-syntaxerror②\">SyntaxError</a></code> and exit this algorithm.\nOtherwise,\nlet <var>parsed initial value</var> be the parsed result.\nSkip to the next step of this algorithm.</p>\n <p>Otherwise, if <var>initialValue</var> is not present, <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\" id=\"ref-for-dfn-throw④\">throw</a> a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#syntaxerror\" id=\"ref-for-syntaxerror③\">SyntaxError</a></code> and exit this algorithm.</p>\n <p>Otherwise, <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-syntax-3/#css-parse-something-according-to-a-css-grammar\" id=\"ref-for-css-parse-something-according-to-a-css-grammar③\">parse</a> <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://drafts.css-houdini.org/css-properties-values-api-1/#dom-propertydefinition-initialvalue\" id=\"ref-for-dom-propertydefinition-initialvalue①\">initialValue</a></code> according to <var>syntax definition</var>.\nIf this fails, <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\" id=\"ref-for-dfn-throw⑤\">throw</a> a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#syntaxerror\" id=\"ref-for-syntaxerror④\">SyntaxError</a></code> and exit this algorithm.</p>\n <p>Otherwise, let <var>parsed initial value</var> be the parsed result.\nIf <var>parsed initial value</var> is not <a data-link-type=\"dfn\" href=\"https://drafts.css-houdini.org/css-properties-values-api-1/#computationally-independent\" id=\"ref-for-computationally-independent①\">computationally independent</a>, <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\" id=\"ref-for-dfn-throw⑥\">throw</a> a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#syntaxerror\" id=\"ref-for-syntaxerror⑤\">SyntaxError</a></code> and exit this algorithm.</p>"
0 commit comments