Bug 86135 - Look into ways to combine RenderObject::removeChild and RenderObject::removeChildNode
Summary: Look into ways to combine RenderObject::removeChild and RenderObject::removeC...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 13:47 PDT by Abhishek Arya
Modified: 2012-05-10 13:47 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abhishek Arya 2012-05-10 13:47:06 PDT
https://bugs.webkit.org/show_bug.cgi?id=86019

Comment #5 From Julien Chaffraix 2012-05-10 13:44:33 PST (-) [reply] 
(From update of attachment 141023 [details])
View in context: https://bugs.webkit.org/attachment.cgi?id=141023&action=review

> Source/WebCore/rendering/RenderObject.cpp:-331
> -    // cannot affect the positioned object list, and the floating object list is irrelevant (since the list gets cleared on

Mhh, re-reading the ChangeLog, it implies that the comment is wrong and should thus be fine. Dave was fine with the approach and I agree it's better to move this to the lower-level plumbing to avoid missing any callers.

Could you file a bug about the artificial split we have between removeChild / removeChildNode? (I think those bugs arise because what we expect both functions to do and what should be the differences is not clear)