Bug 120393

Summary: Make descendant iterators always require ContainerNode root
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, kling
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch kling: review+

Description Antti Koivisto 2013-08-27 23:43:50 PDT
There is no reason to iterate over Node.
Comment 1 Antti Koivisto 2013-08-27 23:50:32 PDT
Created attachment 209851 [details]
patch
Comment 2 Andreas Kling 2013-08-28 05:20:02 PDT
Comment on attachment 209851 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=209851&action=review

r=me

> Source/WebCore/accessibility/AccessibilityNodeObject.cpp:416
> +    Element* canvasElement = toElement(node);

HTMLCanvasElement* canvasElement = toHTMLCanvasElement(node);
Comment 3 Antti Koivisto 2013-08-28 05:30:28 PDT
https://trac.webkit.org/r154734