-
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.
Bug 1730136 [wpt PR 30539] - [css-ui] Test 'appearance: auto' on elem…
…ents in non-HTML namespace, a=testonly Automatic update from web-platform-tests [css-ui] Test 'appearance: auto' on elements in non-HTML namespace See w3c/csswg-drafts#6537 and whatwg/html#7004 -- wpt-commits: ec305acf8ade06f8e9c05c75133aed4426c52b62 wpt-pr: 30539
- Loading branch information
1 parent
86063cd
commit e95fae9
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
testing/web-platform/tests/css/css-ui/appearance-auto-non-html-namespace-001.html
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,15 @@ | ||
<!DOCTYPE html> | ||
<title>CSS Basic User Interface Test: appearance: auto on elements in non-HTML namespace</title> | ||
<link rel="match" href="nothing-below-ref.html"> | ||
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching"> | ||
<meta name="assert" content="appearance: auto should have no effect on non-HTML elements."> | ||
<style> | ||
div * { appearance: auto; display: inline-block; width: 1em; height: 1em; } | ||
</style> | ||
<p>There should be nothing below:</p> | ||
<div id=div></div> | ||
<script> | ||
for (var tagName of ['button', 'input', 'meter', 'progress', 'select', 'textarea']) { | ||
div.appendChild(document.createElementNS('not-html', tagName)); | ||
} | ||
</script> |
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,3 @@ | ||
<!DOCTYPE html> | ||
<title>CSS Basic User Interface Reference: nothing below</title> | ||
<p>There should be nothing below:</p> |