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

Unified Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/background-size-document-root-vrl-004.html

Issue 1157103007: update-w3c-deps import using blink b712b6ce0eb599d90d890aa609f596c7852fb824 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Skip swfsoures Created 5 years, 6 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/imported/csswg-test/css-writing-modes-3/background-size-document-root-vrl-004.html
diff --git a/LayoutTests/imported/csswg-test/css-writing-modes-3/background-size-document-root-vrl-004.html b/LayoutTests/imported/csswg-test/css-writing-modes-3/background-size-document-root-vrl-004.html
new file mode 100644
index 0000000000000000000000000000000000000000..9a3342969d030f23ca1441ea47d84569ab693aac
--- /dev/null
+++ b/LayoutTests/imported/csswg-test/css-writing-modes-3/background-size-document-root-vrl-004.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+
+<html>
+
+ <head>
+
+ <meta charset="UTF-8">
+
+ <title>CSS Writing Modes Test: 'background-size: 100%' filling padding-box of document root element</title>
+
+ <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com">
+ <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2015-05-01 -->
+ <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#physical-only" title="7.6 Purely Physical Mappings">
+ <link rel="match" href="background-size-document-root-vrl-002-ref.xht">
+
+ <meta name="flags" content="image">
+ <meta name="assert" content="Test checks that 'background-size: 100% 100%' applied for the html root element will make the background-image fill the padding-box of the document box. Since 'background-color' is 'transparent' and since 'background-repeat' is set to 'no-repeat', then only the padding-box of the document root box should be painted green and such padding-box should start at top-right corner of canvas because 'writing-mode' is set to 'vertical-rl'.">
+
+ <style>
+ img
+ {
+ margin-left: 100px;
+ }
+
+ iframe
+ {
+ border: transparent 0px none;
+ height: 100px;
+ vertical-align: top;
+ width: 200px;
+ }
+
+ img#reference-overlapped-red
+ {
+ bottom: 100px;
+ position: relative;
+ z-index: -1;
+ }
+ </style>
+ </head>
+
+ <body>
+
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+
+ <div><iframe src="support/embedded-doc-for-background-size-root-vrl-004.html">This test requires an user agent with capability to embed an HTML document thanks to the HTML &lt;iframe&gt; element.</iframe></div>
+
+ <div><img id="reference-overlapped-red" src="support/100x100-red.png" alt="Image download support must be enabled"></div>
+
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698