mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Formatting.
This commit is contained in:
parent
dbff26bce0
commit
0e8ac3fdac
81 changed files with 588 additions and 206 deletions
|
@ -28,7 +28,14 @@ impl DOMRect {
|
|||
Self::new_with_proto(global, None, x, y, width, height)
|
||||
}
|
||||
|
||||
fn new_with_proto(global: &GlobalScope, proto: Option<HandleObject>, x: f64, y: f64, width: f64, height: f64) -> DomRoot<DOMRect> {
|
||||
fn new_with_proto(
|
||||
global: &GlobalScope,
|
||||
proto: Option<HandleObject>,
|
||||
x: f64,
|
||||
y: f64,
|
||||
width: f64,
|
||||
height: f64,
|
||||
) -> DomRoot<DOMRect> {
|
||||
reflect_dom_object2(
|
||||
Box::new(DOMRect::new_inherited(x, y, width, height)),
|
||||
global,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue