RESOLVED FIXED Bug 46304
display:inline should become display:inline-block when an object's block flow does not match its parent's
https://bugs.webkit.org/show_bug.cgi?id=46304
Summary display:inline should become display:inline-block when an object's block flow...
Dave Hyatt
Reported 2010-09-22 13:57:03 PDT
The writing mode spec says that a display:inline child with different block-flow than its parent becomes an inline-block.
Attachments
Patch (5.01 KB, patch)
2010-09-22 14:03 PDT, Dave Hyatt
no flags
Patch (5.03 KB, patch)
2010-09-22 14:15 PDT, Dave Hyatt
mitz: review+
Patch (5.22 KB, patch)
2010-09-22 14:31 PDT, Dave Hyatt
mitz: review+
Dave Hyatt
Comment 1 2010-09-22 14:03:43 PDT
mitz
Comment 2 2010-09-22 14:11:26 PDT
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.
Dave Hyatt
Comment 3 2010-09-22 14:15:55 PDT
mitz
Comment 4 2010-09-22 14:28:08 PDT
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.
Dave Hyatt
Comment 5 2010-09-22 14:31:38 PDT
mitz
Comment 6 2010-09-22 14:32:57 PDT
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
Dave Hyatt
Comment 7 2010-09-22 14:35:00 PDT
(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!!!
Dave Hyatt
Comment 8 2010-09-22 15:11:58 PDT
Fixed.
Note You need to log in before you can comment on or make changes to this bug.