bors-servo
6e19955129
auto merge of #4081 : achals/servo/master, r=jdm
...
https://github.com/servo/servo/issues/3994
2014-11-24 02:03:34 -07:00
Achal Shah
23ed1f705b
Implement HTML{Anchor,Area,Link}Element.relList.
...
https://github.com/servo/servo/issues/3994
2014-11-23 23:37:13 -08:00
bors-servo
60dfb65ab2
auto merge of #4068 : Manishearth/servo/atomify, r=jdm
2014-11-23 22:00:40 -07:00
bors-servo
90007ee781
auto merge of #4064 : trevorriles/servo/isintervalenum, r=jdm
...
Created an `IsInterval` enum to improve readability and remove the need for `true // is_interval`
I'm still fairly new to rust. I briefly looked for a way to implement boolean comparisons of the enum but didn't figure out a way.
Also I'm not attached to any of the names. Let me know what I can fix :)
2014-11-23 21:36:37 -07:00
Manish Goregaokar
534919327d
Use atom! in place of Atom::from_slice where necessary
2014-11-23 22:03:27 +05:30
Rohan Prinja
4b754bd457
implement Document#createAttribute
2014-11-23 14:51:04 +05:30
Trevor Riles
0cba3eec62
remove comments now that we have more descriptive names
2014-11-21 15:12:52 -06:00
Trevor Riles
89f1949913
Use an enum to set set_timeout_or_interval's is_interval field. Fixes #4059
2014-11-21 15:10:27 -06:00
Matthew Rasmus
73721cd189
Implement Attr#nodeValue
...
Fixes #4047
2014-11-20 13:18:10 -08:00
Achal Shah
712b3d0f5b
Stop including the element during Element.getElementsByClassName.
...
https://github.com/servo/servo/issues/3995
2014-11-18 07:20:07 -08:00
bors-servo
efb4fe4a4a
auto merge of #4027 : znewman01/servo/issue4010, r=Ms2ger
...
Fixes #4010 .
This is my first Servo contribution, so let me know if I missed anything!
2014-11-18 07:54:33 -07:00
bors-servo
929671f945
auto merge of #4029 : znewman01/servo/issue4009, r=Ms2ger
...
Fixes #4009 .
Only lower-case the argument to Document#createElement if it's a HTML document.
2014-11-18 07:15:34 -07:00
Zachary Newman
2399a1449d
Implement DOMImplementation.hasFeature
...
Fixes #4010 .
2014-11-18 09:00:45 -05:00
Claes 'Letharion' Gyllensvärd
d84c0fc52a
Lower case the type attribute before checking if it's JS
2014-11-18 08:39:59 +01:00
Zachary Newman
a8ce3e3366
Update behavior of Document.createElement
...
Fixes #4009 .
Only lower-case the argument to Document#createElement if it's a HTML document.
2014-11-17 21:21:46 -05:00
Rohan Prinja
aad124fce3
key[board]event args for Document#createEvent
2014-11-17 09:37:05 +05:30
Ms2ger
859f14f38b
Correct the checks in step 5 of Node::pre_insert.
2014-11-16 12:40:42 +01:00
Mukilan Thiyagarajan
4b2b0d0723
Allow passing arguments to setTimeout/setInterval callbacks
2014-11-15 18:32:12 +05:30
Mukilan Thiyagarajan
05bd182538
Fix binding generation for Callback Functions and Callback Interfaces
2014-11-15 18:29:48 +05:30
Ms2ger
86d609abaf
Use RefCell in DOMRefCell to reduce duplicated code.
2014-11-14 21:18:43 +01:00
Ms2ger
c0016c7438
Use Cell::as_unsafe_cell in Reflector::rootable.
2014-11-14 11:56:00 +01:00
Tomasz Kołodziejski
af30484f2a
Add contentDocument support for HTMLIFrameElement. Fixes #3808 .
2014-11-13 22:45:46 -08:00
Josh Matthews
c23edf6f5a
Short-circuit initFooEvent while dispatching events.
2014-11-13 12:53:54 -05:00
Keegan McAllister
642a3592c7
Fix interfaces test
2014-11-13 12:53:54 -05:00
Josh Matthews
89a27dd11a
More documentation.
2014-11-13 12:53:54 -05:00
Josh Matthews
cbed5da9fa
Flush layout after executing timers.
2014-11-13 12:53:54 -05:00
Josh Matthews
80764f65e3
Add single-line text input with no visible cursor.
2014-11-13 12:53:54 -05:00
Josh Matthews
84bc17e7ad
Implement document focus context and hook it up to click events.
2014-11-13 11:27:15 -05:00
Josh Matthews
329ba56fca
Dispatch keydown, keyup, and keypress events at appropriate times.
2014-11-13 11:27:15 -05:00
Josh Matthews
e999843183
Fill in KeyboardEvent.
2014-11-13 11:24:14 -05:00
Josh Matthews
bb7074698a
Add KeyboardEvent stub.
2014-11-13 11:24:14 -05:00
Glenn Watson
0a0b4c657c
Rebase and fix up compile errors for rust upgrade.
2014-11-13 11:25:19 +10:00
Jack Moffitt
d1b433a3b3
Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a
2014-11-13 11:17:43 +10:00
bors-servo
26045d7fcb
auto merge of #3809 : mrobinson/servo/display-list-optimization, r=pcwalton
...
Instead of creating a display list for the entire page, only create one
for an area that expands around the viewport. On my machine this makes
incremental layout of http://timecube.com 50% faster.
2014-11-12 17:36:32 -07:00
bors-servo
668d9217d8
auto merge of #3938 : guillaumebort/servo/fix/3933, r=jdm
...
Implement HTMLOptionElement.{label,value}
2014-11-12 15:15:38 -07:00
Guillaume Bort
09766511b5
Fix #3933
2014-11-12 17:02:47 +01:00
bors-servo
ccdd2910a2
auto merge of #3951 : mrobinson/servo/iframes, r=jdm
...
This is the first step to allowing incremental iframe creation and destruction. This should eliminate task failures when an iframe is added to the frame tree lazily via script.
2014-11-11 18:48:34 -07:00
Martin Robinson
fbb1e0c6b8
Send incremental frame tree updates to the compositor
...
This allows the compositor to add frames after the call to SetIds,
where the initial frame tree is created. There are still some issues
preventing proper late frame creation, but this prevents crashes when
it happens.
Fixes #3738 .
2014-11-11 17:36:19 -08:00
Martin Robinson
6e06a1353c
Rename LoadIframeUrlMsg to CreateIFrameAndLoadUrlMsg
...
This better reflects what the message does.
2014-11-11 17:36:18 -08:00
bors-servo
b94f20c7c1
auto merge of #3934 : guillaumebort/servo/fix/84, r=jdm
...
Actually `<img>` elements in `<noscript>` are not prefetched anymore.
Probably because html5ever already parses the `<noscript>` content as raw
text data if `scripting_enabled` is activated.
See https://github.com/servo/html5ever/blob/servo/src/tree_builder/rules.rs#L126
Also, added a test to the images cache.
2014-11-11 14:30:39 -07:00
Martin Robinson
c7327450ef
Clip display list based on frame viewport
...
Instead of creating a display list for the entire page, only create one
for an area that expands around the viewport. On my machine this makes
incremental layout of http://timecube.com 50% faster.
2014-11-11 08:46:16 -08:00
Ms2ger
aa83388f38
Remove VoidVal.
...
There are no undefined constants in IDL.
2014-11-08 18:00:04 +01:00
bors-servo
fe11a75f79
auto merge of #3937 : Ms2ger/servo/docs-bindings, r=jdm
2014-11-07 10:57:30 -07:00
Ms2ger
3ed3c9a978
Document bindings/conversions.rs.
2014-11-07 18:33:38 +01:00
Tom Schuster
96e42feaa1
Implement the whole Attr interface
2014-11-07 14:36:57 +01:00
Guillaume Bort
8e2abb6ffc
Close #84
...
Actually <img> elements in <noscript> are not prefetched anymore.
Probably because html5ever already parses the <noscript> content as raw
text data if `scripting_enabled` is activated.
See
https://github.com/servo/html5ever/blob/servo/src/tree_builder/rules.rs#
L126
Also, added a test to the images cache.
2014-11-07 13:43:19 +01:00
Ms2ger
223c3bc7ae
Document bindings/callback.rs.
2014-11-07 12:22:00 +01:00
Ms2ger
52ef7f7948
Document bindings/trace.rs.
2014-11-07 12:11:50 +01:00
Ms2ger
bfa1ab816f
Document bindings/utils.rs.
2014-11-07 11:57:37 +01:00
bors-servo
338a9c3f05
auto merge of #3917 : mukilan/servo/xhr-status-async, r=jdm
...
Fixes #3877
2014-11-06 19:00:29 -07:00