Adenilson Cavalcanti
a2fea4c093
Cleanup compilation warning.
2015-03-02 17:03:06 -08:00
bors-servo
6927bf6ff0
auto merge of #5113 : glennw/servo/fix-title, r=mbrubeck
...
Sometimes, the root pipeline title is sent before the compositor has created the root pipeline, so also request the main page title once the initial frame tree has been sent.
2015-03-02 17:24:56 -07:00
bors-servo
65454e51c8
auto merge of #5086 : glennw/servo/reap-more-stuff, r=jdm
...
Also introduce a clear() function to layout data which will be used to clear items such as compositor layouts.
Clear the layout data when a node becomes display:none.
2015-03-02 16:45:51 -07:00
bors-servo
891dd496e3
auto merge of #5065 : glennw/servo/iframe-vis-fix, r=pcwalton
...
When an iframe is created with display:none it sets the root layer to be zero width and height. When updating the rect of the iframe from layout send the entire rect rather than just the new origin, which handles the case where the iframe has been made visible and now has a non-zero rect.
2015-03-02 15:30:52 -07:00
bors-servo
93d1f40a96
auto merge of #4475 : pcwalton/servo/text-shadow, r=mbrubeck
...
r? @mbrubeck
Depends on servo/rust-geom#64 .
2015-03-02 14:54:52 -07:00
Glenn Watson
f68386f0fa
Fix making an iframe visible when it was initially set to display:none.
...
When an iframe is created with display:none it sets the root layer to be
zero width and height. When updating the rect of the iframe from layout
send the entire rect rather than just the new origin, which handles the case
where the iframe has been made visible and now has a non-zero rect.
2015-03-03 07:46:26 +10:00
Patrick Walton
09358b908d
layout: Implement text-shadow
per CSS-TEXT-DECORATION-3 § 4.
2015-03-02 13:28:51 -08:00
Glenn Watson
611fd7a846
Reap layout data whenever a node is removed from the tree.
...
Also introduce a clear() function to layout data which will be used to clear items such as compositor layouts.
Clear the layout data when a node becomes display:none.
2015-03-03 07:12:51 +10:00
bors-servo
9eaa48b793
auto merge of #5089 : mmatyas/servo/canvas_lineto, r=jdm
...
This patch enables the use of `lineTo()` on the canvas.
2015-03-02 13:33:55 -07:00
Glenn Watson
2517bb561a
Only allow root pipelines to set the window title.
...
Sometimes, the root pipeline title is sent before the compositor
has created the root pipeline, so also request the main page
title once the initial frame tree has been sent.
2015-03-03 06:10:47 +10:00
Mátyás Mustoha
774cc4a93a
Canvas: added lineTo().
2015-03-02 21:00:50 +01:00
bors-servo
2f3697f5f3
auto merge of #5110 : Ms2ger/servo/defaultvalue-strings, r=jdm
2015-03-02 12:57:59 -07:00
Ms2ger
5a1e6b772c
Fix string default values.
2015-03-02 20:54:55 +01:00
bors-servo
fed878710c
auto merge of #5111 : KiChjang/servo/step-1-anchor, r=Manishearth
...
Fixes #4871
2015-03-01 22:18:49 -07:00
Keith Yeung
83f56ed061
Implementation of step 1 activation behavior of htmlanchorelement ( fixes #4871 )
...
Fixed issues
2015-03-02 12:54:50 +08:00
bors-servo
154427ce51
auto merge of #5104 : Ms2ger/servo/unused-import, r=Manishearth
2015-02-28 14:45:47 -07:00
bors-servo
8bc4d07e50
auto merge of #5033 : Manishearth/servo/gonk-warn, r=Ms2ger
...
Rust still reports that the `*mut ANativeWindow` argument in `gnw_perform` in `gonk/src/window.rs` is ffi unsafe,
however `ANativeWindow` is marked as `#[repr(C)]` and should be okay.
2015-02-28 14:09:48 -07:00
Manish Goregaokar
488b0e4b26
Fix mutabiliy of x_info
2015-03-01 02:38:56 +05:30
Ms2ger
fde91b19ff
Remove unused import from script_task.
2015-02-28 22:03:40 +01:00
bors-servo
184d32b519
auto merge of #5103 : Ms2ger/servo/from_actual, r=jdm
2015-02-28 13:33:49 -07:00
bors-servo
39273d6b53
auto merge of #5053 : deepak1556/servo/script_patch, r=jdm
...
fixes #5046
2015-02-28 12:57:50 -07:00
bors-servo
75060f41db
auto merge of #5073 : JIoJIaJIu/servo/handle_mouse_event, r=jdm
2015-02-28 12:21:51 -07:00
bors-servo
16bc4749af
auto merge of #5102 : servo/servo/profile-img, r=jdm
...
This extracts some independently useful parts of
<https://github.com/servo/servo/pull/4215 >.
2015-02-28 11:46:02 -07:00
Robo
7b9241bddb
default to number of available cpu for wpt-tests
2015-02-28 23:43:39 +05:30
bors-servo
5eaf1144c3
auto merge of #5099 : Ms2ger/servo/exceptions, r=saneyuki
2015-02-28 11:09:55 -07:00
Ms2ger
ca21675359
Use the correct lifetime bounds for FooCast::from_actual.
2015-02-28 19:06:04 +01:00
Ankit Agrawal
c8de895094
Add profiling to image decoding.
...
This extracts some independently useful parts of
<https://github.com/servo/servo/pull/4215 >.
2015-02-28 18:35:48 +01:00
bors-servo
4c04d52049
auto merge of #5097 : servo/servo/Manishearth-patch-1, r=saneyuki
2015-02-28 10:33:52 -07:00
Ms2ger
62b2c65348
Add support for throwing TypeErrors from DOM implementations.
2015-02-28 18:20:42 +01:00
Ms2ger
fbf4d44674
Clarify the documentation for dom::bindings::error::Error variants.
2015-02-28 18:20:42 +01:00
Ms2ger
6e3c130e6c
Inline DOMException::new_from_error.
2015-02-28 18:20:42 +01:00
Ms2ger
4873682a3c
Rename FailureUnknown to JSFailed.
2015-02-28 18:20:41 +01:00
bors-servo
1f53d30f85
auto merge of #5094 : chmanchester/servo/binarynames, r=jdm
2015-02-28 09:57:58 -07:00
bors-servo
b261d27ac5
auto merge of #5059 : saneyuki/servo/event, r=jdm
...
Fix #4260
Pick up: This original commit is https://github.com/servo/servo/pull/4718 .
2015-02-28 09:21:54 -07:00
Liam Zdenek
3e13dc7913
Click event is now a MouseEvent.
...
This original commit is https://github.com/servo/servo/pull/4718 .
2015-03-01 01:08:52 +09:00
bors-servo
b84f620b26
auto merge of #5100 : Ms2ger/servo/descriptorProvdider, r=Manishearth
2015-02-28 08:45:54 -07:00
Ms2ger
d24a948142
Fix a typo in argument_type.
2015-02-28 16:41:38 +01:00
Ms2ger
3dac90b49e
Remove unsupported types from the SupportedType IDL enum.
2015-02-28 15:48:48 +01:00
bors-servo
07b918f731
auto merge of #5098 : servo/servo/int-util, r=Ms2ger
...
This leaves range.rs alone.
2015-02-28 07:21:53 -07:00
Alexandru Cojocaru
aaf7a7e439
Remove uint/int inside components/util
(partial #4745 ).
...
This leaves range.rs alone.
2015-02-28 15:03:07 +01:00
Manish Goregaokar
6e765e6f16
Add explicit mention of mach run for Running
2015-02-28 13:23:10 +05:30
Guro Bokum
94e7f89524
Move body of ScriptTask::handle_mouse_move_event into a method on #5073
2015-02-28 12:26:46 +07:00
bors-servo
55f7636549
auto merge of #4928 : yodalee/servo/issue4906-fix-characterdata-substringdata, r=jdm
...
issue #4906
Fix substringData function, and add a test case for all function in characterdata.
2015-02-27 19:39:58 -07:00
Chris Manchester
c81f1cc541
Add support for BinaryName attribute to servo's codegen ( fixes #4435 ) r=jdm
2015-02-27 18:28:01 -08:00
yodalee
0e29eabb87
fix function on utf8 string, pass two tests
...
dom/nodes/Node-properties.html
detachedForeignComment.length]
detachedXmlComment.length]
2015-02-28 10:21:36 +08:00
yodalee
e45b104721
add test case of dom characterdata
2015-02-28 10:21:35 +08:00
bors-servo
b2f099026a
auto merge of #4952 : bjwbell/servo/borders-txt-nodes, r=pcwalton
...
Inline fragments that are part of a text run don't have interior borders.
So don't draw interior borders or include them when calculating positioning.
Fixes https://github.com/servo/servo/issues/4658 , where multiple text nodes that are adjacent have distinct borders.
r? @Ms2ger, @pcwalton
2015-02-27 16:57:53 -07:00
Bryan Bell
ec2fa2558c
Remove interior borders during flow construction
...
Instead of looking at the boundaries of the text run, set the border
width to zero and the border style to none on border sides that are not
the outermost for a node container that is display: inline.
2015-02-27 15:52:12 -08:00
bors-servo
26567ef2e6
auto merge of #5066 : luniv/servo/document-currentscript, r=jdm
...
Implements https://github.com/servo/servo/issues/5057 (Document.currentScript)
2015-02-27 11:30:57 -07:00
James Gilbertson
5f5d1246ef
Implement Document.currentScript
2015-02-27 11:11:02 -07:00