Changeset 139548 in webkit
- Timestamp:
- Jan 12, 2013 4:59:55 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r139547 r139548 1 2013-01-12 Robert Hogan <robert@webkit.org> 2 3 Available height should respect min and max height 4 https://bugs.webkit.org/show_bug.cgi?id=106479 5 6 Reviewed by Ojan Vafai. 7 8 * fast/block/percent-top-respects-max-height-expected.txt: Added. 9 * fast/block/percent-top-respects-max-height.html: Added. 10 * fast/block/percent-top-respects-min-height-expected.txt: Added. 11 * fast/block/percent-top-respects-min-height.html: Added. 12 1 13 2013-01-12 Victor Carbune <victor@rosedu.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r139547 r139548 1 2013-01-12 Robert Hogan <robert@webkit.org> 2 3 Available height should respect min and max height 4 https://bugs.webkit.org/show_bug.cgi?id=106479 5 6 Reviewed by Ojan Vafai. 7 8 When calculating a relative positioned block's offset as a percentage of its container, respect the min 9 and max height set on the container 10 11 Tests: fast/block/percent-top-respects-max-height.html 12 fast/block/percent-top-respects-min-height.html 13 14 * rendering/RenderBox.cpp: 15 (WebCore::RenderBox::availableLogicalHeight): 16 1 17 2013-01-12 Victor Carbune <victor@rosedu.org> 2 18 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r139535 r139548 2628 2628 LayoutUnit RenderBox::availableLogicalHeight(AvailableLogicalHeightType heightType) const 2629 2629 { 2630 return availableLogicalHeightUsing(style()->logicalHeight(), heightType);2630 return constrainLogicalHeightByMinMax(availableLogicalHeightUsing(style()->logicalHeight(), heightType)); 2631 2631 } 2632 2632
Note: See TracChangeset
for help on using the changeset viewer.