mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1612606 [wpt PR 7947] - [css-flex] More changes to test suite after review of files, a=testonly
Automatic update from web-platform-tests [css-flex] More changes to test suite after review of files (#7947) * Made more changes based on analysis of tests that were <= 5 tests to a given url hash in flex * Restore assert Co-authored-by: Greg Whitworth <865244+gregwhitworth@users.noreply.github.com> Co-authored-by: Stephen McGruer <stephen.mcgruer@gmail.com> -- wpt-commits: 81a0e680add2d790bc8e0473c2b9407855703b40 wpt-pr: 7947
This commit is contained in:
parent
4e5b272675
commit
5e5cfb69c3
@ -5,10 +5,10 @@
|
||||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#item-margins">
|
||||
<link rel="match" href="reference/negative-margins-001-ref.html">
|
||||
<meta name="assert" content="Tests that for intrinsic size computations,
|
||||
an item will not take up less than zero space even with negative margins.">
|
||||
an item may take up less than zero space when it has negative margins.">
|
||||
<style>
|
||||
.container {
|
||||
width: 60px;
|
||||
width: 40px;
|
||||
background-color: red;
|
||||
line-height: 0px;
|
||||
border: 3px black solid;
|
||||
@ -34,7 +34,7 @@ an item will not take up less than zero space even with negative margins.">
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>You should see a green rectangle with a black border, 60px wide. You should see no red.</p>
|
||||
<p>You should see a green rectangle with a black border, 40px wide. You should see no red.</p>
|
||||
|
||||
<div class="container">
|
||||
<div class="flex">
|
||||
|
@ -4,14 +4,14 @@
|
||||
<link rel="author" title="Google Inc." href="https://www.google.com/">
|
||||
<style>
|
||||
.container {
|
||||
width: 60px;
|
||||
width: 40px;
|
||||
height: 10px;
|
||||
background-color: green;
|
||||
border: 3px black solid;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>You should see a green rectangle with a black border, 60px wide. You should see no red.</p>
|
||||
<p>You should see a green rectangle with a black border, 40px wide. You should see no red.</p>
|
||||
|
||||
<div class="container">
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user