mirror of
https://github.com/servo/servo.git
synced 2025-07-29 10:10:34 +01:00
Media UI basic functionality
This commit is contained in:
parent
1c02fc94a8
commit
a664449681
10 changed files with 420 additions and 35 deletions
|
@ -116,7 +116,11 @@ impl HTMLStyleElement {
|
|||
.upcast::<Node>()
|
||||
.containing_shadow_root() {
|
||||
if shadow_root.is_user_agent_widget() {
|
||||
(ServoUrl::parse(&format!("chrome://{:?}", window.get_url().to_string())).unwrap(), Origin::UserAgent)
|
||||
(
|
||||
ServoUrl::parse(&format!("chrome://{:?}", window.get_url().to_string()))
|
||||
.unwrap(),
|
||||
Origin::UserAgent,
|
||||
)
|
||||
} else {
|
||||
(window.get_url(), Origin::Author)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue