/// <summary> /// Clone css data if it has not already been cloned.<br/> /// Used to preserve the base css data used when changed by style inside html. /// </summary> private static void CloneCssData(ref CssData cssData, ref bool cssDataChanged) { if (!cssDataChanged) { cssDataChanged = true; cssData = cssData.Clone(); } }
/// <summary> /// Clone css data if it has not already been cloned.<br/> /// Used to preserve the base css data used when changed by style inside html. /// </summary> public void CloneCssData() { if (!cssDataChanged) { cssDataChanged = true; cssData = cssData.Clone(); } }