mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #9586 - notriddle:details_ui, r=SimonSapin
Details ui Requires a patch to rust-selectors, and doesn't currently recalculate the styles correctly (which is needed to make actual toggling work correctly). Still trying to figure out what it takes to get style recalc to do what this needs. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9586) <!-- Reviewable:end -->
This commit is contained in:
commit
090da52913
13 changed files with 294 additions and 27 deletions
|
@ -5416,6 +5416,30 @@
|
|||
"url": "/_mozilla/mozilla/canvas/drawimage_html_image_9.html"
|
||||
}
|
||||
],
|
||||
"mozilla/details_ui_closed.html": [
|
||||
{
|
||||
"path": "mozilla/details_ui_closed.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/mozilla/details_ui_closed_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/mozilla/details_ui_closed.html"
|
||||
}
|
||||
],
|
||||
"mozilla/details_ui_opened.html": [
|
||||
{
|
||||
"path": "mozilla/details_ui_opened.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/mozilla/details_ui_opened_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/mozilla/details_ui_opened.html"
|
||||
}
|
||||
],
|
||||
"mozilla/iframe/resize_after_load.html": [
|
||||
{
|
||||
"path": "mozilla/iframe/resize_after_load.html",
|
||||
|
@ -11652,6 +11676,30 @@
|
|||
"url": "/_mozilla/mozilla/canvas/drawimage_html_image_9.html"
|
||||
}
|
||||
],
|
||||
"mozilla/details_ui_closed.html": [
|
||||
{
|
||||
"path": "mozilla/details_ui_closed.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/mozilla/details_ui_closed_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/mozilla/details_ui_closed.html"
|
||||
}
|
||||
],
|
||||
"mozilla/details_ui_opened.html": [
|
||||
{
|
||||
"path": "mozilla/details_ui_opened.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/mozilla/details_ui_opened_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/mozilla/details_ui_opened.html"
|
||||
}
|
||||
],
|
||||
"mozilla/iframe/resize_after_load.html": [
|
||||
{
|
||||
"path": "mozilla/iframe/resize_after_load.html",
|
||||
|
|
9
tests/wpt/mozilla/tests/mozilla/details_ui_closed.html
Normal file
9
tests/wpt/mozilla/tests/mozilla/details_ui_closed.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<link rel="match" href="details_ui_closed_ref.html">
|
||||
<details>
|
||||
<summary>Test</summary>
|
||||
Contents
|
||||
</details>
|
||||
|
12
tests/wpt/mozilla/tests/mozilla/details_ui_closed_ref.html
Normal file
12
tests/wpt/mozilla/tests/mozilla/details_ui_closed_ref.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<style>
|
||||
#s { display: list-item; list-style: disclosure-closed; margin-left: 40px }
|
||||
#c { display: none }
|
||||
</style>
|
||||
<div id=d>
|
||||
<div id=s>Test</div>
|
||||
<div id=c>Contents</div>
|
||||
</div>
|
||||
|
9
tests/wpt/mozilla/tests/mozilla/details_ui_opened.html
Normal file
9
tests/wpt/mozilla/tests/mozilla/details_ui_opened.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<link rel="match" href="details_ui_opened_ref.html">
|
||||
<details open>
|
||||
<summary>Test</summary>
|
||||
Contents
|
||||
</details>
|
||||
|
12
tests/wpt/mozilla/tests/mozilla/details_ui_opened_ref.html
Normal file
12
tests/wpt/mozilla/tests/mozilla/details_ui_opened_ref.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<style>
|
||||
#s { display: list-item; list-style: disclosure-open; margin-left: 40px }
|
||||
#c { margin-left: 40px }
|
||||
</style>
|
||||
<div id=d>
|
||||
<div id=s>Test</div>
|
||||
<div id=c>Contents</div>
|
||||
</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue