Commit Graph

2416 Commits

Author SHA1 Message Date
Arnaud Marant
3a0351b7c1 servo: Merge #10634 - Issue #10574 Use the document base url in img (from amarant:10574-image-document-base); r=metajack
add a test with base path set to the resources path and an img with a cat and the reference directly to the image

Source-Repo: https://github.com/servo/servo
Source-Revision: 3d4416e1b0ae758e68900f725979238cc0128f8b
2016-04-19 20:21:18 +05:00
Nazım Can Altınova
43b953f998 servo: Merge #10592 - Use the document base url when resolving stylesheets (from canaltinova:stylesheet_with_base); r=Ms2ger
Use the document base url when resolving stylesheets. Fixes #10575 .

Source-Repo: https://github.com/servo/servo
Source-Revision: a7c885706ec4bd526b00ecad5d870415ae6cc1e1
2016-04-19 16:50:32 +05:00
David Zbarsky
96960f713e servo: Merge #10652 - Prevent use of reserved names in BindAttribLocation (from dzbarsky:reserved); r=dzbarsky
(Depend on the WebGL tests landing)

Source-Repo: https://github.com/servo/servo
Source-Revision: 82b952c03f94c0b8433a9fccbe9b66aa7e704924
2016-04-19 09:16:24 +05:00
Greg Guthe
e81bf27c14 servo: Merge #10508 - Insert row (from g-k:insert-row); r=KiChjang
Fixes #9269

Source-Repo: https://github.com/servo/servo
Source-Revision: 19a5a9ad081548b1ca03a1ce98857c32be5404b1
2016-04-19 01:08:38 +05:00
Keith Yeung
ffa14c7771 servo: Merge #10674 - Avoid generating parameter names that are Rust keywords (from KiChjang:codegen-avoid-rust-keywords); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: f93379ff4e33a74922b859ac2be14c43c58ec24f
2016-04-18 04:40:43 +05:00
Alberto Corona
26e0218b97 servo: Merge #10612 - Implement HTMLTextArea.setSelectionRange (continuation of #10007) (from autrilla:textdir); r=emilio
Tests on `tests/wpt/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html` all pass and the other tests don't panic due to double borrows anymore.

cc: @KiChjang

Fixes #9994.

Source-Repo: https://github.com/servo/servo
Source-Revision: b00c2740e300fd7b8c18276d8d416a9f78c42674
2016-04-17 21:28:31 +05:00
Zbynek Winkler
7b60094d0c servo: Merge #10664 - Use os.path.basename instead of split('/')[-1] (from zwn:os-path-basename); r=Wafflespeanut
Fixes #10596. I have split up this commit from  #10618 as it seem the easiest to review.

Source-Repo: https://github.com/servo/servo
Source-Revision: bae2ab0771972874e9039754e11a2f54c1aae29c
2016-04-17 20:46:08 +05:00
Rizky Luthfianto
0a4ca33aad servo: Merge #10649 - Fix Document#elementFromPoint no viewport available test (from rilut:fix-elementFromPoint-no-viewport-available-test); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: e0a100cacb812113a43b7425d8878fb1c6d153db
2016-04-16 16:09:06 +05:00
Rizky Luthfianto
511c930646 servo: Merge #10426 - Fix Document#elementsFromPoint no viewport available test (from rilut:fix-elementsFromPoint-no-viewport-available-test); r=nox
Fixes #10093 and improves #10034.

Source-Repo: https://github.com/servo/servo
Source-Revision: 44d7657487797575bb47aa295a13b496dd2cd69c
2016-04-15 23:31:23 +05:00
Stephen (Ziyun) Li
e600320d13 servo: Merge #10626 - Use the document base url when resolving iframe URLs (from sliz1:10576); r=KiChjang
Fixes #10576.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7faa3ed9cb87ebfa62554940e916bb7e4d04512b
2016-04-15 09:33:51 +05:00
Liamsi
9234725195 servo: Merge #10591 - Use the document base url when resolving script URLs (from Liamsi:base_url_script_element); r=KiChjang
Does this resolve #10578?

Source-Repo: https://github.com/servo/servo
Source-Revision: 9896e530941411c10c73125de66d41512c3b4097
2016-04-15 06:27:36 +05:00
Simon Sapin
a666359e23 servo: Merge #10606 - Remove the url! plugin (from servo:remove-url-plugin); r=nox
In rust-url 1.0 the `Url` struct is going to have private fields, and there is no way to to create an aribitrary one without going through the parser.

The plugin never had a clear demonstrated performance benefit, it was made mostly because it was possible and relatively easy at the time.

This commit was originally part of #9840, but it’s taking a while to land and I keep removing new uses of `url!` when rebasing.

r? @nox

