Changeset 109403 in webkit
- Timestamp:
- Mar 1, 2012, 12:56:18 PM (15 years ago)
- Location:
- branches/chromium/1025
- Files:
-
- 1 edited
- 3 copied
-
LayoutTests/fast/css-generated-content/before-content-continuation-chain-expected.png (copied) (copied from trunk/LayoutTests/fast/css-generated-content/before-content-continuation-chain-expected.png )
-
LayoutTests/fast/css-generated-content/before-content-continuation-chain-expected.txt (copied) (copied from trunk/LayoutTests/fast/css-generated-content/before-content-continuation-chain-expected.txt )
-
LayoutTests/fast/css-generated-content/before-content-continuation-chain.html (copied) (copied from trunk/LayoutTests/fast/css-generated-content/before-content-continuation-chain.html )
-
Source/WebCore/rendering/RenderObjectChildList.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/chromium/1025/Source/WebCore/rendering/RenderObjectChildList.cpp
r106281 r109403 521 521 return; 522 522 } 523 owner->addChild(generatedContentContainer, insertBefore); 523 524 // When we don't have a first child and are part of a continuation chain, 525 // insertBefore is incorrectly set to zero above, which causes the :before 526 // child to end up at the end of continuation chain. 527 // See https://bugs.webkit.org/show_bug.cgi?id=78380. 528 if (!insertBefore && type == BEFORE && owner->virtualContinuation()) 529 owner->addChildIgnoringContinuation(generatedContentContainer, 0); 530 else 531 owner->addChild(generatedContentContainer, insertBefore); 524 532 } 525 533 if (generatedContentContainer->isChildAllowed(renderer, pseudoElementStyle))
Note:
See TracChangeset
for help on using the changeset viewer.