[Webkit-unassigned] [Bug 67056] Logic from HTMLElement::deprecatedCreateContextualFragment moved into Range::createContextualFragment function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 4 23:37:47 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=67056





--- Comment #32 from Kaustubh Atrawalkar <kaustubh at motorola.com>  2011-09-04 23:37:46 PST ---
Yes I was thinking about the same. But for the first step i thought just move the logic/code as it is from HTMLElement to Range.cpp. Without changing much. I can take up the next step to make it hashMap soon. Thanks Ryosuke. 
(In reply to comment #31)
> (From update of attachment 106308 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=106308&action=review
> 
> > Source/WebCore/dom/Range.cpp:1132
> > +    if (htmlElement->hasLocalName(colTag) || htmlElement->hasLocalName(colgroupTag) || htmlElement->hasLocalName(framesetTag)
> > +        || htmlElement->hasLocalName(headTag) || htmlElement->hasLocalName(styleTag) || htmlElement->hasLocalName(titleTag))
> > +        return 0;
> 
> Maybe we should consider using HashMap in the future.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list