Source-Repo: https://github.com/servo/servo
Source-Revision: 3368565b3c6c76e5ce2d170d5c5cfb2f52a56956
2016-04-14 18:44:35 +05:00
Adrian Utrilla
907bb20c30 servo: Merge #10436 - Added Uniform{2i, 2iv, 2fv, 3f, 3i, 3iv, 3fv} (from autrilla:uniform2); r=emilio
@emilio r?

Source-Repo: https://github.com/servo/servo
Source-Revision: 7845d670d0c0af7c4782c547e62c4b737e345fad
2016-04-14 17:11:12 +05:00
Stephen (Ziyun) Li
4b6c88b312 servo: Merge #10594 - Remove containing_page_pipeline_id (from sliz1:10576); r=Ms2ger
Fixes https://github.com/servo/servo/issues/10569

Source-Repo: https://github.com/servo/servo
Source-Revision: 11f4d3f35609552feded6de56cc95aaf73ccc699
2016-04-14 13:40:11 +05:00
Di Xu
5ed6db0c79 servo: Merge #10566 - replace Fallible<()> with ErrorResult (from xudifsd:error-result); r=Ms2ger
Fixes #10541

Source-Repo: https://github.com/servo/servo
Source-Revision: 697300bb16ae2fc27e0ac507210f65de4254f33d
2016-04-14 02:21:48 +05:00
Josh Matthews
bad9f8440b servo: Merge #10573 - Do not support XHR.responseXML in worker globals. Fixes #8931 (from jdm:xhrintermittent); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 4f6331953e3d6cdb40e2c96c9119a0a3298026c1
2016-04-14 01:41:26 +05:00
Corey Farwell
61988980a7 servo: Merge #10558 - Implement sectionRowIndex property on <tr> (from frewsxcv:tr-SectionRowIndex); r=KiChjang
Fixes https://github.com/servo/servo/issues/10509.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9053721a328f904909c40e8ca4a5348faa0d59ad
2016-04-13 19:03:26 +05:00
Keith Yeung
f12f409195 servo: Merge #10512 - Implement HTMLBaseElement attributes (from KiChjang:base-element-attr); r=Ms2ger
The remaining test failure in `base_multiple.html` looks like there's a problem with the test itself (it does not have a `<base>` tag at all).

Source-Repo: https://github.com/servo/servo
Source-Revision: 3ad1b9134f17803f04ac94754e640e7f876799d8
2016-04-13 18:21:42 +05:00
Josh Matthews
9968411997 servo: Merge #8658 - Implement origin concept and browsing contextless documents (from jdm:origin2); r=Ms2ger+jdm
These pave the way for implementing other parts of specifications more thoroughly.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9b57d8d686d361c0dfba1056523cbea12abd148b
2016-04-13 15:39:38 +05:00
Stjepan Glavina
0671d41260 servo: Merge #10546 - Fix typo: cannot not outlive -> cannot outlive (from stjepang:fix-typo-in-jsrs); r=Ms2ger
A `Root` cannot outlive the `RootCollection` it is recorded in.
The docs were saying otherwise.

r? @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: bbcbd35095bdfcd9b8e7eb329209682e89408c72
2016-04-13 06:00:59 +05:00
Corey Farwell
e6f7ae8dd8 servo: Merge #10510 - Implement rowIndex property on <tr> (from frewsxcv:rowindex); r=KiChjang
Part of https://github.com/servo/servo/issues/10509.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9fb5703c6dff0680aca32c50599f1782662d093c
2016-04-13 03:55:20 +05:00
Arnaud Marant
e7c7949a61 servo: Merge #10545 - remove unreachable code in codegen (from amarant:unreachable-codegen); r=Ms2ger
code is unreachable after return, and identical to the upper block

Source-Repo: https://github.com/servo/servo
Source-Revision: 155e4052d150179ea8423a7ea626a84e25409718
2016-04-13 02:35:33 +05:00
Zhen Zhang
8c105175e6 servo: Merge #10538 - Improve PerformanceTiming Interface (from izgzhen:performance_timing); r=Ms2ger
Solving https://github.com/servo/servo/issues/10428

- Fix timing precision in old `update_with_current_time`
- Correct time unit in `navigation_start`
- Add `LoadEventStart` and `LoadEventEnd` timing properties

There are still many properties left unimplemented. I tend to leave the for future PRs.

Welcome comments!

Source-Repo: https://github.com/servo/servo
Source-Revision: 421dcc92f05532e5d8bda850c8d14c9375da2bd9
2016-04-13 01:15:10 +05:00
akhan7
0cef91a1b7 servo: Merge #10543 - Implement image request concept for HTMLImageElement. Implement HTMLI… (from jdm:imageload); r=jdm
…mageElement.currentSrc.

