Zhen Zhang
fefdaf76de
Implement ScrollTop and ScrollLeft getters:
...
Add new compositor message to get scroll_offset;
Add new layout query for computed value of overflow-x/y;
Implement layer_id method for ThreadSafeLayoutNode;
Add new layout query for layer_id;
Implement script interface for getting scrollTop and scrollLeft, as well as relavant helper functions.
2016-04-19 12:27:35 +08:00
bors-servo
19a5a9ad08
Auto merge of #10508 - g-k:insert-row, r=KiChjang
...
Insert row
Fixes #9269
<!-- 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/10508 )
<!-- Reviewable:end -->
2016-04-19 01:38:38 +05:30
Greg Guthe
1d59d8784d
Implement HTMLTableElement.insertRow()
...
refs: https://github.com/servo/servo/issues/9269
and update HTMLTableElement.webidl
insertRow returns an HTMLTableRowElement and throws an IndexSizeError
sortable and stopSorting were removed.
2016-04-18 15:18:16 -04:00
Keith Yeung
c6b6d2c84e
Avoid generating parameter names that are Rust keywords
2016-04-17 19:37:42 -04:00
bors-servo
b00c2740e3
Auto merge of #10612 - autrilla:textdir, r=emilio
...
Implement HTMLTextArea.setSelectionRange (continuation of #10007 )
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 .
<!-- 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/10612 )
<!-- Reviewable:end -->
2016-04-17 21:58:31 +05:30
Zbynek Winkler
b6dc34862a
Use os.path.basename instead of split('/')[-1]
...
Fixes #10596 .
2016-04-17 17:37:29 +02:00
Alberto Corona
5e863f2eb8
Implement HTMLTextArea.setSelectionRange
2016-04-17 17:27:26 +02:00
Rizky Luthfianto
5ad312cb8e
Fix Document#elementFromPoint no viewport available test
2016-04-16 17:16:27 +07: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
bors-servo
2b910678db
Auto merge of #10587 - asajeffrey:add-failure-panic-message, r=Manishearth
...
Added panic message to failures.
Added the panic message to failures. This is a step towards #10334 , since it gives us access to the panic error message when we fire a `mozbrowsererror` event. The remaining steps are also to record the backtrace, and to report the failure in the event.
<!-- 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/10587 )
<!-- Reviewable:end -->
2016-04-14 19:55:17 +05:30
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
Alan Jeffrey
8c0fa01884
Added panic message to failures.
2016-04-13 16:09:48 -05:00
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
d566f1c143
Auto merge of #10565 - saurvs:master, r=Ms2ger
...
Update to byteorder 0.5
Finishes https://github.com/servo/servo/issues/10437 .
<!-- 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/10565 )
<!-- Reviewable:end -->
2016-04-13 20:27:50 +05:30
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
Saurav Sachidanand
647d9874c2
Update to byteorder 0.5
2016-04-13 16:36:02 +05:30
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