Changeset 23737 in webkit
- Timestamp:
- Jun 22, 2007 12:00:51 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r23728 r23737 1 2007-06-21 Mark Rowe <mrowe@apple.com> 2 3 Reviewed by Darin. 4 5 Test for <rdar://problem/5266928> REGRESSION: crash/assert failure beneath RenderFrameSet::layOutAxis when loading 6 7 * fast/frames/frame-set-whitespace-attributes-expected.txt: Added. 8 * fast/frames/frame-set-whitespace-attributes.html: Added. 9 1 10 2007-06-21 Geoffrey Garen <ggaren@apple.com> 2 11 -
trunk/WebCore/ChangeLog
r23736 r23737 1 2007-06-21 Mark Rowe <mrowe@apple.com> 2 3 Reviewed by Darin. 4 5 Fix for <rdar://problem/5266928> REGRESSION: crash/assert failure beneath RenderFrameSet::layOutAxis when loading 6 7 * platform/StringImpl.cpp: 8 (WebCore::StringImpl::toLengthArray): Simplify whitespace before checking for an empty string. This avoids returning 9 a length of zero when the string is collapsed to empty by whitespace simplification. 10 1 11 2007-06-21 Dave Hyatt <hyatt@apple.com> 2 12 -
trunk/WebCore/platform/StringImpl.cpp
r20900 r23737 354 354 Length* StringImpl::toLengthArray(int& len) const 355 355 { 356 if (!length()) { 356 DeprecatedString str(reinterpret_cast<const DeprecatedChar*>(m_data), m_length); 357 str = str.simplifyWhiteSpace(); 358 if (!str.length()) { 357 359 len = 1; 358 360 return 0; 359 361 } 360 DeprecatedString str(reinterpret_cast<const DeprecatedChar*>(m_data), m_length);361 str = str.simplifyWhiteSpace();362 362 363 363 len = str.contains(',') + 1;
Note: See TracChangeset
for help on using the changeset viewer.