Skip to content

Commit

Permalink
Updated border-image-13 test and removed border-image-14 test (#40680)
Browse files Browse the repository at this point in the history
* border-image-14 is replaced by border-image-repeat-round-003
* border-image-13 is renamed, updated metadata, and added a reference
  • Loading branch information
TalbotG authored and OrKoN committed Aug 17, 2023
1 parent 8eb1c14 commit 1ce5ef8
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<head>
<meta charset="utf-8">
<title>
CSS Border and Background: border-image #13 border-image-repeat
CSS Backgrounds and Borders Test: border-image-repeat: repeat (basic)
</title>
<meta name="assert" content="Test for the border-image-repeat property with the value repeat" />

<link rel="author" title="Jérémie Patonnier" href="mailto:jeremie@patonnier.net" / >

<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-image-repeat">
<link rel="author" title="Jérémie Patonnier" href="mailto:jeremie@patonnier.net">
<link rel="match" href="reference/border-image-013-ref.html">
<link rel="help" href="http://www.w3.org/TR/css3-background/#border-image-repeat">

<style type="text/css">

Expand All @@ -29,7 +29,7 @@
<body>

<p>
Pass if the square has borders made of green dots.
Pass if the square has borders made of green dots and <strong>no red</strong>.
</p>

<div id="test"></div>
Expand Down
38 changes: 0 additions & 38 deletions css/css-backgrounds/border-image-14.html

This file was deleted.

88 changes: 88 additions & 0 deletions css/css-backgrounds/reference/border-image-013-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<!DOCTYPE html>

<meta charset="utf-8">

<title>CSS Reference Test</title>

<!--
Author is Chris Nardi
-->

<style>
.borderContainer
{
height: 50px;
position: relative;
width: 50px;
}

.borderContainer > div
{
background-image: url("../support/green-dot.png");
height: 10px;
position: absolute;
width: 10px;
}

.left
{
left: 0px;
}

.left1
{
left: 10px;
}

.left2
{
left: 20px;
}

.left3
{
left: 30px;
}

.right
{
right: 0px;
}

.top
{
top: 0px;
}

.top1
{
top: 10px;
}

.top2
{
top: 20px;
}

.top3
{
top: 30px;
}

.bottom
{
bottom: 0px;
}
</style>

<p>Pass if the square has borders made of green dots and <strong>no red</strong>.

<div class="borderContainer">
<div class="top left"></div><div class="top left1"></div><div class="top left2"></div><div class="top left3"></div><div class="top right"></div>
<div class="left top1"></div><div class="right top1"></div>
<div class="left top2"></div><div class="right top2"></div>
<div class="left top3"></div><div class="right top3"></div>
<div class="bottom left"></div><div class="bottom left1"></div><div class="bottom left2"></div><div class="bottom left3"></div><div class="bottom right"></div>
</div>
Binary file added css/css-backgrounds/support/green-dot.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 1ce5ef8

Please sign in to comment.