Closed Bug 109664 Opened 23 years ago Closed 21 years ago

<blockquote> doesn't get indent when a tall floater wider than 40px is present

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: bugs, Assigned: attinasi)

References

()

Details

(Whiteboard: WONTFIX?)

Blockquoted paragraphs are rendered incorrectly when placed beside a table that
is aligned to the left. Please refer to the demonstration URL. Tested with
Mozilla 0.9.5 and a later CVS version (2001-11-08).

Netscape 4.77 renders the blockquoted paragraph correctly! Konqueror 2.2.1
reduces the width of the paragraph but doesn't indent it from the left.

Regards,
Adam Warner
Is this a table or layout bug?  Sending off to HTMLTables for triage.
Assignee: asa → karnaze
Component: Browser-General → HTMLTables
QA Contact: doronr → amar
I have revised the example to clarify that the bug occurs outside any HTML
tables (an HTML table is needed on the left to reproduce the bug).

Regards,
Adam Warner
Changing bug summary, ->Layout. Reporter: note that you may wish to avoid
<blockquote> and use CSS to get indenting effects.
Assignee: karnaze → attinasi
Status: UNCONFIRMED → NEW
Component: HTMLTables → Layout
Ever confirmed: true
QA Contact: amar → petersen
Summary: <blockquote> rendering bug with demonstration code → <blockquote> doesn't get indent when wrapping
If there is _any_ bug here it's in how we implement <blockquote> in terms of
CSS.  The reason <blockquote> has an indent is the following rule in html.css:

blockquote {
  display: block;
  margin: 1em 40px;
}

This gives <blockquote> a 40px margin on the left and on the right.

In this case, the floating table is wider than that margin and thus overlaps the
content area of the blockquote (put a border on the blockquote to see this). 
The line boxes take the floater into account but don't put any additional space
between the floater and the text, nor should they.

The heart of the problem here is that there is no generic way, as far as I can
tell, to express the behavior Adam wants in terms of CSS rules on the
<blockquote>.  Note that we basically use the style recommended by the CSS2
HTML4.0 stylesheet at http://www.w3.org/TR/REC-CSS2/sample.html.  I'm fairly
certain Konqueror is doing the same thing we are, which is why the rendering is
similar there...
Summary: <blockquote> doesn't get indent when wrapping → <blockquote> doesn't get indent when a tall floater wider than 40px is present
Target Milestone: --- → Future
Whiteboard: WONTFIX?
No duplicates in almost 2 years, and the reasoning in comment #4 seems generally
sound.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.