The writing mode spec says that a display:inline child with different block-flow than its parent becomes an inline-block.
Created attachment 68437 [details] Patch
Comment on attachment 68437 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=68437&action=review > WebCore/css/CSSStyleSelector.cpp:1565 > + adjustRenderStyle(style(), parentStyle, 0); I think you want the renderer’s parent’s style() here, not parentStyle, which is just the style to inherit from. > WebCore/css/CSSStyleSelector.cpp:1719 > + if (style->display() == INLINE && style->blockFlow() != parentStyle->blockFlow()) I think parentStyle can be 0.
Created attachment 68438 [details] Patch
Comment on attachment 68438 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=68438&action=review > LayoutTests/fast/blockflow/display-mutation.html:20 > \ No newline at end of file Please fix.
Created attachment 68443 [details] Patch
Comment on attachment 68443 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=68443&action=review > LayoutTests/fast/blockflow/display-mutation.html:20 > \ No newline at end of file Please fix!!!1
(In reply to comment #6) > (From update of attachment 68443 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=68443&action=review > > > LayoutTests/fast/blockflow/display-mutation.html:20 > > \ No newline at end of file > > Please fix!!!1 Ok!!!
Fixed.