bors-servo
8103bba19b
auto merge of #4619 : mbrubeck/servo/dead-top-margin, r=Ms2ger
...
Added in #1988 but never used. r? @pcwalton
2015-01-12 16:12:46 -07:00
Bruno de Oliveira Abinader
9da761fc64
Check quirks mode in {Document,Element}::getElementsByClassName
...
Fixes #4604 .
2015-01-12 17:38:13 -04:00
Matt Brubeck
97a8b617fb
Remove unused Flow method
2015-01-12 09:58:53 -08:00
bors-servo
a227faa416
auto merge of #4594 : evilpie/servo/window-proxy, r=jdm
...
After this patch somebody just needs to implement the new IndexedGetter (and probably frames/length) on window to fix #4589 .
2015-01-12 09:45:47 -07:00
Tom Schuster
d54a45a2b1
Implement most of the important WindowProxy traps
2015-01-12 17:41:48 +01:00
bors-servo
e6fe9f1409
auto merge of #4582 : pcwalton/servo/blend-modes, r=glennw
...
`background-blend-mode` is not yet supported because we don't support
multiple backgrounds yet.
r? @glennw
2015-01-12 09:03:48 -07:00
Patrick Walton
97d3443003
layout: Implement mix-blend-mode
per COMPOSITING § 3.4.1.
...
`background-blend-mode` is not yet supported because we don't support
multiple backgrounds yet.
2015-01-12 08:02:41 -08:00
bors-servo
b020a015d9
auto merge of #4615 : kartaa/servo/master, r=jdm
...
Update wrapper.rs for Issue #4572 in servo/servo.
2015-01-12 08:24:47 -07:00
Ashish Sharma
fd0a0d6da8
remove unused function with_layout_node #4572
...
remove documentation in with_layout_node #4572
remove unused documentation in function with_layout_node #4572
2015-01-12 20:48:02 +05:30
Matthew Rasmus
182f1a0d01
table_wrapper.rs: Fix for percentage widths
...
Fixes #4421
2015-01-11 11:39:09 -08:00
Ms2ger
58b89939c2
Fix the documentation comment for the devtools library.
...
Also removed a duplicated feature gate.
2015-01-11 11:27:46 +01:00
Ms2ger
8efcca986c
Remove RethrowContentExceptions and related infrastructure.
...
We do not intend to implement the DOM in JS, so this code isn't necessary.
2015-01-10 20:22:03 +01:00
Tetsuharu OHZEKI
4629b7ccf0
fixup! Make script load event asynchronous for internal scripts
2015-01-11 03:38:57 +09:00
Tetsuharu OHZEKI
b984815b98
Make script load event asynchronous for internal scripts
2015-01-11 03:38:57 +09:00
Tetsuharu OHZEKI
f627b35ef6
Add the enum to describe the script origin.
2015-01-11 03:38:57 +09:00
bors-servo
879af966b3
auto merge of #4609 : Ms2ger/servo/runnable-self-by-value, r=jdm
2015-01-10 10:30:44 -07:00
bors-servo
e17d390714
auto merge of #4608 : Ms2ger/servo/ReverseChildrenIterator, r=jdm
2015-01-10 09:51:44 -07:00
Ms2ger
01444022b0
Make StructuredCloneData an opaque struct.
2015-01-10 17:47:42 +01:00
Ms2ger
b2f40b9873
Make Runnable::handler take self by value.
...
With my thanks to kimundi and eddyb for their help in making this approach
work.
2015-01-10 17:47:18 +01:00
Ms2ger
bc14c2c23b
Rewrite ReverseChildrenIterator to return Temporary.
2015-01-10 16:57:21 +01:00
Ms2ger
14ff55443f
Implement StructuredCloneData::read.
2015-01-10 16:33:26 +01:00
Ms2ger
5978b21abf
Implement StructuredCloneData::write.
2015-01-10 16:33:26 +01:00
Ms2ger
57aaa60fa5
Create a StructuredCloneData struct to encapsulate the result of a structured clone.
2015-01-10 16:33:25 +01:00
Ms2ger
1fb863ab3f
Move the documentation comment for the devtools_traits crate to have it picked up.
2015-01-10 15:02:28 +01:00
Martin Robinson
efdc758dd7
Only send SetLayerRect messages for compositor-backed frames
...
Only send SetLayerRect when we know that a frame has a compositor
layer. If it doesn't, we wait until we send the new layer to the
compositor.
2015-01-09 16:20:09 -08:00
Martin Robinson
19f57008da
Notify compositor when a FrameTree changes pipelines
...
When the constellation change a FrameTree pipeline, it should send a
notification to the compositor, so that it can negotiate buffers from
the correct render task. This commit also migrates away from the
generalized FrameTreeUpdateMsg to ones specific to the situation at
hand. That turned out to be an unnecessary abstraction.
2015-01-09 16:20:04 -08:00
Martin Robinson
f1d82cf82c
Add FrameTree::add_child
...
This helper method simplifies a few lines.
2015-01-09 15:14:01 -08:00
Martin Robinson
6a46eef5cd
Update FrameTree pipelines when appropriate
...
Instead of simply creating a new FrameTree when an iframe starts a
load, update the existing FrameTree's pipeline. This prevents the
FrameTree from accumulating many extra children.
2015-01-09 15:14:01 -08:00
bors-servo
c1d218cf02
auto merge of #4578 : mrobinson/servo/fix-compositor-timing-issues, r=larsbergstrom
...
Clean up compositor data structures and fix timing issues that cause Compositor panics.
2015-01-09 15:39:44 -07:00
Martin Robinson
b60f354405
Store pipelines in the Compositor
...
Instead of cloning pipelines and storing them once per layer, store
them globally in the compositor and access them via id. This trades
lots of unnecessary duplication for a HashMap lookup.
2015-01-09 14:33:59 -08:00
Martin Robinson
c5994c65ef
Be less stringent with invalid compositor messages
...
It is possible for messages for defunct pipelines to arrive in the
compositor. If the compositor believes that the pipelines are in the
process of shutting down, simply ignore the messages. We still panic in
the case that the pipeline is totally unknown.
Fixes #3733 .
2015-01-09 14:33:58 -08:00
bors-servo
ebb702ab94
auto merge of #4596 : jimrhoskins/servo/sandbox-tokenlist, r=jdm
...
Fixes #3758
Store the sandbox attribute of HTMLIFrameElement as a TokenList
internally. Use .tokens() to iterate over the tokens instead of
splitting on the string value.
The external interface for sandbox remains a DOMString, which will need
to be fixed when DOMSettableTokenList is implemented (#1717 ).
2015-01-09 14:27:45 -07:00
bors-servo
21fd1120c3
auto merge of #4532 : saneyuki/servo/event, r=jdm
...
Fix #4505
2015-01-09 13:54:47 -07:00
Jim Hoskins
e8036accd6
Store HTMLIFrameElement sandbox attr as TokenList
...
Fixes #3758
Store the sandbox attribute of HTMLIFrameElement as a TokenList
internally. Use .tokens() to iterate over the tokens instead of
splitting on the string value.
The external interface for sandbox remains a DOMString, which will need
to be fixed when DOMSettableTokenList is implemented (#1717 ).
2015-01-09 11:24:41 -08:00
Tetsuharu OHZEKI
0237561511
Make DOMContentLoaded and load asynchronous with using Runnable.
2015-01-10 04:05:46 +09:00
Edit Balint
81f47344d6
CanvasRenderTask connected to Layout
...
Update rust-azure to f4a02f3f621b0a994a20d42e438371a87c62f898.
2015-01-09 18:53:10 +01:00
bors-servo
43e34d6d10
auto merge of #4588 : Ms2ger/servo/layout-cleanup, r=larsbergstrom
2015-01-09 09:42:48 -07:00
bors-servo
ffdbf29db2
auto merge of #4557 : pcwalton/servo/filter, r=mbrubeck
...
`blur` and `drop-shadow` are not yet supported, because the
`text-shadow` PR makes some fundamental changes to blur rendering that
are needed first.
r? @mbrubeck
2015-01-09 09:03:48 -07:00
Patrick Walton
15d60d7ea4
layout: Implement filter
per CSS-FILTERS § 5.
...
`blur` and `drop-shadow` are not yet supported, because the
`text-shadow` PR makes some fundamental changes to blur rendering that
are needed first.
2015-01-09 07:26:13 -08:00
bors-servo
0b06aeebe3
auto merge of #4553 : mrobinson/servo/paint-task-cleanup, r=larsbergstrom
...
This simplifies calling it substantially. Also avoid unnecessarily
changing the PaintTask epoch when we don't have paint permission.
2015-01-09 08:24:48 -07:00
bors-servo
6b3c05cdd2
auto merge of #4585 : Ms2ger/servo/NavigatorInfo, r=jdm
...
It serves no purpose.
2015-01-09 07:48:49 -07:00
bors-servo
f74d5360ba
auto merge of #4584 : Ms2ger/servo/unsafe, r=jdm
...
As a first start, this allows them indiscriminately where used.
2015-01-09 07:15:52 -07:00
bors-servo
c338dbe947
auto merge of #4586 : Swatinem/servo/noderemove, r=Ms2ger
...
fixes #4562
2015-01-09 05:57:51 -07:00
Ms2ger
b14a94a30f
Pass a Vec to ApplicableDeclarationsCacheEntry::new.
...
As it copies the slice anyway, it is better to give the caller the opportunity
to pass in an existing Vec.
2015-01-09 13:30:43 +01:00
Ms2ger
f8785beb24
Remove transmutes in LayoutContext.
2015-01-09 13:30:42 +01:00
bors-servo
3e8cab758e
auto merge of #4579 : mattnenterprise/servo/textinput-select-refactor, r=jdm
...
Fixes #4573 Replaces the boolean argument of TextInput::adjust[horizontal | vertical] with enum to self document the code
2015-01-09 05:24:50 -07:00
Arpad Borsos
322daccb42
Fix assertion trying to remove a Node that has no parent
...
fixes #4562
2015-01-09 12:47:28 +01:00
Ms2ger
8afc104d4b
Remove the NavigatorInfo struct.
...
It serves no purpose.
2015-01-09 12:10:08 +01:00
Ms2ger
edc1d89251
Deny unsafe blocks in script.
...
As a first start, this allows them indiscriminately where used.
2015-01-09 10:13:25 +01:00
bors-servo
94a4a55332
auto merge of #4580 : glennw/servo/glutin-hidpi, r=larsbergstrom
2015-01-08 16:39:51 -07:00