Closed
Bug 6110
Opened 26 years ago
Closed 25 years ago
bullets on left edge of screen not repainted away after style sheet toggle
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
M11
People
(Reporter: ekrock, Assigned: peterl-retired)
References
()
Details
Open the above URL in M5 on NT. Click the "Toggle Style" 3-4 times. You'll
notice that the bullet disks which are displayed in the simple textish style
do not disappear completely when you toggle to the other style. The left halves
of the bullets, which are not overlapped by the boxes in the other style,
remain. They should be repainted away and disappear.
Kevin -- I think that this is a rendering issue (so it goes to you instead of
patrick, right?) If it turns out to be style, forward to peterl.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M7
Comment 2•26 years ago
|
||
Looks like a clipping issue. The bullets are only painted where the bounding box
of the second style intersects them.
Updated•26 years ago
|
Target Milestone: M7 → M8
Updated•26 years ago
|
Target Milestone: M8 → M9
Updated•26 years ago
|
Target Milestone: M9 → M10
Comment 3•26 years ago
|
||
Moving to M10
Comment 4•26 years ago
|
||
Tried it with Aug 25, 1999 10:00 am build. It doesn't respond to hitting the
toggle button unless the page is reloaded at least once. It toggles after this
but bullets are not displayed at all. Trying to do a view source causes viewer
to crash.
Updated•26 years ago
|
Target Milestone: M10 → M11
Comment 5•26 years ago
|
||
Moving to M11
Comment 6•26 years ago
|
||
Filed a separate bug on the view source crash bug# 13063. I was able to get to
display with a Sept 2, 1999, 11:00 am build. There aren't any bullets showing at
all.
Updated•25 years ago
|
Assignee: kmcclusk → peterl
Status: ASSIGNED → NEW
Comment 7•25 years ago
|
||
The list.css referenced by flights.xml does not set a margin. It only sets up
padding. The bullet is rendered in the margin so there isn't any space for it.
That's why it doesn't appear.
Created a simplier test case.
<HTML>
<LINK REL=STYLESHEET TYPE="text/css" HREF="nomargin.css">
<LINK REL=STYLESHEET TYPE="text/css" HREF="margin.css">
<SCRIPT language="JavaScript">
function usestyle(styletype)
{
for (i = 0; i < 2; i++) {
if (styletype != i)
document.styleSheets[i].disabled = true;
else
document.styleSheets[i].disabled = false;
}
}
</SCRIPT>
<BODY>
<P>this is item 1 </P>
<P>this is item 2 </P>
<P>this is item 3 </P>
<P style="display:list-item;">this is item 4 </P>
<FORM>
<INPUT type=button onclick="usestyle(0)" value="No Margin">
<INPUT type=button onclick="usestyle(1)" value="Has Margin">
</FORM>
</BODY>
</HTML>
margin.css contains the following:
P { display:list-item;
color:red;
list-style-type:square;
margin-left:10px;
padding-left:0px;
}
nomargin.css contains the following:
P { display:list-item;
color:blue;
list-style-type:block;
margin-left:0px;
padding-left:20px;
}
The test case above works. It correctly invalidates the region where the bullets
are drawn when the nomargin button is clicked on.
Talking to Peter the orginal problems sounds like a general problem with
invalidating the area's outside the frames bounding box. He already has bugs
filed for this, so this is probably a duplicate. The test case above works, so
he may have already fixed the problem.
Reassigning to peter
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 8•25 years ago
|
||
Can't reproduce the problem. Though no bullets appear at all now.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 9•25 years ago
|
||
Can't reproduce the problem as described in the original description. I don't see
any bullet items when toggling between the styles.
You need to log in
before you can comment on or make changes to this bug.
Description
•