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
Alberto Corona
5e863f2eb8
Implement HTMLTextArea.setSelectionRange
2016-04-17 17:27:26 +02:00
Adrian Utrilla
89c432b2d2
Added remaining uniforms
2016-04-14 07:42:14 +02: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
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
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
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
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
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
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
Corey Farwell
4338cb8f68
Add CSSOM 'Extensions to the HTMLImageElement Interface' in WebIDL.
2016-04-11 09:24:55 -04:00
shubham_jain
6626c5cfd4
issue #10141 : Document::location set null for documents without a browsing context. r=Ms2ger
2016-04-09 22:54:07 +05:30
bors-servo
32e53b80e2
Auto merge of #10086 - KiChjang:table-rows, r=Manishearth
...
Implement HTMLTableElement#rows
Fixes #8084 .
<!-- 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/10086 )
<!-- Reviewable:end -->
2016-04-09 16:36:40 +05:30
Joe Wilm
229b176321
Implement Worker#terminate() ( fixes #4427 ).
...
Adds support for terminating DOM workers. A closing flag was added to
WorkerGlobalScope per the spec.
2016-04-07 18:54:32 -04:00
Keith Yeung
54f139c5cf
Implement HTMLTableElement#rows
2016-04-07 18:37:42 -04:00
bors-servo
4cc241c858
Auto merge of #10433 - saurvs:pr3, r=emilio
...
Implement WebGLRenderingContext.getActiveUniform()
Fixes https://github.com/servo/servo/issues/10397
<!-- 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/10433 )
<!-- Reviewable:end -->
2016-04-07 03:59:01 +05:30
bors-servo
a5bc74be2f
Auto merge of #10432 - autrilla:uniform, r=emilio
...
Added Uniform{1iv, 2f, 2fv}
The remaining ones need changes to webrender_traits, so I'll have to open a PR there too.
r? @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/10432 )
<!-- Reviewable:end -->
2016-04-07 02:38:03 +05:30
bors-servo
c631fcf96f
Auto merge of #10388 - autrilla:dom-legend-form, r=emilio
...
Added .form property for legend tag
r? @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/10388 )
<!-- Reviewable:end -->
2016-04-06 22:30:25 +05:30
Adrian Utrilla
a8f9887d86
Added .form property for legend tag
2016-04-06 17:42:24 +02:00
Saurav Sachidanand
56eef10718
Implement WebGLRenderingContext.getActiveUniform()
2016-04-06 20:02:45 +05:30
Adrian Utrilla
36522ba9c3
Added Uniform2fv
2016-04-06 13:12:44 +02:00
Adrian Utrilla
4ff131e14e
Added Uniform2f
2016-04-06 12:20:58 +02:00
Adrian Utrilla
b48e0f2ba9
Added Uniform1iv
2016-04-06 12:20:57 +02:00
bors-servo
e36e3be855
Auto merge of #10351 - stjepang:impl-url-searchparams, r=Manishearth
...
Implement URL.searchParams
Spec: https://url.spec.whatwg.org/#dom-url-searchparams
Closes #10335 .
<!-- 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/10351 )
<!-- Reviewable:end -->
2016-04-06 14:27:30 +05:30
bors-servo
0ff8adb097
Auto merge of #9811 - paulrouget:forceTouch, r=mbrubeck
...
forcetouch events
https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html
Not sure how we want to land that yet. Maybe reproduce the webkit events (as in this PR), or as touch/mousemouse events.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9811 )
<!-- Reviewable:end -->
2016-04-05 21:07:05 +05:30
Stjepan Glavina
7b38f289b0
Implement URL.searchParams
...
Spec: https://url.spec.whatwg.org/#dom-url-searchparams
2016-04-05 16:10:05 +02:00
Paul Rouget
df6e7394d4
forcetouch events support
...
This enables Apple forcetouch DOM events. It requires the preference dom.forcetouch.enabled.
The DOM events are described here:
- https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html
The Cocoa mechanism is documented here:
- 20000016
-SW274
2016-04-05 18:42:28 +08:00
bors-servo
17ffc6cf71
Auto merge of #10362 - amarant:10348-string-preferences, r=jdm
...
Issue #10348 Implement StringMozPreference, string preferences, WPT test
I'm not exactly sure of the wanted semantics with boolean values.
Fixes #10348 .
<!-- 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/10362 )
<!-- Reviewable:end -->
2016-04-05 16:06:26 +05:30
Ar13mis
86b1f4249a
Add Uniform2f
2016-04-04 16:00:22 -06:00
bors-servo
ca3d120f4a
Auto merge of #10372 - dzbarsky:rmAttrNS, r=Ms2ger
...
Implement nodeName on Attr
<!-- 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/10372 )
<!-- Reviewable:end -->
2016-04-04 18:12:32 +05:30
bors-servo
3b2a1a3c47
Auto merge of #10354 - perlun:implement-missing-html-script-element-attributes, r=Ms2ger
...
HTMLScriptElement: Added missing DOM properties
This should sort out most (all?) of the ones pointed out in #10227 .
/cc @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/10354 )
<!-- Reviewable:end -->
2016-04-04 17:21:22 +05:30
Per Lundberg
99f473631a
HTMLScriptElement: Added missing DOM properties
...
This should sort out most (all?) of the ones pointed out in #10227 .
(Amended with suggested fixes in PR #10354.)
2016-04-03 22:33:57 +03:00
Arnaud Marant
95c077af46
Issue #10348 Implement StringMozPreference, string preferences, WPT tests
...
I'm not exactly sure of the wanted semantics with boolean values.
2016-04-03 21:28:17 +02:00
David Zbarsky
8cbcdfb761
Implement nodeName on Attr
2016-04-03 10:27:41 -07:00