Selecting by ... (cont'd)

Context:

// All elements with an ancestor
// of CLASS=warning will be red.
document.contextual
  (document.classes.warning.all)
  .color = "red"

// All H1 elements with an ancestor
// of CLASS=warning will be italic.
document.contextual
  (document.classes.warning.all, 
   document.tags.H1).textStyle = 
  "italic"