Closed Bug 10415 Opened 25 years ago Closed 25 years ago

style.visibility not reflowing properly

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 5458

People

(Reporter: jrohlf, Assigned: peterl-retired)

Details

in m7 and m8 the following does not display the text unless the
initial visibility value is "visible". Setting the visibility in
init() seems to properly update the stylecontext but I suspect
reflow does not recognize that the div's parent now has a
newly visible child.

<html>
<script>
function init()
{
  bug = document.getElementById("bug");
  bug.style.visibility = "visible";

}
</script>
<body TEXT="ffffff" BGCOLOR="000000" onLoad="init()">
<div id="bug" style="position:absolute; visibility:hidden">
Where am I?
</div>
</body>
</html>
Assignee: troy → peterl
Component: Layout → Style System
Peter, I'm assuming this is a style issue, but if not shoot it back to me
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 5458 ***
Status: RESOLVED → VERIFIED
Agreed. This is a duplicate of 5458.
You need to log in before you can comment on or make changes to this bug.