Commit graph

6613 commits

Author SHA1 Message Date
Manish Goregaokar
ad16c52a6b Allow passing a method, request body, and headers to the pipeline in LoadUrlMsg 2014-10-09 14:09:29 +05:30
bors-servo
15b508ac10 auto merge of #3600 : pcwalton/servo/pseudo-unshareable, r=mbrubeck
Makes multiple `<br>` elements work, since those are implemented via
`before` pseudos.

r? @mbrubeck
2014-10-09 00:06:32 -06:00
Patrick Walton
a0b369ae7d layout: Mark the styles of elements with pseudos as unshareable.
Makes multiple `<br>` elements work, since those are implemented via
`before` pseudos.
2014-10-08 22:46:54 -07:00
bors-servo
c4ac93b315 auto merge of #3599 : pcwalton/servo/z-index, r=glennw
r? @glennw
2014-10-08 23:33:33 -06:00
Patrick Walton
01c90d8d6a layout: Implement z-index. 2014-10-08 22:30:44 -07:00
bors-servo
eff0de0ce1 auto merge of #3617 : mrobinson/servo/layer-positioning, r=pcwalton
Layers are currently all children of the root layer, so instead of
using coordinates relative to the parent flow we should use coordinates
relative to the page.

Fixes #2061.
2014-10-08 17:27:33 -06:00
Martin Robinson
659c45e7b0 Position layers using their absolute position
Layers are currently all children of the root layer, so instead of
using coordinates relative to the parent flow we should use coordinates
relative to the page.

Fixes #2061.
2014-10-08 13:18:44 -07:00
bors-servo
a127fcd854 auto merge of #3577 : ttaubert/servo/issue/3193-named-element-mangle, r=jdm
Should probably use HashMap::entry() but that doesn't seem to be available with servo's current rust snapshot.

