User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6 When an IFRAME element is placed within a table, embedded within another table, and text is flowed around the embedded table, the first few lines of <pre><code> are indented part way. The number of lines that are affected seems to be proportional to the height of the iframe. On another note, if the <pre><code> is placed directly next to the emedded table, the <pre><code> text overwrites the embedded table. Reproducible: Always Steps to Reproduce:
Created attachment 128867 [details] Testcase without flowed text showing <pre><code> block overwriting table
Please test a recent build; I do not see the misalignment in a current linux trunk build. I do see the overlap, and it seems correct to me (the text can't wrap to flow around the float, since it's pre-formatted).
Comment on attachment 128867 [details] Testcase without flowed text showing <pre><code> block overwriting table This part is invalid.
Attachment #128867 - Attachment is obsolete: true
Confirming bug, 2003-07-27-05 trunk Linux. STEPS TO REPRODUCE: 1. load the first testcase (attachment 128866 [details]) 2. reload ACTUAL BEHAVIOUR: The first few lines of the <PRE> is indented, it looks like it's making room for the <IFRAME> ?
Assignee: table → block-and-inline
Status: UNCONFIRMED → NEW
Component: Layout: Tables → Layout: Block & Inline
Ever confirmed: true
OS: Windows XP → All
QA Contact: madhur → ian
Summary: Preformatted text misaligned after iframe elemtent → Preformatted text misaligned after iframe element
Created attachment 128877 [details] Simplified testcase Note: It seems the bug only occurs when the outer container is TABLE, it does not occur if I change it to DIV for example.
Attachment #128866 - Attachment is obsolete: true
Created attachment 128878 [details] Testcase, simplified some more
Attachment #128877 - Attachment is obsolete: true
Summary: Preformatted text misaligned after iframe element → Preformatted text misaligned after floating element in table
*** Bug 223573 has been marked as a duplicate of this bug. ***
Zooming repairs the layout (CTRL-+ followed by CTRL-0) It seems the problem only occurs within tables.
Assignee: layout.block-and-inline → nobody
QA Contact: ian → layout.block-and-inline
You need to log in before you can comment on or make changes to this bug.