mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
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:
parent
ae2d46fb74
commit
730000b4b5
12
layout/reftests/bugs/1005405-1-ref.html
Normal file
12
layout/reftests/bugs/1005405-1-ref.html
Normal file
@ -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>
|
19
layout/reftests/bugs/1005405-1.html
Normal file
19
layout/reftests/bugs/1005405-1.html
Normal file
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user