mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Implement the <progress> element (#35531)
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
e956f0c5af
commit
1990f04e38
3 changed files with 119 additions and 4 deletions
|
@ -340,4 +340,19 @@ details > summary:first-of-type {
|
|||
}
|
||||
details[open] > summary:first-of-type {
|
||||
list-style-type: disclosure-open;
|
||||
}
|
||||
}
|
||||
|
||||
/* Styles for the <progress> element */
|
||||
progress {
|
||||
display: inline-block;
|
||||
width: 200px;
|
||||
height: 6px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
/* FIXME: This should use ::-moz-progress-bar */
|
||||
progress #-servo-progress-bar {
|
||||
display: block;
|
||||
height: 100%;
|
||||
background-color: #7a3;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue