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
Yoav Alon
5e3dcae71f
Implement the table section IDL attributes for HTML tables
2016-04-12 18:35:55 +03: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
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
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
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
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
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
James Graham
78369e95cf
Update web-platform-tests to 5582e4d2bfcfd1fa9f105406b143170ee2af7db1
2016-04-01 13:38:57 +02:00
bors-servo
f335586ff5
Auto merge of #10292 - jdm:cssom, r=jdm
...
Initial steps for CSSOM
Squashed and rebased #10133 .
<!-- 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/10292 )
<!-- Reviewable:end -->
2016-04-01 04:29:08 +05:30
Mohamed Albashir
b7a57ef487
Initial steps for CSSOM API
2016-03-31 18:17:30 -04:00
bors-servo
9a8d62286c
Auto merge of #9887 - schuster:HTMLHyperlinkElementUtils, r=jdm
...
Implement HTMLHyperlinkElementUtils for HTMLAnchorElement
Fixes #7857
Origin is omitted since it's still not available in rust-url, but since the previous PR also left it out, I'm assuming that's okay.
Please let me know if there are any style issues. There might be more concise ways to do the pattern matching that I don't know about, I guessed at the indentation style in one or two places.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9887 )
<!-- Reviewable:end -->
2016-03-25 11:36:35 +05:30
Jaydeep
c96c26b4f7
Implement HTMLHyperlinkElementUtils for HTMLAnchorElement
2016-03-24 21:14:28 -04:00
bors-servo
f56062b069
Auto merge of #10169 - jdm:formvalidation, r=jdm
...
Implement initial pieces of form validation.
Rebase of #10108 .
<!-- 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/10169 )
<!-- Reviewable:end -->
2016-03-24 19:13:02 +05:30
Sagar Muchhal
051ffba0e5
Implement initial pieces of form validation.
2016-03-24 09:07:38 -04:00
Rahul Sharma
facf59177c
implements NavigatorLanguage
2016-03-17 16:13:37 +05:30
Saurav Sachidanand
a3d77790a6
Implement input.setSelectionRange
2016-03-10 19:54:21 +05:30
bors-servo
6c65e154f4
Auto merge of #9774 - nox:remove-attribute-node, r=nox
...
Implement removeAttributeNode
Supersedes #8727
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9774 )
<!-- Reviewable:end -->
2016-02-27 15:23:06 +05:30
bors-servo
8bdffa25f9
Auto merge of #9755 - jdm:handlerreturn, r=jdm
...
use return value of invoking event handlers to cancel the event
Rebased from #8707 . Fixes #8490 . We can modify the code and test as necessary whenever we make a decision about https://github.com/whatwg/html/issues/423 in the future.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9755 )
<!-- Reviewable:end -->
2016-02-27 07:10:50 +05:30
Nick Fitzgerald
d28c9a1588
Implement removeAttributeNode
...
This commit implement removeAttributeNode, as described here:
https://dom.spec.whatwg.org/#dom-element-removeattributenode
See also #8724 and #8068 .
2016-02-26 21:18:24 +01:00
Anthony Ramine
b8ae5897f1
Implement Element.getAttributeNames
2016-02-26 19:15:11 +01:00
João Oliveira
b60d668908
use return value of invoking event handlers to cancel the event
2016-02-26 10:17:57 -05:00
Ms2ger
62a9bebeef
Update web-platform-tests to revision 7ed49cff4d031720f829c01df837ed7a09ad5c60
2016-02-24 11:04:43 +01:00
Ms2ger
e8ed816728
Update web-platform-tests to revision 95aad3bd9b82b5c65d84d53517b65ba084de9394
2016-02-12 09:41:14 +01:00
Jeff Harrison
d4fe40089b
Add onresize handler to GlobalEventHandlers
...
Refs: https://github.com/servo/servo/issues/7996
Rebased: https://github.com/servo/servo/pull/8006
2016-01-29 18:22:52 -05:00
bors-servo
0c5591a8ec
Auto merge of #9407 - KiChjang:radio-node-list, r=nox
...
Implement RadioNodeList
I also had to implement the NamedGetter for HTMLFormControlsCollection as well, since that's the only consumer of RadioNodeList and I wanted to see which wpt test passes.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9407 )
<!-- Reviewable:end -->
2016-01-29 14:04:16 +05:30
Keith Yeung
4229b68062
Implement NamedItem and NamedGetter on HTMLFormControlsCollection
2016-01-28 18:33:51 -05:00
Mathieu Hordesseaux
322b120f8a
Implement SetNamedItem, SetNamedItemNS, SetAttributeNode and SetAttributeNodeNS
2016-01-28 12:35:44 +01:00
Lanza
cfc3500dbf
Implement HTMLDetailsElement. Fixes #9216
2016-01-20 16:15:37 +01:00
Ms2ger
1f5d8fedd4
Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390
2016-01-18 13:24:36 +01:00
Anthony Ramine
d13da7d9b3
Fix prototypes of interface objects ( fixes #2665 )
2016-01-12 17:15:44 +01:00
Corey Farwell
f72d153c8d
Implement HTMLFormElement::Length
2016-01-10 14:44:13 -05:00
Corey Farwell
bff8947e43
Implement HTMLFormElement::Elements
...
Fixes #8566
2016-01-10 12:08:24 -05:00
Keith Yeung
1d62db405e
Implement EventSource and update test expectations
2016-01-05 21:47:43 -05:00
Corey Farwell
9a1fd472ab
Implement 'background' IDL attribute on <body>
2016-01-02 15:42:25 -08:00
Josh Matthews
3ef39e1a30
Implement the onreset event handler.
2015-12-30 16:04:16 -05:00
Corey Farwell
ba659cb99c
Implement non-zero dimension attribute parsing
...
Fixes #8445
The only attributes I found that we have implemented that uses non-zero
dimenion attributes:
* `width` for `<td>` and `<th>` (table cells)
* `width` for `<table>`
I updated these implementations to use the new non-zero dimension
attribute parsing and added associated regression tests.
2015-12-24 13:20:43 -08:00
vectorijk
c559270b83
implement document charset
...
- pre-compute the adjusted encoding name
Fix build errors and update test expectations
2015-12-21 03:17:52 -08:00
bors-servo
63923bc7c9
Auto merge of #8825 - jmr0:master, r=jdm
...
adding initial support for websocket subprotocol negotation
Addresses #8177
I also noticed some bugs/gaps (and at least one of my TODO's can be an E-Easy)
cc @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8825 )
<!-- Reviewable:end -->
2015-12-18 05:23:15 +05:30
jmr0
7d0bede8ba
adding initial support for websocket subprotocol negotation
2015-12-17 09:17:15 -05:00
Keith Yeung
3395e54585
Implement basic framework for static and interactive validation on forms
2015-12-15 16:34:42 -08:00
Ms2ger
9aa1b1e408
Update web-platform-tests to revision 5dbe45af3ad3a933c03187c72f1c12cbe2877703
2015-12-10 09:38:01 -05:00
David Zbarsky
789a90a82f
Implement IsPointInPath
2015-12-05 17:49:49 -08:00
bors-servo
20df7fb7c8
Auto merge of #7988 - nox:unforgeable, r=jdm
...
Implement [Unforgeable]
This is mostly stolen from Gecko. As there, we define the unforgeable members
on an object stored in the slots of the prototype object. They are then copied
onto instance objects when they are instantiated. It should be noted that
proxy objects see their unforgeable memebers defined on their expando object.
Unforgeable attributes aren't properly inherited in codegen (in a similar
fashion as getters and setters as filed in #5875 ) and require to be redefined
in derived interfaces. Fortunately, there are currently no such interfaces.
No unforgeable members can be included into the TestBinding interfaces for good
measure because they are not compatible with setters.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7988 )
<!-- Reviewable:end -->
2015-12-03 11:03:05 +05:30