Add "quirks_mode" field to document nodes