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

Unified Diff: LayoutTests/fast/css/background-size-cover-and-contain-expected.html

Issue 23788011: Round off error while calculating the background-size: contain/cover. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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/css/background-size-cover-and-contain-expected.html
diff --git a/LayoutTests/fast/css/background-size-cover-and-contain-expected.html b/LayoutTests/fast/css/background-size-cover-and-contain-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..cd6b68605912c5a4b338ad2e995e339496082339
--- /dev/null
+++ b/LayoutTests/fast/css/background-size-cover-and-contain-expected.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <body>
+ <div style="width:400px;height:225px;background:url(resources/contain-cover.png) no-repeat center center red;background-size:400px 225px"></div>
+ <div style="width:400px;height:225px;background:url(resources/contain-cover.png) no-repeat center center red;background-size:400px 225px"></div>
+ </html>
« no previous file with comments | « LayoutTests/fast/css/background-size-cover-and-contain.html ('k') | LayoutTests/fast/css/resources/contain-cover.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698