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
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
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
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
Glenn Watson
4a70752a87
glutin - Add support for waking up blocked event loop, and smooth resize on mac.
2014-12-19 11:54:08 +10: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
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
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
bors-servo
8626be6ab0
auto merge of #4403 : pcwalton/servo/back-borrow, r=jdm
...
I have verified that back and forward work once again.
Sorry about this one. r? @jdm
2014-12-18 14:39:50 -07:00
Patrick Walton
6b28965b94
layout: Implement clip
per CSS 2.1 § 11.1.2.
...
Only the recommended, comma-separated syntax is supported.
2014-12-18 13:07:13 -08:00
bors-servo
4ccecd8dca
auto merge of #4423 : saneyuki/servo/glob_net, r=jdm
...
#4406
2014-12-18 13:21:55 -07:00
Tetsuharu OHZEKI
a7bb436177
script: Remove glob imports added in #4405
2014-12-19 04:52:48 +09:00
bors-servo
a425bb5289
auto merge of #4418 : saneyuki/servo/glob_gfx, r=jdm
...
#4406
2014-12-18 12:52:01 -07:00
bors-servo
824788649c
auto merge of #4342 : jdm/servo/cssom, r=jdm,metajack
...
This does not implement any notion of CSSStyleDeclaration objects that do not have an owning element; there's no actual CSS object model in play here. This does support setting and getting properties of the style attribute for HTMLElement, and tries to implement the ambiguous CSS value serialization spec.
2014-12-18 11:54:52 -07:00
Josh Matthews
2f5786d6ca
Fix test failures.
2014-12-18 13:51:22 -05:00
bors-servo
1f342638c4
auto merge of #4424 : saneyuki/servo/glob_style, r=SimonSapin
...
#4406
2014-12-18 11:03:55 -07:00
Josh Matthews
0a54665444
Add missing supported CSS properties.
2014-12-18 12:54:03 -05:00
Josh Matthews
6bffc10445
Address review comments.
2014-12-18 12:54:03 -05:00
Josh Matthews
c8557c44a9
Merge CSS2Properties and CSSStyleDeclaration.
2014-12-18 12:54:03 -05:00
Josh Matthews
fab2e63b59
Slight simplification.
2014-12-18 12:54:02 -05:00
Josh Matthews
3cfe8ab53e
Address review comments.
2014-12-18 12:54:02 -05:00
Josh Matthews
9d82e06e64
Implement RemoveProperty, SetProperty, and supported property indices.
2014-12-18 12:54:02 -05:00
Josh Matthews
abca00009c
Add z-index support.
2014-12-18 12:54:02 -05:00
Glenn Watson
037f6c2cae
Rebase and update new css properties.
2014-12-18 12:54:02 -05:00
Glenn Watson
442c28d9f7
Fixups for rust upgrade and jsref changes.
2014-12-18 12:54:02 -05:00
Josh Matthews
5ca61c00b9
Add a ton of properties and improve a bunch of serialization.
2014-12-18 12:54:02 -05:00
Josh Matthews
755ebd6528
Improve color serialization by retaining author-specified keywords.
2014-12-18 12:54:02 -05:00
Josh Matthews
6f8a9b6d46
Implement setting element style properties. Improve serialization to return initial values when unspecified.
2014-12-18 12:54:02 -05:00
Josh Matthews
505e1855a3
Implement something like CSS value serialization. Fetch actual inline style declarations from owning elements.
2014-12-18 12:54:02 -05:00
Josh Matthews
2e14b653bf
Add a style property to HTMLElement.
2014-12-18 12:54:02 -05:00
Josh Matthews
2cfa8e85a6
Stub in some uses of getPropertyValue and sketch out its implementation.
2014-12-18 12:54:02 -05:00
Josh Matthews
4da0ca8ace
Add stub CSS2Properties type.
2014-12-18 12:54:02 -05:00
Cameron Zwarich
1c5d58180d
Add the basic CSSStyleDeclaration CSSOM interface.
...
This just includes the .webidl file (with some of the functionality
commented out) and the stub implementations for the bindings.
This is another step towards #1721 .
2014-12-18 12:54:02 -05:00
Simon Sapin
7be30dee8e
Fix some writing mode mismatch assertions errors.
...
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.)
2014-12-18 17:15:51 +00:00
Tetsuharu OHZEKI
135ee60f5a
style: Remove glob imports added in #4405
2014-12-19 01:49:24 +09:00
bors-servo
7df37847d3
auto merge of #4416 : mattnenterprise/servo/fire-timer-clone, r=jdm
...
I tested that it worked correctly by using running './mach run tests/html/test_timeout.html' and making sure the timers went off.
2014-12-18 09:39:56 -07:00
Matt McCoy
e4b029623f
This fixes #4407 . This removes all unnecessary clones when calling fire_timer.
2014-12-18 10:57:15 -05:00
Tetsuharu OHZEKI
a590012322
gfx: Remove glob imports added in #4405
2014-12-19 00:54:50 +09:00
Tetsuharu OHZEKI
07b1c0e652
net: Remove glob imports added in #4405
2014-12-19 00:47:09 +09:00
Matt Brubeck
8dd1a363cb
Update layer bounds on resize
...
This fixes a bug where fixed-position layers are not repositioned when the
window is resized.
2014-12-18 07:02:14 -08:00
Simon Sapin
bf4480bb79
Simplify util::range::RangeIndex to always require std::num::Int,
...
and fix remaining warnings.
2014-12-18 11:34:23 +00:00
Simon Sapin
e689f9c160
Remove usage of deprecated HashMap::get_copy
2014-12-18 11:17:09 +00:00
Simon Sapin
084a63df45
Remove usage of the deprecated std::num::Zero trait.
2014-12-18 11:16:47 +00:00
Ms2ger
e2b75670bd
Rename the PrototypeList enums to fix case build warnings.
2014-12-18 10:33:57 +01:00