Closed Bug 205243 Opened 23 years ago Closed 22 years ago

Nested div with CSS position make a unrefrashable blank

Categories

(Core :: Web Painting, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: s1323022, Assigned: roc)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 Nested div with CSS position make a unrefrashable blank Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: like this: <html:pre> ___ ====== ===| | ====== ===|___|<-blank(unrefrashable) </html:pre> Expected Results: <html:pre> ====== ====== ====== ====== </html:pre> html source: <body> <div class="head"> <div class="booktitle">book <div class="d1">book</div> <div class="d2">book</div> </div> <div class="chaptertitle">chaptertitle <div class="d1">chaptertitle</div> <div class="d2">chaptertitle</div> </div> </div> CSS: div.head { font-size:larger; font-weight:bold; } div.head>div.booktitle { display:block; position:fixed; width:20%; top:0; background-color:black; color:white; } div.head>div.chaptertitle { display:block; position:fixed; width:20%; left:80%; top:0; background-color:black; color:white; text-align:right; } div.chaptertitle>div.d1 { position:relative; left:-4ex; top:-1.5ex; color:lightgray; } div.chaptertitle>div.d2 { position:relative; left:-6ex; top:-2ex; color:darkgray; margin-bottom:0; } div.booktitle>div.d1 { position:relative; left:4ex; top:-1.5ex; color:lightgray; } div.booktitle>div.d2 { position:relative; left:6ex; top:-2ex; color:darkgray; margin-bottom:0; }
Which divs are the problem? The fixed-pos ones, or the rel-pos ones?
Assignee: block-and-inline → roc+moz
Component: Layout: Block & Inline → Layout: View Rendering
I see no painting problems on that testcase, and there has been no response to my question... Marking worksforme, but please do reopen if this is still a problem.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: