Emanuel Rylke
c732a779eb
On left/right keydown place edit_point correctly when there is a selection in TextInput
...
Fixes #4447
2014-12-21 14:31:15 +01:00
bors-servo
a773bd5c45
auto merge of #4454 : amwatson/servo/global_update, r=jdm
...
Changed fn_wrap argument in reflect_dom_object() and reflect_node() to pass GlobalRef by value rather than by reference. Fixes #4165
2014-12-20 17:51:44 -07:00
bors-servo
6efa7eedbc
auto merge of #4452 : Ms2ger/servo/_obj_toString, r=jdm
2014-12-20 17:24:44 -07:00
Amanda Watson
582ba9d796
GlobalRef passed by value in reflect_dom_object, reflect_node #4165
2014-12-20 16:20:53 -08:00
bors-servo
b4025f167f
auto merge of #4451 : Ms2ger/servo/bytestring-doc, r=jdm
2014-12-20 16:57:43 -07:00
Ms2ger
8b3d64f8e3
Reindent _obj_toString.
2014-12-20 16:44:24 +01:00
Ms2ger
ef3901fceb
Simplify _obj_toString by using JS_NewStringCopyN.
2014-12-20 16:40:20 +01:00
bors-servo
661144d285
auto merge of #4450 : Ms2ger/servo/domrefcell-doc, r=jdm
2014-12-20 08:36:43 -07:00
Ms2ger
ca2ce8e5b8
Require documentation for ByteString.
2014-12-20 16:12:13 +01:00
bors-servo
1f74e54bb2
auto merge of #4038 : brunoabinader/servo/dataset, r=Ms2ger
...
Spec: https://html.spec.whatwg.org/multipage/dom.html#dom-dataset
Closes #2974 .
2014-12-20 08:06:44 -07:00
Bruno de Oliveira Abinader
fc70b952e3
Update HTML{Div,Span,}Element stack size
2014-12-20 10:36:58 -04:00
bors-servo
8a4eea0032
auto merge of #4449 : Ms2ger/servo/unwrap_jsmanaged, r=jdm
2014-12-20 07:36:45 -07:00
Ms2ger
7ec11b22b4
Document DOMRefCell.
...
Based on the RefCell documentation.
2014-12-20 15:11:20 +01:00
Ms2ger
0274978a08
Remove the unused DOMRefCell::unwrap method.
2014-12-20 15:03:11 +01:00
Ms2ger
96180ec3ad
Move unwrap_jsmanaged and related machinery to conversions.rs.
2014-12-20 14:51:14 +01:00
Ms2ger
73c236ce3b
Use unwrap() when finalizing.
...
This allows us to duplicate a little less code.
2014-12-20 14:07:23 +01:00
Ms2ger
b8c2573f4d
Remove the proto_{id,depth} arguments from unwrap_jsmanaged.
...
Instead, we infer them from the type we're unwrapping into. This will prevent
any mismatches between the type we return and the type we check for.
2014-12-20 13:48:21 +01:00
Ms2ger
e1dae2f59b
Use the try macro in unwrap_jsmanaged.
2014-12-20 13:42:38 +01:00
bors-servo
58e7b8c154
auto merge of #4446 : Ms2ger/servo/green, r=metajack
2014-12-19 14:03:44 -07:00
Ms2ger
79266e725c
Remove unused libgreen import.
2014-12-19 21:59:32 +01:00
Bruno de Oliveira Abinader
4449d26153
Update web-platform-tests results
2014-12-19 14:07:44 -04:00
Bruno de Oliveira Abinader
9686840ee7
Avoid duplicated code
2014-12-19 14:07:43 -04:00
Bruno de Oliveira Abinader
628ee92d73
Implement HTMLElement.dataset
...
Make DOMStringMap use related Element's custom attributes values.
2014-12-19 14:07:43 -04:00
Bruno de Oliveira Abinader
e1a7d99df7
Added Element::set_custom_attribute
2014-12-19 14:07:43 -04:00
Bruno de Oliveira Abinader
1533c07453
CodegenRust fixes for NamedGetter
2014-12-19 14:07:43 -04:00
bors-servo
c17d5330af
auto merge of #4401 : jdm/servo/heapsm2, r=Manishearth
...
We still will need a lint to ban any further uses, but that can be a followup.
2014-12-19 09:18:46 -07:00
Josh Matthews
8ff3e6bbdc
Create a replacement for Cell<SM primitive>. Fixes #4337 .
2014-12-19 11:17:02 -05:00
bors-servo
b9edc2243a
auto merge of #4444 : Ms2ger/servo/load-simplify, r=jdm
2014-12-19 08:09:48 -07:00
bors-servo
952f9ba93a
auto merge of #4422 : Ms2ger/servo/wpt-reftests, r=larsbergstrom
2014-12-19 07:12:47 -07:00
Ms2ger
dde0702a89
Enable html/rendering.
2014-12-19 15:08:38 +01:00
Ms2ger
1d68ee689f
Update wptrunner and start running reftests.
2014-12-19 15:08:38 +01:00
bors-servo
11b27361c9
auto merge of #4443 : Ms2ger/servo/dispatch_event_with_target, r=Manishearth
...
The name of the method makes it clear it's supposed to be used with a target
override, so we might as well enforce that.
2014-12-19 04:33:46 -07:00
Ms2ger
10bda1a52b
Simplify some code in ScriptTask::load.
2014-12-19 11:40:27 +01:00
Ms2ger
bce3b172e7
Make the argument to dispatch_event_with_target non-optional.
...
The name of the method makes it clear it's supposed to be used with a target
override, so we might as well enforce that.
2014-12-19 11:34:11 +01:00
bors-servo
7317518c17
auto merge of #4326 : eddyb/servo/script-onload, r=jdm
...
Without this, facebook.com pages (with their custom module loading system and React.js) silently fail to make progress loading content, forever waiting on load events on the initial set of `<script>` elements.
2014-12-18 22:27:44 -07:00
Eduard Burtescu
8394d4592a
update to namespaced enums without re-exports
2014-12-19 06:37:39 +02:00
Eduard Burtescu
8ad4b97987
update past rustup and use DoesNotBubble instead of Bubbles
2014-12-19 06:29:04 +02:00
Eduard Burtescu
f00dc4d54f
Update WPT: script-onload-string is passing now.
2014-12-19 06:29:04 +02:00
Eduard Burtescu
5cfa98d78d
Trigger a load event after evaluating a <script>.
2014-12-19 06:29:04 +02:00
Eduard Burtescu
5059a1b2ac
Handle getting/setting onload for any element.
2014-12-19 06:29:04 +02:00
bors-servo
9aaae08c36
auto merge of #4441 : glennw/servo/android-time-hack, r=larsbergstrom
2014-12-18 18:00:59 -07:00
Glenn Watson
7aa3b235e2
Add time as submodule - workaround for android cross compiling until next rustup.
2014-12-19 10:50:30 +10:00
bors-servo
465b38c03f
auto merge of #4438 : glennw/servo/android-fix-1, r=metajack
...
...it method to glutin port.
2014-12-18 17:01:10 -07:00
Glenn Watson
f579be2307
Update cargo nightly to get android cross compile fix. Also add stub trait method to glutin port.
2014-12-19 09:43:08 +10:00
bors-servo
4ac8b6a723
auto merge of #4437 : Adenilson/servo/fixInsetOutsetBlack03, r=jdm
...
Freshly rebased.
2014-12-18 16:24:54 -07:00
bors-servo
803e5ef790
auto merge of #4434 : saneyuki/servo/glob_script, r=jdm
...
#4406
2014-12-18 15:57:48 -07:00
bors-servo
3cc87165a1
auto merge of #4425 : SimonSapin/servo/mixed-writing-modes, r=mbrubeck
...
The rendering is still wrong beause of #2795 , but at least we get a rendering.
(This test change is just for readability, it should be equivalent to before.)
r? @mbrubeck
2014-12-18 15:31:28 -07:00
Adenilson Cavalcanti
b6f315cb35
Adding outset ref test.
2014-12-18 13:55:45 -08:00
Adenilson Cavalcanti
06bbecc049
Adding inset ref test.
2014-12-18 13:55:07 -08:00
Adenilson Cavalcanti
4bfe134c84
Similar to groove/ridge case, inset/outset would scale the color to
...
decorate the border. Scale fails when the color is black (i.e. zero),
thus this patch will fix this issue by using a fixed color.
2014-12-18 13:54:32 -08:00