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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-as-formatting-context.html

Issue 1490063002: Implement Paint Containment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge Created 5 years 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-as-formatting-context-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-as-formatting-context.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-as-formatting-context.html b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-as-formatting-context.html
new file mode 100644
index 0000000000000000000000000000000000000000..128a79b33793b501888dae2be3988a258de8f28c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-as-formatting-context.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<style>
+div {
+ height: 100px;
+ width: 100%;
+}
+.container {
+ contain: paint;
+ border: 1px solid black;
+}
+.overhangingContainer {
+ height: 10px;
+}
+.overhangingFloat {
+ float: left;
+}
+</style>
+<body>
+<div class="overhangingContainer"><div class="overhangingFloat"></div></div>
+<div class="container" data-offset-y=108></div>
+<script src="../../../resources/check-layout.js"></script>
+<script>
+checkLayout(".container");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-as-formatting-context-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698