[Webkit-unassigned] [Bug 160362] NULL Reference Error in ElementRuleCollector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 1 09:37:33 PDT 2016


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

--- Comment #8 from Jonathan Bedard <jbedard at apple.com> ---
Some more details about the circumstances when the author style is NULL:

I have been debugging this with canvas/philip.2d.strokeRect.path.html.  It is not the only test where this happens, but it does seems to be fairly representative of the very long list of tests I have seen this in.

The author style only appears to be NULL when it is the StyleResolver which calls StyleResolver::styleForElement in it's constructor.  (As Darin pointed out)

In the canvas/philip.2d.strokeRect.path.html test, the author style is defined, but not until the TreeResolver calls StyeResolver::styleForElement.

Ensuring that the author style is instantiated seems like a good approach, especially since it appears that there is a well-defined default.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160801/aef7a67a/attachment.html>


More information about the webkit-unassigned mailing list