r? @Ms2ger
2014-10-08 13:15:32 -06:00
bors-servo
e89d4fa6a0 auto merge of #3613 : Ms2ger/servo/glfw, r=jdm 2014-10-08 11:57:35 -06:00
Ms2ger
ca87428df7 Update glfw-rs to pick up a build warning fix. 2014-10-08 19:47:02 +02:00
bors-servo
9be266270b auto merge of #3612 : robinst/servo/devtools-port-option, r=jdm
Note that using `servo --devtools http://example.org` doesn't work. In
that case either the port must be specified or the option moved to the
end. But this is the same for other such options, e.g. `--profile`.
2014-10-08 08:24:36 -06:00
Robin Stocker
8a5c6a0d3b Allow to specify port with --devtools option (fixes #3597)
Note that using `servo --devtools http://example.org` doesn't work. In
that case either the port must be specified or the option moved to the
end. This is done by getopts and is the same for other such options,
e.g. `--profile`.
2014-10-09 00:39:31 +11:00
bors-servo
94731270df auto merge of #3605 : Manishearth/servo/form-stuff, r=jdm 2014-10-08 03:42:34 -06:00
bors-servo
f49c730720 auto merge of #3584 : ttaubert/servo/issue/1558-attr-ns-selectors, r=Manishearth
This implements basic support for attribute selectors with namespace prefixes. I would have added a more sophisticated test covering various selectors but it seems that we don't have an XML parser yet and thus no XHTML support?

r? @SimonSapin
2014-10-08 03:12:34 -06:00
Manish Goregaokar
1484acb7af Address review comments 2014-10-08 14:37:22 +05:30
Tim Taubert
b9e23563bb Support [*|attr], attribute selectors in any namespace (fixes #1558) 2014-10-08 11:01:31 +02:00
bors-servo
070b6046aa auto merge of #3606 : gilles-leblanc/servo/cleanup-ini-file, r=Manishearth
All expected failures were corrected in previous commit which removed
lines from ini file but did not delete it.
2014-10-08 02:15:35 -06:00
bors-servo
c628d11e6f auto merge of #3603 : pcwalton/servo/pre-ignorable-whitespace, r=mbrubeck
Improves the Google home page.

r? @mbrubeck
2014-10-08 01:15:36 -06:00
bors-servo
8312fde154 auto merge of #3601 : SimonSapin/servo/runtime-ua-stylesheet, r=jdm
When we want to use Servo binaries outside of their `target` build directory, `./resources` is what we’ll need to ship with them.

r? @jdm
2014-10-08 00:42:36 -06:00
Gilles Leblanc
9709ce24f0 Remove empty wpt ini file
All expected failures were corrected in previous commit which removed
lines from ini file but did not delete it.
2014-10-07 19:24:25 -04:00
Patrick Walton
d30762bb9f layout: white_space::pre should not yield ignorable whitespace.
Improves the Google home page.
2014-10-07 13:39:41 -07:00
Simon Sapin
cf1785ecb1 Read user-agent.css at run time. Fix #3516 2014-10-07 21:16:54 +01:00
bors-servo
543f11b62b auto merge of #3602 : pcwalton/servo/max-height-input, r=jdm
Some pages, like Google, want to set height explicitly.

r? @jdm
2014-10-07 12:30:34 -06:00
Patrick Walton
a4352b1da2 style: Remove max-height from the input style.
Some pages, like Google, want to set height explicitly.
2014-10-07 11:21:50 -07:00
Manish Goregaokar
3a1f9bd7fb Use macro setters everywhere else 2014-10-07 22:22:54 +05:30
Manish Goregaokar
8cba6c7580 Add macro for reflecting URLs 2014-10-07 22:22:48 +05:30
Manish Goregaokar
e9f654d60a Use macro setters for <img> 2014-10-07 21:29:26 +05:30
Manish Goregaokar
65e9ab8ece Use macro setters for <input> 2014-10-07 21:22:03 +05:30
Manish Goregaokar
332c94b730 Implement most of HTMLFormElement's webidl 2014-10-07 21:12:55 +05:30
Manish Goregaokar
98d1ddfcd3 Add setter macros, improve getter macros 2014-10-07 19:49:43 +05:30
bors-servo
ae946a9b76 auto merge of #3592 : zwarich/servo/trailing-whitespace, r=Manishearth
The Mach test runner doesn't actually make these failures yet, which is
tracked by #3482.
2014-10-07 04:57:29 -06:00
bors-servo
b69187685d auto merge of #3589 : Ms2ger/servo/wpt_20141006, r=jdm 2014-10-07 02:03:29 -06:00
Ms2ger
5e59a27dd4 Update web-platform-tests. 2014-10-07 09:38:57 +02:00
bors-servo
a4b414746b auto merge of #3575 : gilles-leblanc/servo/issue-3139, r=Ms2ger
Fixes #3139
2014-10-07 01:33:32 -06:00
bors-servo
4475cbe7e8 auto merge of #3548 : glennw/servo/remove-encodable, r=jdm 2014-10-06 23:51:35 -06:00
bors-servo
3e8aa05921 auto merge of #3565 : glennw/servo/user-agent, r=mbrubeck
Fixes #3455
2014-10-06 23:21:32 -06:00
Gilles Leblanc
3a5a66d54e Take the prefix from createElementNS into account for HTML elements
Fixes #3139
2014-10-06 22:49:49 -04:00
bors-servo
0549ed3c67 auto merge of #3593 : zwarich/servo/compositor-cleanup, r=mrobinson 2014-10-06 18:24:32 -06:00
Cameron Zwarich
54f9bb0eea Cleanup some code formatting in compositing/compositor.rs 2014-10-06 15:40:38 -07:00
Glenn Watson
69d98204a0 Fix missing field in CEF port. 2014-10-07 08:17:51 +10:00
Glenn Watson
01be57cfae Remove manual encodable implementation. Fixes #3425. 2014-10-07 08:00:23 +10:00
bors-servo
1aa13bb31f auto merge of #3591 : zwarich/servo/style-properties-mut, r=jdm
I would have put the attribute on the binding itself, but that doesn't
appear to be possible yet.
2014-10-06 15:57:34 -06:00
Cameron Zwarich
fb810c08dc Remove trailing whitespace
The Mach test runner doesn't actually make these failures yet, which is
tracked by #3482.
2014-10-06 14:40:42 -07:00
Cameron Zwarich
0ede734018 Silence unused_mut warnings in generated style/properties/mod.rs
I would have put the attribute on the binding itself, but that doesn't
appear to be possible yet.
2014-10-06 14:37:47 -07:00
bors-servo
ffa992864d auto merge of #3587 : Ms2ger/servo/wptrunner-update, r=jdm 2014-10-06 14:45:31 -06:00
Ms2ger
ff42493d87 Update to wptrunner 1.3, which actually runs. 2014-10-06 22:42:49 +02:00
bors-servo
06489fcc42 auto merge of #3571 : Ms2ger/servo/rewrite-js-url, r=jdm
This should make it clearer that we always pass a URL to Document::new, and
avoids an unnecessary unwrap() call.
2014-10-06 12:21:30 -06:00
bors-servo
ae4c9be536 auto merge of #3573 : Manishearth/servo/warnings, r=jdm 2014-10-06 11:51:32 -06:00
bors-servo
8c858b4575 auto merge of #3572 : Ms2ger/servo/gc, r=metajack 2014-10-06 11:24:31 -06:00
bors-servo
f60e985e6b auto merge of #3570 : Ms2ger/servo/rc-scripttask, r=metajack
The ScriptTask is owned by the proc in ScriptTaskFactory::create.

We started using a managed box for what would eventually become ScriptTask in
d21d27e086.
2014-10-06 11:00:37 -06:00