Skip to content

use -moz-progress-bar pseudo element for styling <progress> element inner layout - #46974

Open
rayguo17 wants to merge 4 commits into
servo:mainfrom
rayguo17:moz_progress_bar
Open

use -moz-progress-bar pseudo element for styling <progress> element inner layout#46974
rayguo17 wants to merge 4 commits into
servo:mainfrom
rayguo17:moz_progress_bar

Conversation

@rayguo17

@rayguo17 rayguo17 commented Aug 4, 2026

Copy link
Copy Markdown
Member

Use Pseudo element ::-moz-progress-bar for element inner ua widget styling.

Testing: Added appearance test.
Fixes: #46650

Companion Stylo PR: servo/stylo#434

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 4, 2026
Comment thread components/layout/stylesheets/servo.css Outdated
Comment thread tests/wpt/mozilla/meta/MANIFEST.json
Comment thread tests/wpt/mozilla/tests/appearance/progress-determinate.html Outdated

@Loirooriol Loirooriol left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error: WPT manifest is dirty. Run ./mach update-manifest.

It's better to use rev = "refs/pull/434/head" to avoid getting lint failures that can hide actual failures that you do need to address.

@servo-highfive servo-highfive added S-needs-rebase There are merge conflict errors. S-awaiting-review There is new code that needs to be reviewed. and removed S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors. labels Aug 6, 2026
…ayout

Signed-off-by: rayguo17 <tin.tun.aung1@huawei.com>
Signed-off-by: rayguo17 <tin.tun.aung1@huawei.com>
Signed-off-by: rayguo17 <tin.tun.aung1@huawei.com>
@servo-highfive servo-highfive removed the S-needs-rebase There are merge conflict errors. label Aug 8, 2026
Signed-off-by: rayguo17 <tin.tun.aung1@huawei.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<Progress> element does not show progress bar.

3 participants