CSS clip causes component not to display.

VERIFIED INVALID

Status

()

P3
normal
VERIFIED INVALID
19 years ago
19 years ago

People

(Reporter: dloria, Assigned: peterl-retired)

Tracking

Trunk
x86
Windows 98
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
Milestone 9.

stylesheet entry:
BODY
{
	background: #000000;
	color: #ffffff;
	font-family: 'Arial', serif;
	font-size: 18px;
	font-style: normal;
	font-weight: normal;
    text-decoration: none;
}
SPAN
{
	background: #0000FF;
	color: #ffffff;
	position: absolute;
	top: 0px;
	left: 0px;
	overflow: hidden;
	visibility: visible;
	z-index: 10;
}
.YH
{
	font-family: 'David','Courier New';
	font-size: 22px;
    color: #ffff00;
	height: 30px;
}
#s2
{
        left: 125px;
	top: 446px;
	width: 390px;
	clip: rect(0,390,20,0);
}

html entry:
<SPAN ID="s2" CLASS="YH">
	Tuesday,11th October 1998
</SPAN>

Removing the clip entry from the style sheet and the text is displayed.
(Assignee)

Comment 1

19 years ago
Per CSS spec. You've specified 'overflow: hidden' and clip offsets that give you
an empty clipping region, so nothing displays.
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → INVALID

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 2

19 years ago
Verified invalid.
You need to log in before you can comment on or make changes to this bug.