in StyleResolver checkForOrientationChange() function checks if the new computed orientation differs from the parent orientation and updates the style's font description only if it does. This is not correct as that does not guarantee the new font description is actually up to date. We can leave the function with the computed orientation and the font description out of sync.
Created attachment 180341 [details] patch
What I don't understand about your fix is why you've removed the knowledge of the parent style entirely. Is it ok? Would it be better to do something like: if (childFontOrientation == parentFontOrientation && childGlyphOrientation == parentGlyphOrientation && style->fontDescription().orientation() == childFontOrientation) return; It is even a smaller change than yours.
Created attachment 180371 [details] Another patch I'm uploading another patch with a smaller fix.
I've discussed this with Dan and I'm convinced that Antti's approach is the right thing to do.
Comment on attachment 180341 [details] patch looks good to me. Thanks!
http://trac.webkit.org/changeset/138299