Implement the <progress> element (#35531)

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-02-26 11:14:20 +01:00 committed by GitHub
parent e956f0c5af
commit 1990f04e38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 119 additions and 4 deletions

View file

@ -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;
}