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

Unified Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-snap-size-1/snap-height-center-001.html

Issue 1703343002: Import csswg-test@83cd50a9a99bb6ef2a98de73e9b7e22f717e2b84 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/LayoutTests/imported/csswg-test/css-snap-size-1/snap-height-center-001.html
diff --git a/third_party/WebKit/LayoutTests/imported/csswg-test/css-snap-size-1/snap-height-center-001.html b/third_party/WebKit/LayoutTests/imported/csswg-test/css-snap-size-1/snap-height-center-001.html
new file mode 100644
index 0000000000000000000000000000000000000000..4437e9d13118ba7a5b5f2becba728a05d010bdfb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/csswg-test/css-snap-size-1/snap-height-center-001.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<title>CSS Snap Size: snap-height center</title>
+<link rel="author" title="Koji Ishii" href="kojiishi@gmail.com">
+<link rel="help" href="https://drafts.csswg.org/css-snap-size/#snap-height">
+<link rel="match" href="reference/snap-height-center-001.html">
+<meta name="assert" content="This test asserts the snap-height property rounds up line box height.">
+<meta name="flags" content="ahem">
+<style>
+div {
+ font-family: Ahem;
+ font-size: 40px;
+}
+.test, .ref {
+ display: inline-block;
+ vertical-align: top;
+ width: 5em;
+}
+.test {
+ line-height: 40px;
+ snap-height: 60px;
+}
+.ref {
+ line-height: 60px;
+}
+</style>
+<p class="instructions" style="display:none">Test passes if left and right are the same.
+<div class="ref">
+ <div>XXXXX</div>
+ <div>XXXXX XXXXX XXXXX</div>
+ <div><br>X<br>X</div>
+</div>
+<div class="test">
+ <div>XXXXX</div>
+ <div>XXXXX XXXXX XXXXX</div>
+ <div><br>X<br>X</div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698