mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
[test] sample file for display: none
Custom, non-standard, elements are not handled properly.
This commit is contained in:
parent
bdb47d1879
commit
4af513bbbf
32
test/none.html
Normal file
32
test/none.html
Normal file
@ -0,0 +1,32 @@
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
.hidden { display: none }
|
||||
custom-element { display: none }
|
||||
div { display: none }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form>
|
||||
<p>Enabled</p>
|
||||
<p><button type="submit">button type=submit</button></p>
|
||||
<p><button>button</button></p>
|
||||
<p><input type="submit" value="input type=submit"></p>
|
||||
<p><input type="button" value="input type=button"></p>
|
||||
<p>Disabled</p>
|
||||
<p><button type="submit" disabled>button type=submit</button></p>
|
||||
<p><button disabled>button</button></p>
|
||||
<p><input type="submit" disabled value="input type=submit"></p>
|
||||
<p><input type="button" disabled value="input type=button"></p>
|
||||
<p>Hidden text</p>
|
||||
<p hidden>Paragraph with "hidden" attribute</p>
|
||||
<p style="display: none">Paragraph with display: none inline style</p>
|
||||
<p class="hidden">Paragraph with class="hidden"</p>
|
||||
<custom-element>Custom element with display: none global style</custom-element>
|
||||
<template>Template element</template>
|
||||
<p><button type="submit">button type=submit2</button></p>
|
||||
<div>div with display: none global style</div>
|
||||
<p>The end</p>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user