Closed
Bug 113327
Opened 23 years ago
Closed 22 years ago
opacity and overflow 'auto' destroy scrollbar
Categories
(Core Graveyard :: GFX, defect, P4)
Core Graveyard
GFX
Tracking
(Not tracked)
RESOLVED
WORKSFORME
Future
People
(Reporter: edward.shroyer, Assigned: dcone)
Details
(Keywords: perf, testcase)
Attachments
(2 files, 1 obsolete file)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.6) Gecko/20011120
BuildID: 2001112009
The scrollbar is not useable when an overflow generates it in a script generated
div and the opacity is not set to 100%. See example below.
Reproducible: Always
Steps to Reproduce:
HTML and script included produces two identical elements except for opacity.
1. Load the page.
2. Use the scrollbar with 100% opacity.
3. Use the scrollbar with 99% opacity.
Actual Results: Scrollbar had badly degraded functionality.
Expected Results: Scrollbar should act like a scrollbar.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Demo opacity bug</title>
<script type="text/javascript">
function create_console(opacity) {
var ConsoleElement = document.createElement("DIV");
with (ConsoleElement.style){
MozOpacity=opacity + "%"; width = "200px"; height = "200px";
border="solid black"; overflow="auto";
}
document.body.appendChild(ConsoleElement);
ConsoleElement.appendChild(document.createTextNode(""));
for (var i = 0, LineNumber = 0; i < 30; i++, LineNumber++){
var NewLine = document.createElement("DIV");
NewLine.appendChild(document.createTextNode(LineNumber + ": " + 'Opacity: ' +
opacity));
ConsoleElement.appendChild(NewLine);
}
}
</script>
</head>
<body onload="create_console(100);create_console(99)"></body>
</html>
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
Not a dom bug. Over to compositor.
Assignee: jst → kmcclusk
Status: UNCONFIRMED → NEW
Component: DOM Style → Compositor
Ever confirmed: true
OS: Windows 2000 → All
QA Contact: ian → petersen
Hardware: PC → All
Updated•23 years ago
|
Target Milestone: --- → mozilla1.0.1
Comment 4•23 years ago
|
||
Bulk moving Mozilla1.01 bugs to future-P1. I will pull from the future-P1 list
to schedule bugs for post Mozilla1.0 milestones
Priority: -- → P1
Target Milestone: mozilla1.0.1 → Future
Comment 5•22 years ago
|
||
Looks like a perf problem when alpha compositing.
->dcone
Comment 6•22 years ago
|
||
Updated testcase since Mozilla no longer supports % values for opacity.
WFM 2003042412 Windows 2000.
Though I noticed another bug, when you select one line (on the div using
opacity) and move the mouse cursor down without releasing button to select the
rest, the scrollbar stops working after that. But thats another bug.
Updated•22 years ago
|
Attachment #60256 -
Attachment is obsolete: true
Comment 7•22 years ago
|
||
Using trunk build 2003042508 I discovered the same.
Concerning your finding:
"Though I noticed another bug, when you select one line (on the div using
opacity) and move the mouse cursor down without releasing button to select the
rest, the scrollbar stops working after that. But thats another bug."
I see that after that nothing at all is any longer selectable and both
scrollbars stop to work.
Comment 8•22 years ago
|
||
So marking WFM
Jose will file a new bug about the problem described.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Comment 9•22 years ago
|
||
FYI, filed bug 203910, not sure if I selected the correct component though.
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•