David Zbarsky
8cbcdfb761
Implement nodeName on Attr
2016-04-03 10:27:41 -07:00
bors-servo
7d79df4a05
Auto merge of #10304 - Ms2ger:cookie-averse, r=nox
...
Implement Document::cookie correctly for cookie-averse documents.
<!-- 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/10304 )
<!-- Reviewable:end -->
2016-04-01 22:51:51 +05:30
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
Ms2ger
3c6cc642ee
Implement Document::cookie correctly for cookie-averse documents.
2016-03-31 10:40:10 +02:00
bors-servo
c4e112a3be
Auto merge of #10247 - eddyb:document-base-url, r=Ms2ger
...
Use <base> in resolving url attributes (like "href").
Second take of #6303 , now that the `base_url` infrastructure is in place.
<!-- 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/10247 )
<!-- Reviewable:end -->
2016-03-29 17:11:12 +05:30
Eduard Burtescu
1060c42225
Use <base> in resolving url attributes (like "href").
2016-03-29 13:44:38 +03:00
bors-servo
aac2da75f4
Auto merge of #8641 - notriddle:no_headless, r=glennw
...
No more headless compositor. Just the normal one.
Fixes #8573
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641 )
<!-- Reviewable:end -->
2016-03-29 12:42:01 +05:30
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
Michael Howell
a5a299ea88
Disable template-contents-owner-test-002.html
...
https://github.com/servo/servo/issues/9723
2016-03-24 11:19:11 -07: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
Ms2ger
a91433f0c8
Update web-platform-tests to revision 66c4613f823c4384c78ada77346eda17bb128947
2016-03-15 16:34:24 +01:00
bors-servo
a862384841
Auto merge of #9735 - KiChjang:planned-navigation-tests, r=jdm
...
Add test for get action URL planned navigation
Mutate action URL doesn't need to be tested, since the existing urlencoded.html already tests it.
This new test currently fails, because of the weirdness in calling `testframe.contentWindow`. It returns null for this test, but not for urlencoded.html. Can't figure out why.
Fixes #9690
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9735 )
<!-- Reviewable:end -->
2016-03-12 13:49:52 +05:30
Keith Yeung
084e86daf2
Add test for get action URL planned navigation
2016-03-11 20:33:07 -05:00
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
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
bors-servo
4bcdbe6d56
Auto merge of #8932 - rilut:add-elementfrompoint, r=nox
...
Implement Document#elementFromPoint
Related to #8666 . I haven't implemented elementsFromPoint, because from my past discussion with jdm, [it's not good yet](dbfa25214b (commitcomment-14668959) ) to implement elementsFromPoint because it may cause GC hazards.
By the way, I also have to include the test for this, right? I've found this [1]. So, is all I have to do is just to put this into `tests/wpt/web-platform-tests/cssom-view/elementFromPoint.html`?
[1] http://test.csswg.org/suites/cssom-view-1_dev/nightly-unstable/html/elementFromPosition.htm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8932 )
<!-- Reviewable:end -->
2016-03-01 03:01:50 +05:30
Rizky Luthfianto
76678bbdae
Implement Document#elementFromPoint
2016-03-01 02:23:07 +07:00
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
bors-servo
0d7a2eee2d
Auto merge of #9514 - g-k:html-input-value, r=KiChjang
...
HTML input value
Ready for review.
Fixes #9455 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9514 )
<!-- Reviewable:end -->
2016-02-27 04:36:46 +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
Greg Guthe
e6c31e305d
Get input value IDL attribute matching spec
...
Refs: https://github.com/servo/servo/issues/9455
2016-02-25 18:59:34 -05:00
Eli Friedman
7b671d13a0
Use presentation hints correctly for the dimensions of <img>.
...
Mostly straightforward; includes some extra fixes to make `<canvas>`
work the same way as `<img>` for reflow.
2016-02-25 14:04:06 -05:00
Ms2ger
62a9bebeef
Update web-platform-tests to revision 7ed49cff4d031720f829c01df837ed7a09ad5c60
2016-02-24 11:04:43 +01:00
Anthony Ramine
7f36247d03
Support [LegacyUnenumerableNamedProperties]
2016-02-23 17:23:51 +01:00
Peter
e39e59ef18
#1716 The indicated part of the document.
...
Interactive test for fragid resolution.
Added HTML tests for scrolling to fragid
Applied algorithm from whatwg spec
https://html.spec.whatwg.org/multipage/#the-indicated-part-of-the-document
Changes following code review
2016-02-17 00:51:46 +00:00
Ms2ger
e8ed816728
Update web-platform-tests to revision 95aad3bd9b82b5c65d84d53517b65ba084de9394
2016-02-12 09:41:14 +01:00
Josh Matthews
2796a4dfa8
Compile raw inline event handlers lazily. Resolves #8489 .
2016-02-11 15:44:52 +01:00
Josh Matthews
d6ea4b60a4
Make location_reload.html not trigger resource exhaustion.
2016-02-10 09:20:05 -05:00
Ms2ger
6ce5b7527a
Ensure that base_multiple.html fails rather than times out in the typical failure case.
2016-02-10 09:20:04 -05:00
Josh Matthews
e9b98ad5fa
Make iframes block the enclosing document's load event. Fixes #6663 .
2016-02-10 09:20:00 -05:00
Ms2ger
73bc5cf1b8
Update web-platform-tests to revision 7f2f85a88f434798e9d643427b34b05fab8278c6
2016-02-01 17:25:22 +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
James Graham
4864a52312
Update web-platform-tests expected data to revision 0d9238c8062f05a55898a0cb60dc0c353794d87a
2016-01-21 11:50:33 +00: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
bors-servo
5a954d2492
Auto merge of #9334 - MonsieurLanza:DomContentLoadedBubbles, r=KiChjang
...
DOMContentLoaded event should be trusted
Hopefully resolves #9332 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9334 )
<!-- Reviewable:end -->
2016-01-16 22:14:38 +05:30
Ms2ger
a4fbb619d8
Disable text-plain.html.
2016-01-16 14:16:21 +01:00
Lanza
27b78f3b84
Use fire_event instead of DispatchEvent to make DOMContentLoaded trusted
...
Removed unused import.
Update expectations for EventTarget#dispatchEvent()
2016-01-16 14:12:38 +01:00