Changeset 140993 in webkit
- Timestamp:
- Jan 28, 2013 12:43:33 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r140991 r140993 1 2013-01-28 Uday Kiran <udaykiran@motorola.com> 2 3 getComputedStyle returns "left" instead of "none" for "float" on abspos elements 4 https://bugs.webkit.org/show_bug.cgi?id=105836 5 6 Reviewed by Tony Chang. 7 8 If 'position' has the value absolute, page or fixed, and the value of float is 9 left or right, the box is absolutely positioned and the computed value of float is none. 10 http://www.w3.org/TR/css3-positioning/#dis-pos-flo 11 This matches behavior of Firefox 18, Opera 12 and IE9. 12 13 * fast/css/position-absolute-float-expected.txt: Added. 14 * fast/css/position-absolute-float.html: Added. 15 1 16 2013-01-28 Zan Dobersek <zdobersek@igalia.com> 2 17 -
trunk/Source/WebCore/ChangeLog
r140992 r140993 1 2013-01-28 Uday Kiran <udaykiran@motorola.com> 2 3 getComputedStyle returns "left" instead of "none" for "float" on abspos elements 4 https://bugs.webkit.org/show_bug.cgi?id=105836 5 6 Reviewed by Tony Chang. 7 8 If 'position' has the value absolute, page or fixed, and the value of float is 9 left or right, the box is absolutely positioned and the computed value of float is none. 10 http://www.w3.org/TR/css3-positioning/#dis-pos-flo 11 This matches behavior of Firefox 18, Opera 12 and IE9. 12 13 Test: fast/css/position-absolute-float.html 14 15 * css/CSSComputedStyleDeclaration.cpp: 16 (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): 17 1 18 2013-01-28 Tony Gentilcore <tonyg@chromium.org> 2 19 -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r140642 r140993 1861 1861 return cssValuePool().createValue(style->order(), CSSPrimitiveValue::CSS_NUMBER); 1862 1862 case CSSPropertyFloat: 1863 if (style->display() != NONE && style->hasOutOfFlowPosition()) 1864 return cssValuePool().createIdentifierValue(CSSValueNone); 1863 1865 return cssValuePool().createValue(style->floating()); 1864 1866 case CSSPropertyFont: {
Note: See TracChangeset
for help on using the changeset viewer.