Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: LayoutTests/fast/overflow/layout-overflow-not-affected-by-visual-overflow.html

Issue 959643002: Remove the overflowchanged event with a runtime flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/overflow/layout-overflow-not-affected-by-visual-overflow.html
diff --git a/LayoutTests/fast/overflow/layout-overflow-not-affected-by-visual-overflow.html b/LayoutTests/fast/overflow/layout-overflow-not-affected-by-visual-overflow.html
deleted file mode 100644
index 2b49126655f47e289934bb831701f90d0764834e..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/overflow/layout-overflow-not-affected-by-visual-overflow.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<p>
- This tests that layout overflow is computed correctly, even if the element
- is not near the top-left corner of its ancestors and has visual overflow.
- See crbug.com/254002.
-</p>
-<p id="result">PASS</p>
-<div id="test"></div>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- document.getElementById('test').addEventListener('overflowchanged', function(e) {
- // This element has no children. How could it possibly have layout overflow?
- if (e.verticalOverflow || e.horizontalOverflow)
- document.getElementById('result').innerHTML = 'FAIL';
- }, false /* capture */);
-</script>
-<style>
- #test {
- width: 100px;
- height: 100px;
- background: yellow;
- overflow: hidden;
- box-shadow: 0px 0px 0px 1px #000; /* causes visual overflow */
- }
-</style>

Powered by Google App Engine
This is Rietveld 408576698