- Notifications
You must be signed in to change notification settings - Fork 3.3k
/
Copy pathkind-of-widget-fallback-checkbox-input-border-end-start-radius-001.html
30 lines (28 loc) · 1.25 KB
/
kind-of-widget-fallback-checkbox-input-border-end-start-radius-001.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!-- DO NOT EDIT. This file has been generated. Source:
../tools/build-compute-kind-widget-fallback-props.py
-->
<!DOCTYPE html>
<metacharset="utf-8">
<title>CSS Basic User Interface Test: Compute kind of widget: border-end-start-radius maybe disables native appearance for checkbox-input</title>
<linkrel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-disabling-properties">
<linkrel="help" href="https://html.spec.whatwg.org/#widgets">
<metaname="assert" content="appropriate widget is used when props includes border-end-start-radius.">
<linkrel="match" href="../compute-kind-widget-fallback-checkbox-input-ref.html">
<style>
#container { width:500px; }
#container>#search-text-input { appearance: textfield; }
#container>#select-menulist-button { appearance: none; appearance: menulist-button; }
</style>
<divid="container">
<inputid="checkbox-input" type="checkbox">
</div>
<script>
// Set author-level CSS that matches UA style, but don't use the 'revert' value.
constelements=document.querySelectorAll('#container > *');
constprops="border-end-start-radius".split(",");
for(constelofelements){
for(constpropofprops){
el.style.setProperty(prop,getComputedStyle(el).getPropertyValue(prop));
}
}
</script>