WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
117447
Allow removing empty childs even if !canCollapseAnonymousBlockChild()
https://bugs.webkit.org/show_bug.cgi?id=117447
Summary
Allow removing empty childs even if !canCollapseAnonymousBlockChild()
Ryosuke Niwa
Reported
2013-06-10 16:46:57 PDT
Consider merging
https://chromium.googlesource.com/chromium/blink/+/8f76a1a2fefcfdc62e7ca95cc7cd0dc4f4ad346b
The purpose of canCollapseAnonymousBlockChild is to prevent moving non-block children to the parent of the anonymous block. However, when there are no children, we still want to remove the empty block. See
http://trac.webkit.org/changeset/126071
for where the code got added and the new test case for why this matters.
Attachments
Add attachment
proposed patch, testcase, etc.
Christian Biesinger
Comment 1
2013-06-11 12:09:35 PDT
You should hold off on merging that diff; there were issues with it and I reverted it. Working on a better version now.
Christian Biesinger
Comment 2
2013-06-25 16:58:28 PDT
Final version of that patch was
http://src.chromium.org/viewvc/blink?view=revision&revision=152454
, feel free to merge that.
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