mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Anchor controls inside bottom of video element
This commit is contained in:
parent
8a4d54af0b
commit
9496dff529
3 changed files with 27 additions and 17 deletions
|
@ -1725,9 +1725,7 @@ impl HTMLMediaElement {
|
|||
}
|
||||
|
||||
fn render_controls(&self) {
|
||||
println!("render_controls");
|
||||
// XXX cannot render controls while parsing.
|
||||
// XXX render controls as a top layer.
|
||||
// XXX check that controls are not already rendered.
|
||||
let element = self.htmlelement.upcast::<Element>();
|
||||
if let Ok(shadow_root) = element.attach_shadow(IsUserAgentWidget::Yes) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue