Changeset 109401 in webkit
- Timestamp:
- Mar 1, 2012, 12:54:43 PM (15 years ago)
- Location:
- branches/chromium/963
- 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/963/Source/WebCore/rendering/RenderObjectChildList.cpp
r100630 r109401 518 518 return; 519 519 } 520 owner->addChild(generatedContentContainer, insertBefore); 520 521 // When we don't have a first child and are part of a continuation chain, 522 // insertBefore is incorrectly set to zero above, which causes the :before 523 // child to end up at the end of continuation chain. 524 // See https://bugs.webkit.org/show_bug.cgi?id=78380. 525 if (!insertBefore && type == BEFORE && owner->virtualContinuation()) 526 owner->addChildIgnoringContinuation(generatedContentContainer, 0); 527 else 528 owner->addChild(generatedContentContainer, insertBefore); 521 529 } 522 530 if (generatedContentContainer->isChildAllowed(renderer, pseudoElementStyle))
Note:
See TracChangeset
for help on using the changeset viewer.