WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 91286
Remove an always-failing table-wrapping check in RenderObject::addChild
https://bugs.webkit.org/show_bug.cgi?id=91286
Summary
Remove an always-failing table-wrapping check in RenderObject::addChild
Julien Chaffraix
Reported
2012-07-13 14:46:30 PDT
The table wrapping checks in RenderObject::addChild ends with the following snippet: else if (newChild->isTableCell()) { needsTable = !isTableRow(); // I'm not 100% sure this is the best way to fix this, but without this // change we recurse infinitely when trying to render the CSS2 test page: //
http://www.bath.ac.uk/%7Epy8ieh/internet/eviltests/htmlbodyheadrendering2.html
. // See Radar 2925291. if (needsTable && isTableCell() && !children->firstChild() && !newChild->isTableCell()) needsTable = false; } As we only get into the branch if newChild->isTableCell() so the nested check is always false. The inner check was added in r1147 by Darin and was made obsolete by
bug 12066
(circa 2005).
Attachments
Proposed removal 1.
(2.71 KB, patch)
2012-07-13 14:55 PDT
,
Julien Chaffraix
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Julien Chaffraix
Comment 1
2012-07-13 14:55:55 PDT
Created
attachment 152342
[details]
Proposed removal 1.
Eric Seidel (no email)
Comment 2
2012-07-13 14:58:46 PDT
Comment on
attachment 152342
[details]
Proposed removal 1. LGTM.
WebKit Review Bot
Comment 3
2012-07-13 16:34:12 PDT
Comment on
attachment 152342
[details]
Proposed removal 1. Clearing flags on attachment: 152342 Committed
r122642
: <
http://trac.webkit.org/changeset/122642
>
WebKit Review Bot
Comment 4
2012-07-13 16:34:17 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug