(oldInfo, tag)
| 20954 | return null !== node ? describeDiff(node).replaceAll(/^[+-]/gm, ">") : ""; |
| 20955 | } |
| 20956 | function updatedAncestorInfoDev(oldInfo, tag) { |
| 20957 | oldInfo = assign({}, oldInfo || emptyAncestorInfoDev); |
| 20958 | var info = { tag: tag }; |
| 20959 | -1 !== inScopeTags.indexOf(tag) && |
| 20960 | ((oldInfo.aTagInScope = null), |
| 20961 | (oldInfo.buttonTagInScope = null), |
| 20962 | (oldInfo.nobrTagInScope = null)); |
| 20963 | -1 !== buttonScopeTags.indexOf(tag) && (oldInfo.pTagInButtonScope = null); |
| 20964 | -1 !== specialTags.indexOf(tag) && |
| 20965 | "address" !== tag && |
| 20966 | "div" !== tag && |
| 20967 | "p" !== tag && |
| 20968 | ((oldInfo.listItemTagAutoclosing = null), |
| 20969 | (oldInfo.dlItemTagAutoclosing = null)); |
| 20970 | oldInfo.current = info; |
| 20971 | "form" === tag && (oldInfo.formTag = info); |
| 20972 | "a" === tag && (oldInfo.aTagInScope = info); |
| 20973 | "button" === tag && (oldInfo.buttonTagInScope = info); |
| 20974 | "nobr" === tag && (oldInfo.nobrTagInScope = info); |
| 20975 | "p" === tag && (oldInfo.pTagInButtonScope = info); |
| 20976 | "li" === tag && (oldInfo.listItemTagAutoclosing = info); |
| 20977 | if ("dd" === tag || "dt" === tag) oldInfo.dlItemTagAutoclosing = info; |
| 20978 | "#document" === tag || "html" === tag |
| 20979 | ? (oldInfo.containerTagInScope = null) |
| 20980 | : oldInfo.containerTagInScope || (oldInfo.containerTagInScope = info); |
| 20981 | return oldInfo; |
| 20982 | } |
| 20983 | function isTagValidWithParent(tag, parentTag) { |
| 20984 | switch (parentTag) { |
| 20985 | case "select": |
no outgoing calls
no test coverage detected
searching dependent graphs…