Skip to content

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=291599 #52017

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions css/css-ui/native-appearance-disabled-for-value-unset.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<title>Native appearance disabled when appearance-disabling property has author-specified value unset</title>
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-disabling-properties">
<link rel="match" href="reference/native-appearance-disabled-for-value-unset-ref.html">
<meta name="assert" content="Widgets with background and border set to `unset` should display the same as if they had background and border set to `initial`">
<style>
body * {
display: block;
background: unset;
border: unset;
}
</style>
</head>
<body>
<h1>Test passes if the following widgets display the same with their background and border set to 'unset' as they do with background and border set to 'initial'</h1>
<button>Button</button>
<meter value='10' min='0' max='100'></meter>
<progress></progress>
<select></select>
<textarea></textarea>
<input type=button>
<input type=checkbox>
<input type=checkbox switch>
<input type=color>
<input type=date>
<input type=datetime-local>
<input type=file>
<input type=month>
<input type=number>
<input type=radio>
<input type=range>
<input type=search>
<input type=submit>
<input type=text>
<input type=time>
<input type=week>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<title>Native appearance disabled when appearance-disabling property has author-specified value unset (reference)</title>
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-disabling-properties">
<meta name="assert" content="Widgets with background and border set to `unset` should display the same as if they had background and border set to `initial`">
<style>
body * {
display: block;
background: initial;
border: initial;
}
</style>
</head>
<body>
<h1>Test passes if the following widgets display the same with their background and border set to 'unset' as they do with background and border set to 'initial'</h1>
<button>Button</button>
<meter value='10' min='0' max='100'></meter>
<progress></progress>
<select></select>
<textarea></textarea>
<input type=button>
<input type=checkbox>
<input type=checkbox switch>
<input type=color>
<input type=date>
<input type=datetime-local>
<input type=file>
<input type=month>
<input type=number>
<input type=radio>
<input type=range>
<input type=search>
<input type=submit>
<input type=text>
<input type=time>
<input type=week>
</body>
</html>