mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 04:05:32 +00:00
a9221913fd
Currently these two test cases don't fail either on gecko or stylo even if the patches in this patch series are not applied, but will fail once the patch for bug 1374175 (i.e. not returning reconstruction damage from compute_style_difference in some cases) landed without this patch series on stylo. That means that, on stylo, reconstruction of details element on removing child summary triggered by RecreateFramesForContent in MaybeRecreateContainerForFrameRemoval has not worked well. MozReview-Commit-ID: El6p0UwWaJb --HG-- extra : rebase_source : 4f06423f8a23a3d430b7a0d22ff07c316f3e633d
27 lines
739 B
HTML
27 lines
739 B
HTML
<!DOCTYPE html>
|
|
<!-- Any copyright is dedicated to the Public Domain.
|
|
- http://creativecommons.org/publicdomain/zero/1.0/ -->
|
|
|
|
<html class="reftest-wait">
|
|
<script>
|
|
function runTest() {
|
|
var details1 = document.getElementById("details1");
|
|
var summary2 = document.getElementById("summary2");
|
|
|
|
details1.insertBefore(summary2, details1.children[0]);
|
|
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
</script>
|
|
<body onload="runTest();">
|
|
<details id="details1">
|
|
<summary>Summary 1</summary>
|
|
<p>This is the details 1.</p>
|
|
</details>
|
|
<details>
|
|
<summary id="summary2" style="position: absolute;">Summary 2</summary>
|
|
<p>This is the details 2.</p>
|
|
</details>
|
|
</body>
|
|
</html>
|