Source-Repo: https://github.com/servo/servo
Source-Revision: 85f4e5828548f2f25b2d75cb2853b896a0854ab3
2016-04-13 00:34:28 +05:00
Yoav Alon
9cf3222c6b servo: Merge #9980 - Implement the table section IDL attributes for HTML tables (from yoava333:master); r=nox
a pull request that solves #9769.
I fixed on review note, and couldn't reproduce the second one.

Fixes #10506.

Source-Repo: https://github.com/servo/servo
Source-Revision: ea97c8905580e67e96ae00572d1c4e7af3d58736
2016-04-12 23:00:15 +05:00
Corey Farwell
2384f3a4f4 servo: Merge #10523 - Add CSSOM 'Extensions to the HTMLImageElement Interface' in WebIDL (from frewsxcv:cssom-htmlimageelement-extension); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: dfb482a2b7fdb570f34e9092384fa74a3e1b54e3
2016-04-12 15:29:27 +05:00
David Zbarsky
38a672b343 servo: Merge #10379 - Implement GetActiveAttrib (from dzbarsky:getActiveAttrib); r=emilio
@emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 376980fb570c8f68c04eaed0b22e9046856aaaa0
2016-04-12 14:48:28 +05:00
Corey Farwell
551df55ba7 servo: Merge #10535 - Implement 'align' IDL attribute on '<hr>' (from frewsxcv:hr-align); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: f9608022caf7f223dfdfe960c31fb5fe7eb0d1f1
2016-04-12 10:48:14 +05:00
Keith Yeung
fbf502cd31 servo: Merge #10522 - Various cleanups in HTMLInputElement (from KiChjang:input-cleanup); r=frewsxcv
Source-Repo: https://github.com/servo/servo
Source-Revision: 934ae41fc982058048f460a77687ab026c9a909f
2016-04-12 07:26:38 +05:00
Arnaud Marant
607f7dc1e2 servo: Merge #10505 - Issue #10491 add HTMLInputElement attributes that reflect content ide… (from amarant:10491-HTMLInputElement-attr); r=KiChjang
…ntically

it uses a new version of string-cache https://github.com/servo/string-cache/pull/148

Source-Repo: https://github.com/servo/servo
Source-Revision: 61865f66b515503971146b472ae0f8b747569fd0
2016-04-12 05:28:16 +05:00
Emilio Cobos Álvarez
c4a514963d servo: Merge #10224 - webgl: Add attribute validations and other nits (from emilio:shader-type-validations); r=jdm
Fixes https://github.com/servo/servo/issues/9958

Depends on a bunch of prs, and needs a test.

r? @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: f0014bd9cd5ac5db3e5a2f9fa8eafeb992df309a
2016-04-12 04:48:49 +05:00
Daniel Robertson
14af96527a servo: Merge #10178 - Implement flexbox reordering (from danlrobertson:flex-order); r=SimonSapin
Add style property for `order` and implement reordering by this property
in flex flow. Based on previous work by @zentner-kyle.

Fixes: #9957
Source-Repo: https://github.com/servo/servo
Source-Revision: df21bb47d414a1ff068623b55e9da644d7239731
2016-04-12 02:47:50 +05:00
Connor Brewster
d95f0f07e0 servo: Merge #10485 - Implement stub for NavigatorPlugins (from cbrewster:navigator_plugins); r=Ms2ger
This PR implements stub for NavigatorPlugins as outlined in #9991.

r? @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: 3b7e426d33e539303f46a0a153752683838186fc
2016-04-11 20:47:16 +05:00
Corey Farwell
77c9a0b3dc servo: Merge #10513 - Extract out 'is the html body element' CSSOM concept (from frewsxcv:is_the_html_body_element); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: f9f3b7529ba2c66b6203b0742c4cd89d03ddd772
2016-04-11 20:06:31 +05:00
Corey Farwell
32dfd7e351 servo: Merge #10519 - Update 'Extensions to the HTMLElement Interface' CSSOM spec links (from frewsxcv:links); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 6939ff53c40d31fe96acca9f0e62641a59dbc086
2016-04-11 19:27:08 +05:00
Keith Yeung
788d8dd440 servo: Merge #10502 - Add API base url method to global objects (from KiChjang:fix-open-url-base); r=Ms2ger
This adds an `api_base_url` function to global objects, which fixes `open-url-base.htm` under XMLHttpRequest.

Source-Repo: https://github.com/servo/servo
Source-Revision: 07304235cc88c3bb823e072e31da2dadcf0ed1be
2016-04-11 17:27:02 +05:00
Ms2ger
bad31cac80 servo: Merge #10516 - Various cleanup (from Ms2ger:cleanup); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 5adf36231e739f57dc7d1d85b37fb2a47b8f5d74
2016-04-11 13:43:48 +05:00
Corey Farwell
8984d142d5 servo: Merge #10514 - Various 'element.rs' cleanup (from frewsxcv:element-cleanup); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 5aa62b3621f4793c559f6c7eb77e06259b0a00ea
2016-04-11 08:57:11 +05:00
Nazım Can Altınova
806161e57d servo: Merge #10503 - Replaced SendParam with BodyInit (from canaltinova:master); r=KiChjang
Replaced SendParam with BodyInit. Fixes #9433 .

