RESOLVED FIXED 98677
Replace 2 uses of updateLogicalHeight with computeLogicalHeight
https://bugs.webkit.org/show_bug.cgi?id=98677
Summary Replace 2 uses of updateLogicalHeight with computeLogicalHeight
Tony Chang
Reported 2012-10-08 11:42:53 PDT
Replace 2 uses of updateLogicalHeight with computeLogicalHeight
Attachments
Patch (5.71 KB, patch)
2012-10-08 11:51 PDT, Tony Chang
no flags
Patch for landing (5.76 KB, patch)
2012-10-08 12:20 PDT, Tony Chang
no flags
Tony Chang
Comment 1 2012-10-08 11:51:43 PDT
Ojan Vafai
Comment 2 2012-10-08 11:58:34 PDT
Comment on attachment 167576 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=167576&action=review > Source/WebCore/rendering/svg/RenderSVGForeignObject.cpp:115 > +void RenderSVGForeignObject::computeLogicalHeight(LayoutUnit, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const I assume foreignObject is forced into horizontal-tb? Not really related to this patch, but I feel like we should have asserts at the top of all the layout/computeLogicalHeight/computeLogicalWidth methods for RenderObject subclasses that don't support vertical writing mode. Either that, or a FIXME to support it.
Tony Chang
Comment 3 2012-10-08 12:10:32 PDT
Comment on attachment 167576 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=167576&action=review >> Source/WebCore/rendering/svg/RenderSVGForeignObject.cpp:115 >> +void RenderSVGForeignObject::computeLogicalHeight(LayoutUnit, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const > > I assume foreignObject is forced into horizontal-tb? > > Not really related to this patch, but I feel like we should have asserts at the top of all the layout/computeLogicalHeight/computeLogicalWidth methods for RenderObject subclasses that don't support vertical writing mode. Either that, or a FIXME to support it. Oh, no, they're not forced into horizontal-tb. Let me see if I can make a test case for that.
Tony Chang
Comment 4 2012-10-08 12:20:23 PDT
Created attachment 167584 [details] Patch for landing
Tony Chang
Comment 5 2012-10-08 12:21:23 PDT
(In reply to comment #3) > Oh, no, they're not forced into horizontal-tb. Let me see if I can make a test case for that. Actually, I can't seem to get an inline svg to render in vertical-rl. I'm not sure what's supposed to happen here.
WebKit Review Bot
Comment 6 2012-10-08 14:16:25 PDT
Comment on attachment 167584 [details] Patch for landing Clearing flags on attachment: 167584 Committed r130686: <http://trac.webkit.org/changeset/130686>
WebKit Review Bot
Comment 7 2012-10-08 14:16:29 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.