GNOME Bugzilla – Bug 330017
[Patch] <object> and <iframe> tags assign height attributes incorrectly
Last modified: 2006-03-22 02:26:05 UTC
The htmlengine seems to fail in assigning height attributes of <object>s and <iframe>s. Attached patch looks pretty straightforward to me. Any comments?
Created attachment 58767 [details] [review] First try
does this refer and did you test this for both absolute pixel values and proportional values? also see bug 201164...
If this was the question, it refers to bug 328114. I do know 201164 and fortunately do not care about proportional values :) I tested the patch for absolute values (it fixes 328114) and I think (untested) that it should not hurt proportional values (where implemented). IMHO, this is just a typo.
I've confirmed that this patch, when applied to 3.10.0, correctly sets both the height and width fields, instead of leaving the height field as '-1'. Please commit. Note: this bug looks like someone just cut-n-pasted the width handling to make the height handling but forgot to change 'width' to 'height' in those two places.
committed both to cvs head and to gnome-2-14 branch: http://cvs.gnome.org/viewcvs/gtkhtml/src/htmlengine.c?r1=1.644&r2=1.645 http://cvs.gnome.org/viewcvs/gtkhtml/src/htmlengine.c?r1=1.644&r2=1.644.2.1 patch will be included in gtkhtml-3.10.1 and gtkhtml-3.11.x. thanks for the patch and your patience. closing as fixed.