Bug 1005405 - Ensure that multiple frame changes coalesce correctly. r=dbaron

- When a parent frame and its child overflow are changed simultaneously,
  the strongest ChangeType should be cascaded up to the parent frames.
This commit is contained in:
Kearwood (Kip) Gilbert 2014-05-06 15:02:00 +02:00
Родитель ae2d46fb74
Коммит 730000b4b5
3 изменённых файлов: 32 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<body>
<table id="thetable" width="150" style="top: 0px; position: relative;">
<tbody id="thebody">
<tr>
<td>Hello</td>
</tr>
</tbody>
</table>
</body>
</html>

Просмотреть файл

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html class="reftest-wait">
<body>
<table id="thetable" width="150" style="top: -100px; position: relative;">
<tbody id="thebody">
<tr>
<td>Hello</td>
</tr>
</tbody>
</table>
<script>
function doTest() {
document.getElementById("thetable").style.top="0px";
document.documentElement.className = "";
}
document.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</body>
</html>

Просмотреть файл

@ -1809,3 +1809,4 @@ skip-if(Android) == 966510-2.html 966510-2-ref.html # same as above
== 987680-1.html 987680-1-ref.html
fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,24) == 991046-1.html 991046-1-ref.html
pref(layout.css.overflow-clip-box.enabled,true) == 992447.html 992447-ref.html
pref(layout.css.sticky.enabled,true) == 1005405-1.html 1005405-1-ref.html