summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-absolute-position-expected.html
diff options
context:
space:
mode:
authorleviw <leviw@chromium.org>2015-12-14 22:20:14 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-15 06:21:17 +0000
commit472398196d9109be16d13f3af4e8c423ce45d2e3 (patch)
tree2df9293326eadbf5937f943d65526348069c93da /third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-absolute-position-expected.html
parentebf7a6b19a7a468195a5606fbd2bbd6d07a26ea2 (diff)
downloadchromium_src-472398196d9109be16d13f3af4e8c423ce45d2e3.zip
chromium_src-472398196d9109be16d13f3af4e8c423ce45d2e3.tar.gz
chromium_src-472398196d9109be16d13f3af4e8c423ce45d2e3.tar.bz2
Implement Paint Containment
Paint containment acts as a containing block for all objects, including fixed. It also clips them. It's also a formatting context and a stacking context. The approach in this patch differs from the spec in one very notable way: it does not mess with the computed style of the overflow property. This is a conscious decision I hope to work with Tab to address. Paint Containment description from spec: https://drafts.csswg.org/css-containment/#containment-paint Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/9W80Kw-z3ss BUG=561713 Review URL: https://codereview.chromium.org/1490063002 Cr-Commit-Position: refs/heads/master@{#365178}
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-absolute-position-expected.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-absolute-position-expected.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-absolute-position-expected.html b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-absolute-position-expected.html
new file mode 100644
index 0000000..b880446
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-absolute-position-expected.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 100px;
+ height: 100px;
+ background-color: green;
+}
+</style>
+<body>
+<div></div> \ No newline at end of file