For the next few years, Elizabeth swung mercurially between endearment and exasperation, drawing up documents to make Dudley an Earl only to shred them in front of him.
解析: drawing up documents to make Dudley an Earl only to shred them in front of him是現在分詞短語做原因狀語。