Commit graph

3373 commits

Author SHA1 Message Date
Nazım Can Altınova
ffd7960ad8 Use the document base url when resolving stylesheets 2016-04-18 19:54:37 +03:00
Rizky Luthfianto
5a3ce597d3 Fix Document#elementsFromPoint no viewport available test 2016-04-16 01:05:32 +07:00
bors-servo
7faa3ed9cb Auto merge of #10626 - sliz1:10576, r=KiChjang
Use the document base url when resolving iframe URLs

Fixes #10576.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10626)
<!-- Reviewable:end -->
2016-04-15 10:03:51 +05:30
Stephen (Ziyun) Li
52c6fd5b03
Use the document base url when resolving iframe URLs 2016-04-15 00:02:45 -04:00
Liamsi
62182f9de9 Use the document base url when resolving script URLs 2016-04-15 00:25:56 +02:00
Simon Sapin
6889f37d9e Remove the url! plugin.
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.
2016-04-14 15:35:28 +02:00
bors-servo
7845d670d0 Auto merge of #10436 - autrilla:uniform2, r=emilio
Added Uniform{2i, 2iv, 2fv, 3f, 3i, 3iv, 3fv}

@emilio r?

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10436)
<!-- Reviewable:end -->
2016-04-14 17:41:12 +05:30
Adrian Utrilla
89c432b2d2
Added remaining uniforms 2016-04-14 07:42:14 +02:00
Stephen (Ziyun) Li
29e268b659
Remove containing_page_pipeline_id 2016-04-14 00:25:28 -04:00
bors-servo
697300bb16 Auto merge of #10566 - xudifsd:error-result, r=Ms2ger
replace Fallible<()> with ErrorResult

Fixes #10541

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10566)
<!-- Reviewable:end -->
2016-04-14 02:51:48 +05:30
bors-servo
4f6331953e Auto merge of #10573 - jdm:xhrintermittent, r=Manishearth
Do not support XHR.responseXML in worker globals. Fixes #8931.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10573)
<!-- Reviewable:end -->
2016-04-14 02:11:26 +05:30
Josh Matthews
dd5e28e0e6 Do not support XHR.responseXML in worker globals. Fixes #8931. 2016-04-13 13:56:07 -04:00
bors-servo
9053721a32 Auto merge of #10558 - frewsxcv:tr-SectionRowIndex, r=KiChjang
Implement `sectionRowIndex` property on `<tr>`.

Fixes https://github.com/servo/servo/issues/10509.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10558)
<!-- Reviewable:end -->
2016-04-13 19:33:26 +05:30
bors-servo
3ad1b9134f Auto merge of #10512 - KiChjang:base-element-attr, r=Ms2ger
Implement HTMLBaseElement attributes

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).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10512)
<!-- Reviewable:end -->
2016-04-13 18:51:42 +05:30
Keith Yeung
4a1eb47937 Implement HTMLBaseElement attributes 2016-04-13 08:57:17 -04:00
Di Xu
76f57efb58 replace Fallible<()> with ErrorResult 2016-04-13 19:56:52 +08:00
Josh Matthews
90454c279d Use origin when manipulating cookies. 2016-04-13 12:07:05 +02:00
Josh Matthews
fa42b452a0 Use origin for document.domain. 2016-04-13 12:07:04 +02:00
Josh Matthews
a8233a135e Implement origin concept. 2016-04-13 10:37:55 +02:00
Corey Farwell
0ee9521848 Implement sectionRowIndex property on <tr>.
Fixes https://github.com/servo/servo/issues/10509.
2016-04-12 23:17:20 -04:00
bors-servo
bbcbd35095 Auto merge of #10546 - stjepang:fix-typo-in-jsrs, r=Ms2ger
Fix typo: `cannot not outlive` -> `cannot outlive`

A `Root` cannot outlive the `RootCollection` it is recorded in.
The docs were saying otherwise.

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10546)
<!-- Reviewable:end -->
2016-04-13 06:30:59 +05:30
bors-servo
9fb5703c6d Auto merge of #10510 - frewsxcv:rowindex, r=KiChjang
Implement `rowIndex` property on `<tr>`.

Part of https://github.com/servo/servo/issues/10509.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10510)
<!-- Reviewable:end -->
2016-04-13 04:25:20 +05:30
bors-servo
155e4052d1 Auto merge of #10545 - amarant:unreachable-codegen, r=Ms2ger
remove unreachable code in codegen

code is unreachable after return, and identical to the upper block

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10545)
<!-- Reviewable:end -->
2016-04-13 03:05:33 +05:30
bors-servo
421dcc92f0 Auto merge of #10538 - izgzhen:performance_timing, r=Ms2ger
Improve PerformanceTiming Interface

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!

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10538)
<!-- Reviewable:end -->
2016-04-13 01:45:10 +05:30
bors-servo
85f4e58285 Auto merge of #10543 - jdm:imageload, r=jdm
Implement image request concept for HTMLImageElement. Implement HTMLI…

