Steps to reproduce: 1. Go to http://webkit.org 2. Open the web inspector 3. Scroll to the top of the inspector so you can see this page's <html> element. Don't click on it. 4. Right click and choose Add Attribute. <rdar://problem/9279698>
Created attachment 90087 [details] proposed fix
Attachment 90087 [details] did not build on mac: Build output: http://queues.webkit.org/results/8474043
Attachment 90087 [details] did not build on win: Build output: http://queues.webkit.org/results/8475045
Created attachment 90111 [details] with build fixes
Comment on attachment 90111 [details] with build fixes I want to fix this differently, and also to split refactoring into a separate patch.
Created attachment 90251 [details] proposed fix
Committed <http://trac.webkit.org/changeset/84297>.
http://trac.webkit.org/changeset/84297 might have broken Qt Linux Release