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

Unified Diff: LayoutTests/fast/css/background-size-cover-and-contain.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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/css/background-size-cover-and-contain-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/background-size-cover-and-contain.html
diff --git a/LayoutTests/fast/css/background-size-cover-and-contain.html b/LayoutTests/fast/css/background-size-cover-and-contain.html
new file mode 100644
index 0000000000000000000000000000000000000000..ecc2ec5cef318412dc6e4af3bd1e13f76e0029d9
--- /dev/null
+++ b/LayoutTests/fast/css/background-size-cover-and-contain.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:contain"></div>
+ <div style="width:400px;height:225px;background:url(resources/contain-cover.png) no-repeat center center red;background-size:cover"></div>
+ </html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/css/background-size-cover-and-contain-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698