Cleanup RenderInline style propagation to continuations
- Remove unnecessary RenderInline::setContinuation(). Push outline style in RenderInline::addChildIgnoringContinuation() along with original style propagation for 'position'. - In updateStyleOfAnonymousBlockContinuations() create newBlockStyle only once. Fixed original issue when pushing 'position' by replacing createAnonymousStyleWithDisplay() with RenderStyle::clone(). The issue caused just-set outline style to be lost because createAnonymousStyleWithDisplay() doesn't copy non-inherited styles. BUG=405222 TEST=refactory only, no functional change Review URL: https://codereview.chromium.org/538213002 git-svn-id: svn://svn.chromium.org/blink/trunk@181566 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment