Changeset 21181 in webkit


Ignore:
Timestamp:
Apr 29, 2007 3:30:48 AM (17 years ago)
Author:
hyatt
Message:

Fix for bugzilla 13535, regression from positioning cleanup a while
back. Some code got added to compute available width for a relpositioned
inline, only the code meant to be used for inline flows and not inline blocks.

Reviewed by mjs

fast/block/positioning/inline-block-relposition.html

  • rendering/RenderBox.cpp: (WebCore::RenderBox::containingBlockWidthForPositioned):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r21180 r21181  
     12007-04-29  David Hyatt  <hyatt@apple.com>
     2
     3        Fix for bugzilla 13535, regression from positioning cleanup a while
     4        back.  Some code got added to compute available width for a relpositioned
     5        inline, only the code meant to be used for inline flows and not inline blocks.
     6
     7        Reviewed by mjs
     8
     9        fast/block/positioning/inline-block-relposition.html
     10
     11        * rendering/RenderBox.cpp:
     12        (WebCore::RenderBox::containingBlockWidthForPositioned):
     13
    1142007-04-29  Oliver Hunt  <oliver@apple.com>
    215
  • trunk/WebCore/rendering/RenderBox.cpp

    r21093 r21181  
    15141514int RenderBox::containingBlockWidthForPositioned(const RenderObject* containingBlock) const
    15151515{
    1516     if (containingBlock->isInline()) {
     1516    if (containingBlock->isInlineFlow()) {
    15171517        ASSERT(containingBlock->isRelPositioned());
    15181518
Note: See TracChangeset for help on using the changeset viewer.