NEW 116496
Fix crash when trying to get bounding box of node without a renderer
https://bugs.webkit.org/show_bug.cgi?id=116496
Summary Fix crash when trying to get bounding box of node without a renderer
Ryosuke Niwa
Reported 2013-05-20 19:25:37 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/f489bf99677ac37abb2fb3510cb50cb4ea22e3e4 It's obviously not possible to get the bounding box of an unrendered node; the null check was accidentally reversed when two functions were combined in the previous change.
Attachments
Radar WebKit Bug Importer
Comment 1 2014-02-07 11:28:57 PST
Joanmarie Diggs
Comment 2 2015-11-03 10:40:37 PST
(In reply to comment #0) > Consider merging > https://chromium.googlesource.com/chromium/blink/+/ > f489bf99677ac37abb2fb3510cb50cb4ea22e3e4 > > It's obviously not possible to get the bounding box of an unrendered > node; the null check was accidentally reversed when two functions > were combined in the previous change. Are you suggesting we merge the previous change: https://chromiumcodereview.appspot.com/14740025/ If it's just fixing the null check that was accidentally reversed, we don't have a need: https://trac.webkit.org/browser/trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp#L850
Ahmad Saleem
Comment 3 2022-11-27 06:18:50 PST
Ahmad Saleem
Comment 4 2022-11-27 06:20:26 PST
(In reply to Ahmad Saleem from comment #3) > This seems that the code has changed now: > https://github.com/WebKit/WebKit/blob/ > 5b655cd9d573ea496ed4bc3972080ce932e5ee10/Source/WebCore/accessibility/ > AccessibilityRenderObject.cpp#L887 > > Do we need this now? Thanks! https://github.com/WebKit/WebKit/blob/5b655cd9d573ea496ed4bc3972080ce932e5ee10/Source/WebCore/accessibility/AccessibilityRenderObject.cpp#L1203 ^ Also
Note You need to log in before you can comment on or make changes to this bug.