Anthony Ramine
b3820047da
Fix HTMLTemplateElement.innerHTML
...
https://github.com/w3c/DOM-Parsing/issues/1
2015-09-08 10:28:24 +02:00
Anthony Ramine
a5cefe41d0
Implement adopting and cloning steps for HTMLTemplateElement
2015-09-08 10:28:23 +02:00
Anthony Ramine
663f1d65e3
Fix tests in template-contents-owner-document-type.html
...
HTMLDocument isn't a thing anymore.
2015-09-08 10:28:22 +02:00
Anthony Ramine
a7476a758e
Bump html5ever to 0.2.4, <template> support!
...
The failing <img> test comes from the now-correct parsing of <font face> elements
in SVG.
2015-09-08 10:28:21 +02:00
Anthony Ramine
880364b56d
Enable template tests
...
All tests using iframes can't currently pass, same for innerHTML-related tests
with <template> elements. The latter contradicts the spec, see the links below.
https://github.com/servo/html5ever/issues/164
https://github.com/w3c/DOM-Parsing/issues/1
2015-09-08 09:32:50 +02:00
Anthony Ramine
e2b8febfd5
Implement adopting steps
...
https://dom.spec.whatwg.org/#concept-node-adopt
https://github.com/whatwg/dom/pull/66
2015-09-08 09:32:49 +02:00
bors-servo
3f9b6f8586
Auto merge of #7530 - Ms2ger:html, r=jdm
...
Disable html tests in __dir__.ini rather than include.ini.
This ensures those tests are skipped when running ./mach test-wpt html.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7530 )
<!-- Reviewable:end -->
2015-09-03 09:02:50 -06:00
Ms2ger
509b050712
Disable html tests in __dir__.ini rather than include.ini.
...
This ensures those tests are skipped when running ./mach test-wpt html.
2015-09-03 17:02:06 +02:00
bors-servo
33063fd887
Auto merge of #7528 - jdm:updatecssfix, r=frewsxcv
...
Remove obsolete method call that breaks ./mach update-css.
r? @frewsxcv
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7528 )
<!-- Reviewable:end -->
2015-09-02 23:29:03 -06:00
bors-servo
3a09c027e2
Auto merge of #7526 - frewsxcv:bump-no-warnings, r=jdm
...
Upgrade rust-block to silence warning
https://github.com/SSheldon/rust-block/pull/1
Relevant to https://github.com/servo/servo/pull/7513
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7526 )
<!-- Reviewable:end -->
2015-09-02 22:57:13 -06:00
Josh Matthews
152b76b963
Remove obsolete method call that breaks ./mach update-css.
2015-09-03 00:37:44 -04:00
Corey Farwell
68e65d775a
Upgrade rust-block to silence warning
...
https://github.com/SSheldon/rust-block/pull/1
Relevant to https://github.com/servo/servo/pull/7513
2015-09-03 00:00:48 -04:00
bors-servo
625b4938ef
Auto merge of #7525 - eefriedman:ogl-version-requirement, r=glennw
...
Cut required desktop OpenGL version from 3.0 to 2.1.
Mesa software rendering on Ubuntu 14.04 only claims to support OpenGL 2.1,
so servo crashes on startup. It seems to work fine if an OpenGL 2.1 context
is requested.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7525 )
<!-- Reviewable:end -->
2015-09-02 21:12:34 -06:00
Eli Friedman
c82401f213
Cut required desktop OpenGL version from 3.0 to 2.1.
...
Mesa software rendering on Ubuntu 14.04 only claims to support OpenGL 2.1,
so servo crashes on startup. It seems to work fine if an OpenGL 2.1 context
is requested.
2015-09-02 19:51:28 -07:00
bors-servo
0f596cdb55
Auto merge of #7521 - eefriedman:unnecessary-refcell, r=jdm
...
Remove unnecessary uses of DOMRefCell.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7521 )
<!-- Reviewable:end -->
2015-09-02 17:28:37 -06:00
Eli Friedman
57a3e1465c
Remove unnecessary uses of DOMRefCell.
2015-09-02 15:21:57 -07:00
bors-servo
d01ab61734
Auto merge of #7519 - Manishearth:clippyfix, r=SimonSapin
...
Make style clippy-free
(except for properties.rs)
I might add more fixes to this PR later.
r? @SimonSapin
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7519 )
<!-- Reviewable:end -->
2015-09-02 16:11:30 -06:00
Manish Goregaokar
97422ad252
Various fixes in style
2015-09-03 03:16:00 +05:30
Manish Goregaokar
840e4c90d5
Fix match_ref_pats issues in values.rs
2015-09-03 03:15:46 +05:30
Manish Goregaokar
768cc79146
Various fixes in stylesheets
2015-09-03 03:15:16 +05:30
bors-servo
da02dba979
Auto merge of #7511 - psdh:attrtokato, r=Ms2ger
...
make AttrVal tokens() and atom() return or panic
Fixes #7479
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7511 )
<!-- Reviewable:end -->
2015-09-02 15:03:10 -06:00
bors-servo
ded6159d48
Auto merge of #7516 - frewsxcv:dirty-script-dir, r=metajack
...
Allow 'script' component to enter a 'built' state
After this pull request merged:
https://github.com/servo/servo/pull/7209
the 'script' component would never enter a 'built' state. In other
words, if one calls `mach build`, lets it complete, then calls `mach
build` again, the 'script' component would rebuild even though we
supposedly just built it. This was due to the `ParserResults.pkl`
getting placed in the `components/script` directory instead of the
output directory, causing cargo to think that there were unbuilt files.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7516 )
<!-- Reviewable:end -->
2015-09-02 14:29:21 -06:00
Corey Farwell
8792aa7fc0
Allow 'script' component to enter a 'built' state
...
After this pull request merged:
https://github.com/servo/servo/pull/7209
the 'script' component would never enter a 'built' state. In other
words, if one calls `mach build`, lets it complete, then calls `mach
build` again, the 'script' component would rebuild even though we
supposedly just built it. This was due to the `ParserResults.pkl`
getting placed in the `components/script` directory instead of the
output directory, causing cargo to think that there were unbuilt files.
2015-09-02 16:14:04 -04:00
bors-servo
b1b8258a87
Auto merge of #7515 - Ms2ger:devtools-lint, r=jdm
...
Lint devtools.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7515 )
<!-- Reviewable:end -->
2015-09-02 12:32:44 -06:00
bors-servo
3424e234c8
Auto merge of #7499 - nerith:style, r=metajack
...
Improve style nit check for space after a comma
Fixes #7345 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7499 )
<!-- Reviewable:end -->
2015-09-02 12:05:58 -06:00
Ms2ger
0decdaaf99
Make devtools depend on plugins.
2015-09-02 19:51:23 +02:00
Ms2ger
1257a33394
Stop calling to_string() in devtools.
2015-09-02 19:51:22 +02:00
Ms2ger
62a98e4918
Cleanup write_json_packet.
2015-09-02 19:51:20 +02:00
Prabhjyot Singh Sodhi
105ea0d690
renaming tokens(), atom() and uint() and rewriting to return or panic
2015-09-02 22:20:33 +05:30
bors-servo
366d4a83f1
Auto merge of #7418 - jdm:httppool, r=jdm
...
Enable HTTP connection pooling
Rebased and adjusted version of #6948 . Closes #6948 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7418 )
<!-- Reviewable:end -->
2015-09-02 10:48:07 -06:00
Sean McArthur
a1a9db8ffd
net: use connection pooling
2015-09-02 12:46:53 -04:00
bors-servo
b7c88dd547
Auto merge of #7513 - frewsxcv:bump-no-warnings, r=Ms2ger
...
Upgrade some dependencies to silence warnings
In order to pick up these changes:
* servo/euclid#101
* netvl/xml-rs#102
* jgraham/webdriver-rust#17
* ecoal95/rust-offscreen-rendering-context#27
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7513 )
<!-- Reviewable:end -->
2015-09-02 09:42:29 -06:00
bors-servo
e1ede2074d
Auto merge of #7429 - GyrosOfWar:serialize_list_space_fix, r=jdm
...
Fixed serialize_list to no longer append an additional space at the e…
…nd of the string.
Fixes #7404
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7429 )
<!-- Reviewable:end -->
2015-09-02 09:15:16 -06:00
Corey Farwell
096ac214b6
Upgrade some dependencies to silence warnings
...
In order to pick up these changes:
* https://github.com/servo/euclid/pull/101
* https://github.com/netvl/xml-rs/pull/102
* https://github.com/jgraham/webdriver-rust/pull/17
* https://github.com/ecoal95/rust-offscreen-rendering-context/pull/27
2015-09-02 10:53:52 -04:00
bors-servo
4e6bbe2272
Auto merge of #7117 - frewsxcv:python-venv, r=jdm
...
Reenable "Use one Python virtual environment for all mach commands"
Address the issues brought up by https://github.com/servo/servo/pull/7103
The revert requires an upgrade to wptrunner (for the mozlog 3.0 compatibility) because the latest wptrunner depends on [this](https://github.com/w3c/wpt-tools/pull/27 ))
/cc @Ms2ger @metajack
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7117 )
<!-- Reviewable:end -->
2015-09-02 08:44:27 -06:00
Corey Farwell
96dda031a0
Update web-platform-tests expected data
2015-09-02 10:23:05 -04:00
bors-servo
eaf90c0b1c
Auto merge of #7452 - nox:cleanup-attributes, r=nox
...
Introduce VirtualMethods::attribute_mutated()
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7452 )
<!-- Reviewable:end -->
2015-09-02 08:14:33 -06:00
Martin Tomasi
ccddc3c13e
Fixed serialize_list to no longer append an additional space at the end of the string
2015-09-02 15:46:04 +02:00
Anthony Ramine
58e1bd0e57
Introduce VirtualMethods::attribute_mutated()
...
This replaces before_remove_attr(), after_remove_attr() and after_set_attr().
The virtual method takes the mutated attribute and an AttributeMutation value
to disambiguate between "attribute is changed", "attribute is added" and
"attribute is removed".
In the case of "attribute is changed", the mutation value contains a reference
to the old value of the mutated attribute, which is used to unregister outdated
named elements when the "id" attribute is changed on an element.
This greatly simplifies the handling of attributes, which in many cases don't
have any specific behaviour whether they are removed or changed or added. It
also fixes a few bugs where things were put in before_remove_attr() instead of
after_remove_attr() (e.g. when removing an href attribute from a base element).
A few helper functions in Element were also renamed and made private.
2015-09-02 15:45:38 +02:00
Corey Farwell
31e57cb349
Remove references to no-longer-in-tree Python packages
2015-09-02 09:34:02 -04:00
Corey Farwell
e38df50bbf
Revert "Revert "Auto merge of #7103 - frewsxcv:python-venv, r=metajack" for breaking web-platform-tests."
...
This reverts commit 47d6d958f5
.
2015-09-02 09:34:01 -04:00
Corey Farwell
759c52d7eb
Upgrade wptrunner (tests/wpt/harness) to latest version
2015-09-02 09:33:58 -04:00
bors-servo
5478c7c24b
Auto merge of #7505 - frewsxcv:bump-wpt-css-tests, r=jdm
...
Update CSS tests to revision c8ec30de8099360ecf6581035bfdf2180fcc9755
Necessary for:
https://github.com/servo/servo/pull/7117
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7505 )
<!-- Reviewable:end -->
2015-09-02 06:56:54 -06:00
Corey Farwell
c51deb9a6e
Update CSS tests to revision c8ec30de8099360ecf6581035bfdf2180fcc9755
...
Necessary for:
https://github.com/servo/servo/pull/7117
2015-09-02 08:18:30 -04:00
bors-servo
04b21fa24a
Auto merge of #7510 - servo:update-wpt, r=Ms2ger
...
Update web-platform-tests to revision cf8340b5fae7b820788ffc31f8cc6b6b04978002
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7510 )
<!-- Reviewable:end -->
2015-09-02 04:11:33 -06:00
Ms2ger
538f8f0ef9
Update web-platform-tests to revision cf8340b5fae7b820788ffc31f8cc6b6b04978002
2015-09-02 11:52:24 +02:00
bors-servo
a547ae6826
Auto merge of #7496 - servo:calc_, r=SimonSapin
...
Implement CSS3 Calc
This is #7185 with one commit added to make it build merged with master, which got support for the `ch` unit in the meantime.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7496 )
<!-- Reviewable:end -->
2015-09-02 02:33:18 -06:00
Simon Sapin
b51b7dd2ce
Fix ch/em confusion.
2015-09-02 10:14:00 +02:00
Simon Sapin
9f48dcd858
Fix font-size keywords parsing.
2015-09-02 09:54:38 +02:00
bors-servo
f49615ca7b
Auto merge of #7509 - servo:rustup_2015-09-01, r=Manishearth
...
Upgrade to rustc 1.4.0-dev (cb9323ec0 2015-09-01)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7509 )
<!-- Reviewable:end -->
2015-09-02 01:31:23 -06:00