Changeset 68335 in webkit
- Timestamp:
- Sep 25, 2010, 10:34:01 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r68332 r68335 1 2010-09-25 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by John Sullivan. 4 5 <rdar://problem/8478160> Null deref in InlineBox::height() 6 https://bugs.webkit.org/show_bug.cgi?id=45344 7 8 * fast/css/first-line-parent-style-different-expected.txt: Added. 9 * fast/css/first-line-parent-style-different.html: Added. 10 1 11 2010-09-25 Andreas Kling <andreas.kling@nokia.com> 2 12 -
trunk/WebCore/ChangeLog
r68334 r68335 1 2010-09-25 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by John Sullivan. 4 5 <rdar://problem/8478160> Null deref in InlineBox::height() 6 https://bugs.webkit.org/show_bug.cgi?id=45344 7 8 Test: fast/css/first-line-parent-style-different.html 9 10 * rendering/RenderObject.cpp: 11 (WebCore::RenderObject::firstLineStyleSlowCase): Set the pseudo style bit on the RenderStyle 12 which is going to supply the first-line style rather than on this object’s RenderStyle. The 13 styles may differ. 14 1 15 2010-09-25 Dan Bernstein <mitz@apple.com> 2 16 -
trunk/WebCore/rendering/RenderObject.cpp
r68278 r68335 2343 2343 if (parentStyle != renderer->parent()->style()) { 2344 2344 // A first-line style is in effect. Cache a first-line style for ourselves. 2345 style->setHasPseudoStyle(FIRST_LINE_INHERITED);2345 renderer->style()->setHasPseudoStyle(FIRST_LINE_INHERITED); 2346 2346 style = renderer->getCachedPseudoStyle(FIRST_LINE_INHERITED, parentStyle); 2347 2347 }
Note:
See TracChangeset
for help on using the changeset viewer.