forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-ui] outline-width is ignored when outline-style is auto
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!doctype html> | ||
<html lang=en> | ||
<meta charset=utf-8> | ||
<title>CSS-UI test: Outline width and auto style</title> | ||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net"> | ||
<meta name=flags content=""> | ||
<meta name=assert content="outline-width is ignored when outline-style is auto"> | ||
<link rel=help href="https://drafts.csswg.org/css-ui-4/#outline-style"> | ||
<link rel="match" href="reference/outline-auto-with-001-ref.html"> | ||
<style> | ||
div { | ||
outline-style: auto; | ||
outline-width: 100px; | ||
width: 100px; | ||
height: 100px; | ||
margin: 1em; | ||
} | ||
div + div { | ||
outline-width: 0; | ||
} | ||
</style> | ||
|
||
<p>Test passes if there are two identical box frames below. | ||
|
||
<div></div> | ||
<div></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!doctype html> | ||
<html lang=en> | ||
<meta charset=utf-8> | ||
<title>CSS-UI test reference</title> | ||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net"> | ||
<style> | ||
div { | ||
outline-style: auto; | ||
width: 100px; | ||
height: 100px; | ||
margin: 1em; | ||
} | ||
</style> | ||
|
||
<p>Test passes if there are two identical box frames below. | ||
|
||
<div></div> | ||
<div></div> |