Commit 9629adb1 authored by Julie Jeongeun Kim's avatar Julie Jeongeun Kim Committed by Commit Bot

[css-flexbox] Move vertical-align-do-not-effect-flex-items.html to WPT

This CL migrates this test out of
third_party/blink/web_tests/css3/flexbox and into the WPT-specific
directory, adding links to the relevant specs and a test assertion
describing its purpose and renames it to
flex-item-vertical-align.html.

Bug: 1063749
Change-Id: I1828355f072ee6c019de79a7ec0e4dafa4555841
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131814
Commit-Queue: David Grogan <dgrogan@chromium.org>
Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755533}
parent 1e43df9f
<!DOCTYPE html> <!DOCTYPE html>
<link href='resources/flexbox.css' rel='stylesheet'> <link href="support/flexbox.css" rel="stylesheet">
<title>CSS Flexbox: vertical-align on a flex item</title>
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-containers">
<link rel="help" href="https://drafts.csswg.org/css-inline/#propdef-vertical-align">
<link rel="match" href="reference/flex-item-vertical-align-ref.html">
<meta name="assert" content="vertical-align should have no effect on a flex item, i.e. flex items' content should not be shifted by the vertical-align.">
<style> <style>
.flexbox { .flexbox {
...@@ -13,9 +18,6 @@ ...@@ -13,9 +18,6 @@
} }
</style> </style>
<p>This test checks that vertical-align should have no effect on a flex item
i.e flex items' content should not be shifted by the vertical-align</p>
<div class='flexbox'> <div class='flexbox'>
<!-- flex item: block child --> <!-- flex item: block child -->
<div id='item1'>block</div> <div id='item1'>block</div>
......
<!DOCTYPE html> <!DOCTYPE html>
<link href='resources/flexbox.css' rel='stylesheet'> <link href="../support/flexbox.css" rel="stylesheet">
<style> <style>
.flexbox { .flexbox {
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
} }
</style> </style>
<p>This test checks that vertical-align should have no effect on a flex item
i.e flex items' content should not be shifted by the vertical-align</p>
<div class='flexbox'> <div class='flexbox'>
<!-- flex item: block child --> <!-- flex item: block child -->
<div>block</div> <div>block</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment