Ms2ger
036b789377
Remove HTMLCanvasData::renderer_id.
2016-03-21 17:41:46 +01:00
bors-servo
95de8b2b03
Auto merge of #10094 - KiChjang:remove-extra-iter, r=asajeffrey
...
Remove HTMLCollectionElementsRevIter
It's almost a duplicate of HTMLCollectionElementsIter, aside from that its node_iter is a PrecedingNodeIter. We can simply use dynamic dispatch for node_iter instead of making it a concrete type.
<!-- 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/10094 )
<!-- Reviewable:end -->
2016-03-21 22:09:47 +05:30
Patrick Walton
ed6ee29951
script: Don't paint layouts induced by hit test queries.
...
Reduces CPU usage when mousing over simple pages.
Part of #9999 .
2016-03-21 08:39:46 -07:00
bors-servo
e95368df62
Auto merge of #10096 - GuillaumeGomez:fun_to_string, r=nox
...
Make all interface objects share the same funToString
Fixes #9280
<!-- 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/10096 )
<!-- Reviewable:end -->
2016-03-21 16:50:44 +05:30
Paul Rouget
6577409b95
Add history information to mozbrowserlocationchange event
2016-03-21 19:19:48 +08:00
Guillaume Gomez
b6feab97e0
Make all interface objects share the same funToString
2016-03-21 11:57:48 +01:00
Ms2ger
6f679c124c
Update to Rust 2016-03-18.
2016-03-20 10:05:45 +01:00
bors-servo
98a1b17cec
Auto merge of #10090 - servo:tracking-nav-langs, r=ecoal95
...
Add link to tracking issue for NavigatorLanguage::Languages.
<!-- 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/10090 )
<!-- Reviewable:end -->
2016-03-20 09:30:10 +05:30
bors-servo
8e95f54501
Auto merge of #10079 - servo:script-encoding, r=jdm
...
Implement encoding determination for external scripts.
<!-- 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/10079 )
<!-- Reviewable:end -->
2016-03-20 06:28:25 +05:30
Keith Yeung
4e81fd36b0
Remove HTMLCollectionElementsRevIter
2016-03-19 20:28:40 -04:00
Matt Brubeck
25c1bce9f6
Recompute viewport-dependent styles on viewport size change
...
Fixes #8754 .
2016-03-19 13:23:39 -07:00
bors-servo
4df7975ed3
Auto merge of #10066 - apopiak:fromBool, r=asajeffrey
...
implement and use From<bool> for enum and back
as discussed in the #servo channel on IRC:
implement and use `From<bool>` for `EventBubbles` (and back direction)
implement and use `From<bool>` for `EventCancelable` (and back direction)
<!-- 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/10066 )
<!-- Reviewable:end -->
2016-03-19 22:58:21 +05:30
Corey Farwell
deefa8907a
Add link to tracking issue for NavigatorLanguage::Languages.
2016-03-19 11:09:24 -04:00
Ms2ger
f1f53468a0
Use a Cell for HTMLScriptElement::block_character_encoding.
2016-03-18 16:51:29 +01:00
askalski
89b8499df8
Implement encoding determination for external scripts.
2016-03-18 16:51:25 +01:00
Ms2ger
b1cd28e9c6
Store the encoding in the Document rather than its name.
2016-03-18 16:22:52 +01:00
bors-servo
20eb81c00a
Auto merge of #10009 - creativcoder:impl-navigator-language, r=Ms2ger
...
implements NavigatorLanguage
Fixes #9992
<!-- 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/10009 )
<!-- Reviewable:end -->
2016-03-18 15:29:46 +05:30
Alexander Popiak
0a5ac3b207
implement and use From<bool> for enum and back
...
implement and use From<bool> for EventBubbles (and back direction)
implement and use From<bool> for EventCancelable (and back direction)
2016-03-17 22:50:22 +01:00
bors-servo
0008c07dc3
Auto merge of #10014 - saurvs:pr1, r=KiChjang
...
Update WebSocket blocked ports to match the Fetch spec
Adresses #9949 .
This adds a function that tests whether a request should be blocked or not based on it's url's scheme and port. It also adds testing for port restriction to the `main_fetch` method. More info in eb07418c83
.
@Ms2ger In https://github.com/whatwg/html/issues/841 , @annevk proposes to remove port restrictions from websockets. Should we go ahead do that, given that the spec hasn't been changed yet?
<!-- 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/10014 )
<!-- Reviewable:end -->
2016-03-18 00:31:24 +05:30
St.Spyder
34726d8b9e
Implementation of Blob Constructor with test changes
2016-03-17 23:47:12 +05:30
Anthony Ramine
46c505e47b
Bump serde to 0.7
2016-03-17 13:52:39 +01:00
Saurav Sachidanand
4ddf4e7bdc
Update WebSocket blocked ports to match the Fetch spec
2016-03-17 18:21:20 +05:30
Rahul Sharma
facf59177c
implements NavigatorLanguage
2016-03-17 16:13:37 +05:30
Anthony Ramine
f7af675861
Update log to 0.3.5
2016-03-16 23:36:04 -07:00
bors-servo
909ff4446a
Auto merge of #10035 - saurvs:master, r=jdm
...
Resets selection in textinput when its content is changed.
Fixes https://github.com/servo/servo/issues/10005 .
<!-- 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/10035 )
<!-- Reviewable:end -->
2016-03-17 01:32:58 +05:30
Saurav Sachidanand
0b593759df
Resets selection in textinput when its content is changed.
...
Adds a wpt test as well.
2016-03-16 22:20:22 +05:30
bors-servo
37574065e0
Auto merge of #9838 - szeged:webbluetooth, r=jdm
...
WebBluetooth API classes
Basic implementation of WebBluetooth API
API spec.: https://webbluetoothcg.github.io/web-bluetooth/
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9838 )
<!-- Reviewable:end -->
2016-03-16 21:01:18 +05:30
Attila Dusnoki
e7d70cfabf
WebBluetooth API classes
2016-03-16 10:34:48 +01:00
bors-servo
00ab2e9f9e
Auto merge of #9967 - saurvs:master, r=Ms2ger
...
Convert directly from DOMString to Vec<u8>
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9967 )
<!-- Reviewable:end -->
2016-03-12 01:19:04 +05:30
bors-servo
7ff7932a8c
Auto merge of #9824 - danlrobertson:element1, r=asajeffrey
...
Add the scrollWidth and scrollHeight extensions to the element interface
Add the `scrollWidth` and `scrollHeight` extensions to the element interface. My goal was to create a method that encompassed getting `scrollWidth`, `scrollHeight`, `scrollTop`, and `scrollLeft`.
I also noted that `clientHeight` and `clientWidth` to not handle the root element and the body element correctly.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9824 )
<!-- Reviewable:end -->
2016-03-12 00:19:24 +05:30
Daniel Robertson
16d2778ece
Add scrollWidth/Height to element interface
...
Add the scrollWidth and scrollHeight extensions to the element
interface.
2016-03-11 18:22:16 +00:00
Saurav Sachidanand
663e42bdbd
Convert directly from DOMString to Vec<u8>
2016-03-11 23:38:16 +05:30
bors-servo
f2f6787189
Auto merge of #9930 - rebstar6:htmlclick, r=jdm
...
Remove activatable element filter within HTMLElement#click()
Address https://github.com/servo/servo/issues/6542
Ensure that click() calls are not limited to activatable elements. Also makes the isTrusted attribute false when synthetic click activation are called from a click() method (as per spec).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9930 )
<!-- Reviewable:end -->
2016-03-11 10:06:24 +05:30
bors-servo
eac68c523b
Auto merge of #9905 - saurvs:master, r=ecoal95
...
Implement input.setSelectionRange
Fixes https://github.com/servo/servo/issues/9862 .
Passes all tests for `input` in `tests/wpt/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html`.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9905 )
<!-- Reviewable:end -->
2016-03-11 06:13:51 +05:30
Rebecca
d6678a184b
Call synthetic_click_activation for all clicks
...
Moved synthetic_click_actiavtion out of Activatable trait so it can be
called by all elements (not just activatable). Calls appropriately
from click. Also updates the isdisabled check in click to check for all
types of elements
2016-03-10 14:43:33 -05:00
Saurav Sachidanand
a3d77790a6
Implement input.setSelectionRange
2016-03-10 19:54:21 +05:30
Keith Yeung
3f2cbf0025
Add task_source directory
...
Use DOMManipulationTaskSource whenever possible
2016-03-10 01:05:53 -05:00
bors-servo
fa93d3f467
Auto merge of #9796 - KiChjang:range-stringifier, r=jdm
...
Implement Stringifier for Range
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9796 )
<!-- Reviewable:end -->
2016-03-10 07:35:06 +05:30
Keith Yeung
b32e859c3a
Implement Stringifier for Range
2016-03-09 15:27:37 -05:00
Anthony Ramine
b66d190166
Bump url to 0.5.7
2016-03-09 20:15:16 +01:00
Anthony Ramine
10e19e06a7
Bump string_cache to 0.2.11
2016-03-09 20:15:15 +01:00
Anthony Ramine
f89c321141
Bump euclid to 0.6.4
2016-03-09 20:15:11 +01:00
Anthony Ramine
200e2286fd
Bump cssparser to 0.5.4
2016-03-09 20:14:38 +01:00
Anthony Ramine
5720c76816
Bump app_units to 0.2.3
2016-03-09 20:14:35 +01:00
Suvish Varghese Thoovamalayil
de68820e76
Remove unused cell_extras feature gates. Fixes #9912
2016-03-08 16:56:13 +05:30
bors-servo
b6e469cbde
Auto merge of #9903 - servo:ref-filter-map, r=nox
...
Replace usage of deprecated std::cell::Ref::filter_map
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9903 )
<!-- Reviewable:end -->
2016-03-08 08:52:45 +05:30
Simon Sapin
62034b956e
Replace usage of deprecated std::cell::Ref::filter_map
2016-03-07 18:53:38 +01:00
Arpad Borsos
c880c97b1b
rename deprecated utf16_units to encode_utf16
2016-03-07 16:14:04 +01:00
Anthony Ramine
7c1dd54895
Update to Rust 2016-03-05
2016-03-06 10:36:49 +01:00
bors-servo
64fb09ca2d
Auto merge of #9800 - Wafflespeanut:node_attrs, r=nox
...
fixed the last failing test in dom/nodes/attributes.html
r? @nox
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9800 )
<!-- Reviewable:end -->
2016-03-05 21:32:46 +05:30