…mageElement.currentSrc.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10543)
<!-- Reviewable:end -->
2016-04-13 01:04:28 +05:30
Corey Farwell
23eb15c820 Implement rowIndex property on <tr>.
Part of https://github.com/servo/servo/issues/10509.
2016-04-12 14:58:17 -04:00
akhan7
90359b1cba Implement image request concept for HTMLImageElement. Implement HTMLImageElement.currentSrc. 2016-04-12 14:11:31 -04:00
Zhen Zhang
7169a08a34 fix performance timing precision and navigation_start unit; add LoadEventStart and LoadEventEnd timing 2016-04-13 01:30:02 +08:00
Stjepan Glavina
524bf440e7 Fix typo: cannot not outlive -> cannot outlive 2016-04-12 19:20:44 +02:00
Arnaud Marant
315120d6e8 remove unreachable code in codegen
code is unreachable after return, and identical to the upper block
2016-04-12 19:10:10 +02:00
Yoav Alon
5e3dcae71f Implement the table section IDL attributes for HTML tables 2016-04-12 18:35:55 +03:00
bors-servo
dfb482a2b7 Auto merge of #10523 - frewsxcv:cssom-htmlimageelement-extension, r=Ms2ger
Add CSSOM 'Extensions to the HTMLImageElement Interface' in WebIDL.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10523)
<!-- Reviewable:end -->
2016-04-12 15:59:27 +05:30
bors-servo
376980fb57 Auto merge of #10379 - dzbarsky:getActiveAttrib, r=emilio
Implement GetActiveAttrib

@emilio

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10379)
<!-- Reviewable:end -->
2016-04-12 15:18:28 +05:30
David Zbarsky
34644401c6 Implement GetActiveAttrib 2016-04-11 23:12:04 -07:00
bors-servo
f9608022ca Auto merge of #10535 - frewsxcv:hr-align, r=mbrubeck
Implement 'align' IDL attribute on '<hr>'.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10535)
<!-- Reviewable:end -->
2016-04-12 11:18:14 +05:30
bors-servo
934ae41fc9 Auto merge of #10522 - KiChjang:input-cleanup, r=frewsxcv
Various cleanups in HTMLInputElement

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10522)
<!-- Reviewable:end -->
2016-04-12 07:56:38 +05:30
bors-servo
61865f66b5 Auto merge of #10505 - amarant:10491-HTMLInputElement-attr, r=KiChjang
Issue #10491 add HTMLInputElement attributes that reflect content ide…

…ntically

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10505)
<!-- Reviewable:end -->
2016-04-12 05:58:16 +05:30
bors-servo
f0014bd9cd Auto merge of #10224 - emilio:shader-type-validations, r=jdm
webgl: Add attribute validations and other nits

Fixes https://github.com/servo/servo/issues/9958

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

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10224)
<!-- Reviewable:end -->
2016-04-12 05:18:49 +05:30
Corey Farwell
bd74844537 Implement 'align' IDL attribute on '<hr>'. 2016-04-11 19:46:57 -04:00
Arnaud Marant
9b8f183cba Issue #10491 add HTMLInputElement attributes that reflect content identically
it uses a new version of string-cache https://github.com/servo/string-cache/pull/148
2016-04-12 00:15:57 +02:00
Daniel Robertson
3580f91291 Implement flexbox reordering
Add style property for order and implement reordering by this property
in flex flow. Based on previous work by @zentner-kyle.
2016-04-11 16:55:16 -04:00
bors-servo
3b7e426d33 Auto merge of #10485 - ConnorGBrewster:navigator_plugins, r=Ms2ger
Implement stub for NavigatorPlugins

This PR implements stub for NavigatorPlugins as outlined in #9991.

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10485)
<!-- Reviewable:end -->
2016-04-11 21:17:16 +05:30
Connor Brewster
e83d29a7eb Implemented stub for NavigatorPlugins 2016-04-11 09:14:46 -06:00
bors-servo
f9f3b7529b Auto merge of #10513 - frewsxcv:is_the_html_body_element, r=Ms2ger
Extract out 'is the html body element' CSSOM concept.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10513)
<!-- Reviewable:end -->
2016-04-11 20:36:31 +05:30
Corey Farwell
2c9b00ef6b Extract out 'is the html body element' CSSOM concept. 2016-04-11 10:51:00 -04:00
bors-servo
6939ff53c4 Auto merge of #10519 - frewsxcv:links, r=KiChjang
Update 'Extensions to the HTMLElement Interface' CSSOM spec links.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10519)
<!-- Reviewable:end -->
2016-04-11 19:57:08 +05:30
Corey Farwell
4338cb8f68 Add CSSOM 'Extensions to the HTMLImageElement Interface' in WebIDL. 2016-04-11 09:24:55 -04:00
Keith Yeung
c9193eaeca Remove get_ prefix for functions in LayoutHTMLInputElementHelpers 2016-04-11 09:17:04 -04:00
Corey Farwell
714236e7b2 Update 'Extensions to the HTMLElement Interface' CSSOM spec links. 2016-04-11 09:05:02 -04:00
Keith Yeung
2d503c8281 Rename fn get_form_datum to form_datum 2016-04-11 08:56:47 -04:00