mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
d051ffeaed
(transplanted from 2437636244f39bbdc7d20b062e2c978b9d85c239) --HG-- rename : layout/reftests/forms/placeholder/placeholder-14.html => layout/reftests/forms/placeholder/placeholder-18.html extra : transplant_source : %247cbD%F3%9B%BD%C7%D2%0B%06.%2C%97%8B%9D%85%C29
49 lines
1000 B
HTML
49 lines
1000 B
HTML
<!--
|
|
|
|
This test is mostly a copy of layout/forms/crashtests/373586-1.xhtml,
|
|
and it makes sure that the value setter works correctly when setting
|
|
the value causes the frame to be reconstructed.
|
|
|
|
-->
|
|
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
|
<head>
|
|
|
|
<bindings xmlns="http://www.mozilla.org/xbl">
|
|
<binding id="foo">
|
|
<content>
|
|
<children xmlns="http://www.mozilla.org/xbl" />
|
|
</content>
|
|
</binding>
|
|
</bindings>
|
|
|
|
<script>
|
|
function boom()
|
|
{
|
|
document.getElementById("div").style.MozBinding = "url('#foo')";
|
|
|
|
var opt1 = document.getElementById("opt1");
|
|
opt1.removeChild(opt1.firstChild);
|
|
|
|
document.getElementById("textarea").value += " y";
|
|
|
|
document.getElementById("div").style.MozBinding = "";
|
|
document.documentElement.removeAttribute("class")
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body onload="setTimeout(boom, 30);">
|
|
|
|
<div id="div">
|
|
<textarea rows="3" cols="5" id="textarea">x</textarea>
|
|
</div>
|
|
|
|
<select>
|
|
<option id="opt1">opt1</option>
|
|
</select>
|
|
|
|
</body>
|
|
</html>
|
|
|