Changeset 142645 in webkit
- Timestamp:
- Feb 12, 2013 11:13:56 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r142640 r142645 1 2013-02-12 Uday Kiran <udaykiran@motorola.com> 2 3 Background size width specified in viewport percentage units not working 4 https://bugs.webkit.org/show_bug.cgi?id=109536 5 6 Reviewed by Antti Koivisto. 7 8 Added a test for background image width specified in viewport percentage unit. 9 10 * fast/backgrounds/size/backgroundSize-viewportPercentage-width-expected.html: Added. 11 * fast/backgrounds/size/backgroundSize-viewportPercentage-width.html: Added. 12 1 13 2013-02-12 Pablo Flouret <pablof@motorola.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r142642 r142645 1 2013-02-12 Uday Kiran <udaykiran@motorola.com> 2 3 Background size width specified in viewport percentage units not working 4 https://bugs.webkit.org/show_bug.cgi?id=109536 5 6 Reviewed by Antti Koivisto. 7 8 Corrected the check for viewport percentage unit while calculating 9 background image width. 10 11 Test: fast/backgrounds/size/backgroundSize-viewportPercentage-width.html 12 13 * rendering/RenderBoxModelObject.cpp: 14 (WebCore::RenderBoxModelObject::calculateFillTileSize): 15 1 16 2013-02-12 Abhishek Arya <inferno@chromium.org> 2 17 -
trunk/Source/WebCore/rendering/RenderBoxModelObject.cpp
r142527 r142645 1023 1023 if (layerWidth.isFixed()) 1024 1024 tileSize.setWidth(layerWidth.value()); 1025 else if (layerWidth.isPercent() || layer Height.isViewportPercentage())1025 else if (layerWidth.isPercent() || layerWidth.isViewportPercentage()) 1026 1026 tileSize.setWidth(valueForLength(layerWidth, positioningAreaSize.width(), renderView)); 1027 1027
Note: See TracChangeset
for help on using the changeset viewer.