Changeset 78469 in webkit
- Timestamp:
- Feb 14, 2011 5:13:49 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r78466 r78469 1 2011-02-14 Kenichi Ishibashi <bashi@chromium.org> 2 3 Reviewed by Andreas Kling. 4 5 css style="max-width:none" works wrong 6 https://bugs.webkit.org/show_bug.cgi?id=53743 7 8 Adds a test to ensure style 'max-width: none' works correctly. 9 10 * fast/css/max-width-none-expected.txt: Added. 11 * fast/css/max-width-none.html: Added. 12 1 13 2011-02-14 Pavel Feldman <pfeldman@chromium.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r78468 r78469 1 2011-02-14 Kenichi Ishibashi <bashi@chromium.org> 2 3 Reviewed by Andreas Kling. 4 5 css style="max-width:none" works wrong 6 https://bugs.webkit.org/show_bug.cgi?id=53743 7 8 Fix a bug that "max-width:none" works wrong. 9 See also: http://trac.webkit.org/changeset/13462 10 11 Test: fast/css/max-width-none.html 12 13 * css/CSSStyleSelector.cpp: 14 (WebCore::CSSStyleSelector::applyProperty): For max-width of none, 15 set it to Length(undefinedLength, Fixed), which is the correct 16 value. 17 1 18 2011-02-14 Antti Koivisto <antti@apple.com> 2 19 -
trunk/Source/WebCore/css/CSSStyleSelector.cpp
r78457 r78469 4160 4160 case CSSPropertyMaxWidth: 4161 4161 // +none +inherit 4162 if (primitiveValue && primitiveValue->getIdent() == CSSValueNone) 4162 if (primitiveValue && primitiveValue->getIdent() == CSSValueNone) { 4163 l = Length(undefinedLength, Fixed); 4163 4164 apply = true; 4165 } 4164 4166 case CSSPropertyTop: 4165 4167 case CSSPropertyLeft:
Note: See TracChangeset
for help on using the changeset viewer.