Skip to content

Commit

Permalink
[css-grid] More fixes grid-alignment-implies-size-change tests
Browse files Browse the repository at this point in the history
More issues detected on w3c/csswg-drafts#2194.
This time it's fixing the relative path to an image.
The patch copies the 100x100-green.png file under the relative support/ folder
and modifies the paths to it in the tests.
  • Loading branch information
mrego committed Jan 18, 2018
1 parent 549dc64 commit 1f69b42
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-width="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-width="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
</script>
<body onload="runTest()">
<div class="grid" id="grid">
<img data-expected-height="100" id="item" src="../grid-items/support/100x100-green.png"></img>
<img data-expected-height="100" id="item" src="support/100x100-green.png"></img>
</div>
</body>
Binary file added css/css-grid/alignment/support/100x100-green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1f69b42

Please sign in to comment.