bug fix, style tag when parseing document trigger casade before dom built