mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Implement DOMPoint.fromPoint
This commit is contained in:
parent
5f477707a1
commit
40dbb2c100
19 changed files with 30 additions and 133 deletions
|
@ -6414,7 +6414,8 @@ class CGDictionary(CGThing):
|
|||
conversion = (
|
||||
"{\n"
|
||||
" rooted!(in(cx) let mut rval = UndefinedValue());\n"
|
||||
" if r#try!(get_dictionary_property(cx, object.handle(), \"%s\", rval.handle_mut())) {\n"
|
||||
" if r#try!(get_dictionary_property(cx, object.handle(), \"%s\", rval.handle_mut()))"
|
||||
" && !rval.is_undefined() {\n"
|
||||
"%s\n"
|
||||
" } else {\n"
|
||||
"%s\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue