[Webkit-unassigned] [Bug 53791] HTMLOutputElement::childrenChanged() should call its base class childrenChanged()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Feb 5 12:13:04 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=53791
--- Comment #3 from Yael <yael.aharon at nokia.com> 2011-02-05 12:13:04 PST ---
This modification actually does change behavior :)
If you run the following without this change, the second alert will show 2 instead of 1.
<!DOCTYPE html>
<html>
<head>
<script>
window.onload=function(){
if (window.layoutTestController)
layoutTestController.dumpAsText();
var list = document.getElementsByTagName("span");
var el = document.getElementById("result");
alert("The number of spans before removal is " + list.length);
document.getElementById("parentOutput").removeChild(document.getElementById("first"));
alert("The number of spans after removal is " + list.length);
}
</script>
</head>
<body>
<output id="parentOutput"><span class="first" id="first"></span><span class="second" id="second"></span></output>
<br>
Test that a live list is updated after the child of an HTMLOutputElement was removed.
<br>
<div id="result"></div>
</body>
</html>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list