Source-Repo: https://github.com/servo/servo
Source-Revision: e10ab5ae532037de37295680ce38eca27e2f5b95
2016-04-10 03:08:08 +05:00
shubham_jain
da00cb03ff servo: Merge #10257 - #10141 : Document::location set null for documents without a browsing context (from slayerjain:first_bug); r=KiChjang
Fixes #10141.

Source-Repo: https://github.com/servo/servo
Source-Revision: c33bf4987af3479c515351195a55c12dacfcc871
2016-04-10 00:09:51 +05:00
Keith Yeung
92b7f5b461 servo: Merge #10086 - Implement HTMLTableElement#rows (from KiChjang:table-rows); r=Manishearth
Fixes #8084.

Source-Repo: https://github.com/servo/servo
Source-Revision: 32e53b80e28731cd05ddbe561f99e9570a34ff07
2016-04-09 16:06:40 +05:00
Shiroy
614616d580 servo: Merge #10203 - Avoid script execution when not found (from Shiroy:script-not-found-executed); r=Ms2ger
Fix #8391

If the status code is an error or has not been received, we discard data and prevent the script from being executed.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4720992ffcf23a166b3ae08d8090cff5a993a0b6
2016-04-09 15:26:57 +05:00
Arnaud Marant
4fad4ea046 servo: Merge #10463 - Issue #10456 Remove unused import warnings in HTMLLegendElement (from amarant:10456-HTMLLegendElement-warnings); r=KiChjang
Fixes #10456.

Source-Repo: https://github.com/servo/servo
Source-Revision: b6c4f5157183ee976a915a4073120102cc7f430e
2016-04-08 11:21:58 +05:00
Joe Wilm
d9a9e646af servo: Merge #9688 - Implement Worker#terminate() (fixes #4427) (from KiChjang:worker-terminate); r=jdm
Adds support for terminating DOM workers. A closing flag was added to
WorkerGlobalScope per the spec.

Rebased #6652, with some comments addressed.
Fixes #4427.

Source-Repo: https://github.com/servo/servo
Source-Revision: c0aa049b0aaf39df979234dff1ed01ff5d9aa5c5
2016-04-08 04:31:18 +05:00
Ms2ger
34ed2ffe98 servo: Merge #10453 - Update uuid (from Ms2ger:uuid); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 5cf89fea48fb1fc58fd665384cbaa2060decff31
2016-04-07 15:48:20 +05:00
Stjepan Glavina
5105047220 servo: Merge #10430 - Remove URL.base (it was removed from the spec) (from stjepang:remove-url-base); r=Ms2ger
Spec: https://url.spec.whatwg.org/#concept-url-url
Discussion on IRC: http://logs.glob.uno/?c=mozilla%23servo&s=1+Apr+2016&e=1+Apr+2016#c397947

r? @nox

Source-Repo: https://github.com/servo/servo
Source-Revision: 51766d480432cd9723ef52a710cce5a8308d28a0
2016-04-07 15:08:55 +05:00
Saurav Sachidanand
e985d24732 servo: Merge #10433 - Implement WebGLRenderingContext.getActiveUniform() (from saurvs:pr3); r=emilio
Fixes https://github.com/servo/servo/issues/10397

Source-Repo: https://github.com/servo/servo
Source-Revision: 4cc241c858ce8ee7894495d082a3bfc6233d80e8
2016-04-07 03:29:01 +05:00
Adrian Utrilla
a7d234e97a servo: Merge #10432 - Added Uniform{1iv, 2f, 2fv} (from autrilla:uniform); r=emilio
The remaining ones need changes to webrender_traits, so I'll have to open a PR there too.

r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: a5bc74be2fc2b1ab43d5809d776a5056ac8f35c7
2016-04-07 02:08:03 +05:00
Adrian Utrilla
786a75d136 servo: Merge #10388 - Added .form property for legend tag (from autrilla:dom-legend-form); r=emilio
r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: c631fcf96f03eb6113eb51f44004e68636e5eab2
2016-04-06 22:00:25 +05:00
Stjepan Glavina
c7eab9b39a servo: Merge #10351 - Implement URL.searchParams (from stjepang:impl-url-searchparams); r=Manishearth
Spec: https://url.spec.whatwg.org/#dom-url-searchparams
Closes #10335.

Source-Repo: https://github.com/servo/servo
Source-Revision: e36e3be855549ec86790c072808563538a950a41
2016-04-06 13:57:30 +05:00