예제 #1
0
 /// <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();
     }
 }
예제 #2
0
 /// <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();
     }
 }
예제 #3
0
 /// <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();
     }
 }