Closed
Bug 108665
Opened 23 years ago
Closed 21 years ago
js onClick at image for changing <br> does work only after resize
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
People
(Reporter: diethelms, Unassigned)
References
()
Details
(Keywords: testcase, Whiteboard: [bae:20011126][HTML4-9.3.2.1])
Attachments
(1 file, 1 obsolete file)
(deleted),
text/html
|
Details |
<html><head><title>Test</title>
</head><body>
<img src="../../../src/logo.gif" width="106" height="109" border="0"
align="left"
alt="Logo" onClick="document.getElementById('Umbruch').clear='all'">
Dieser Text fliesst um das Logo herum,
weil dies im align-Attribut des Logos so angegeben ist.<br id="Umbruch">
Gilt das auch bei diesem Text?
</body></html>
If you run this in Internetexplorer, the last part of the text is diaplayed
below the image. In Mozilla, there is no reaction until you resize the browser
window.
Comment 1•23 years ago
|
||
The DOM is correctly generating a REFLOW style hint on this change (see
nsHTMLBRElement::GetMappedAttributeImpact). However, the reflow is not being
performed correctly. I tried changing that style hint, and I have to set it to
NS_STYLE_HINT_RECONSTRUCT_ALL to make this bug go away (a possible short-term
solution to the problem, but seems like a hack).
The problem would seem to be on the reflow end of things.
Assignee: asa → attinasi
Status: UNCONFIRMED → NEW
Component: Browser-General → Layout
Ever confirmed: true
OS: Windows 2000 → All
QA Contact: doronr → petersen
Hardware: PC → All
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
Works for me using 2001111903 build on WINNT.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Target Milestone: --- → mozilla1.1
Comment 4•23 years ago
|
||
Attachment #56711 -
Attachment is obsolete: true
Comment 5•23 years ago
|
||
reopening. The <button> testcase seems to be reflowing correctly, but one using
an image still is not, so the original problem persists
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 6•23 years ago
|
||
confirm issue using build from 2001112603
Keywords: testcase
Whiteboard: [bae:20011126]
Reporter | ||
Comment 7•22 years ago
|
||
The problem still exists, using build 2002112008. Testcase:
http://selfhtml.teamone.de/javascript/objekte/anzeige/htmlelemente_br.htm
Comment 8•22 years ago
|
||
.
Assignee: attinasi → other
Status: REOPENED → NEW
QA Contact: cpetersen0953 → ian
Target Milestone: mozilla1.1alpha → ---
Comment 9•21 years ago
|
||
->Block & Inline
Assignee: other → block-and-inline
Component: Layout → Layout: Block & Inline
Whiteboard: [bae:20011126] → [bae:20011126][HTML4-9.3.2.1]
Comment 10•21 years ago
|
||
*** This bug has been marked as a duplicate of 69518 ***
Status: NEW → RESOLVED
Closed: 23 years ago → 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•