Commit graph

1358 commits

Author SHA1 Message Date
bors-servo
f54299d485 auto merge of #3978 : Manishearth/servo/wpt-readme, r=Ms2ger 2014-11-15 12:15:31 -07:00
bors-servo
77e1c4de72 auto merge of #3992 : servo/servo/wpt_20141113, r=jgraham 2014-11-15 11:42:31 -07:00
bors-servo
43b452f3b8 auto merge of #3941 : mukilan/servo/timeout-arguments, r=Ms2ger 2014-11-15 11:09:32 -07:00
Andrew Hobden
d4f4018e88 Add test. 2014-11-15 09:52:17 -08:00
bors-servo
483e84ca7b auto merge of #3989 : jdm/servo/disableiframetest, r=mbrubeck 2014-11-15 10:03:33 -07:00
Josh Matthews
a589ed7848 Mark vertical-lr-blocks.html as flaky to ease the pain while it's being investigated. #3926 2014-11-15 11:17:04 -05:00
Mukilan Thiyagarajan
4b2b0d0723 Allow passing arguments to setTimeout/setInterval callbacks 2014-11-15 18:32:12 +05:30
Ms2ger
bd400b0665 Update web-platform-tests. 2014-11-15 12:37:57 +01:00
Josh Matthews
62a74cf3f0 Disable the iframe content test due to #3986. 2014-11-14 16:25:36 -05:00
Manish Goregaokar
57e7fa92db Fix wpt readme for mach changes 2014-11-14 21:13:43 +05:30
Tomasz Kołodziejski
fb8a45c58d Iframe resource file moved to resources dir so it's not picked up by test harness (and does not fail). 2014-11-13 22:45:55 -08:00
Tomasz Kołodziejski
af30484f2a Add contentDocument support for HTMLIFrameElement. Fixes #3808. 2014-11-13 22:45:46 -08:00
Keegan McAllister
642a3592c7 Fix interfaces test 2014-11-13 12:53:54 -05:00
Josh Matthews
84bc17e7ad Implement document focus context and hook it up to click events. 2014-11-13 11:27:15 -05:00
Glenn Watson
167a01edc0 Disable event-timeout for rustc upgrade. See #3396. 2014-11-13 13:06:54 +10:00
Glenn Watson
fe662bbf23 Disable cors tests for now as they break the rust upgrade. 2014-11-13 11:17:44 +10:00
Jack Moffitt
d1b433a3b3 Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a 2014-11-13 11:17:43 +10:00
bors-servo
668d9217d8 auto merge of #3938 : guillaumebort/servo/fix/3933, r=jdm
Implement HTMLOptionElement.{label,value}
2014-11-12 15:15:38 -07:00
Guillaume Bort
09766511b5 Fix #3933 2014-11-12 17:02:47 +01:00
bors-servo
b94f20c7c1 auto merge of #3934 : guillaumebort/servo/fix/84, r=jdm
Actually `<img>` elements in `<noscript>` are not prefetched anymore.

Probably because html5ever already parses the `<noscript>` content as raw
text data if `scripting_enabled` is activated.

See https://github.com/servo/html5ever/blob/servo/src/tree_builder/rules.rs#L126

Also, added a test to the images cache.
2014-11-11 14:30:39 -07:00
Andrew Guertin
468fae8914 Change /cors/remote-origin.htm.ini to CRASH 2014-11-11 09:40:51 -05:00
Andrew Guertin
d87ca5f2ec Enable the cors/ wpt subset
Fixes #3781
2014-11-10 15:32:28 -05:00
Ms2ger
0056ba95e1 Remove tests/content/test_document_compatMode.html.
It is already covered by:

  html/dom/documents/resource-metadata-management/document-compatmode-03.html
  dom/nodes/Document-constructor.html
  dom/nodes/DOMImplementation-createHTMLDocument.html
2014-11-09 23:40:24 +01:00
Ms2ger
b4151550cb Remove tests/content/test_document_adoptNode.html.
It is already covered by:

  dom/nodes/Document-adoptNode.html
2014-11-09 23:40:22 +01:00
Ms2ger
be4c83432b Call waitForExplicitFinish in test_img_width_height.html.
This fixes an intermittent failure introduced in
<https://github.com/servo/servo/pull/3929>.
2014-11-09 15:19:40 +01:00
Tom Schuster
96e42feaa1 Implement the whole Attr interface 2014-11-07 14:36:57 +01:00
Guillaume Bort
8e2abb6ffc Close #84
Actually <img> elements in <noscript> are not prefetched anymore.

Probably because html5ever already parses the <noscript> content as raw
text data if `scripting_enabled` is activated.

See
https://github.com/servo/html5ever/blob/servo/src/tree_builder/rules.rs#
L126

Also, added a test to the images cache.
2014-11-07 13:43:19 +01:00
Josh Matthews
711f4d5af9 Make content tests synchronous by default. Fixes #884. 2014-11-06 21:48:43 -08:00
bors-servo
338a9c3f05 auto merge of #3917 : mukilan/servo/xhr-status-async, r=jdm
Fixes #3877
2014-11-06 19:00:29 -07:00
Mukilan Thiyagarajan
504fdbfac4 Disable status-error.htm and status-async.htm due to #3596 2014-11-07 06:27:15 +05:30
bors-servo
cf0455a4ca auto merge of #3916 : mbrubeck/servo/disable-xhtml, r=Ms2ger
r? @Ms2ger
2014-11-06 14:15:30 -07:00
Bruno de Oliveira Abinader
5c76502b91 Implement DOMStringMap 2014-11-06 11:31:58 -08:00
Mukilan Thiyagarajan
dc02352564 XHR - Trigger readystatechange when transitioning from HEADERS_RECEIVED to DONE
Fixes #3877
2014-11-06 23:57:48 +05:30
bors-servo
c828e83604 auto merge of #3817 : nkdalmia/servo/master, r=jdm
We have completed the initial step for "Implement Window.sessionStorage and Window.localStorage"
- Create and stub the Storage WebIDL interface
2014-11-06 10:51:40 -07:00
Matt Brubeck
266970e2b2 Disable XHTML tests 2014-11-06 09:43:57 -08:00
bors-servo
ed22c9b35b auto merge of #3696 : pcwalton/servo/gradients, r=SimonSapin
This implements a subset of the CSS `linear-gradient` property per the
CSS-IMAGES specification:

    http://dev.w3.org/csswg/css-images-3/

The full syntax is parsed, but only the beginning and end color stops
are used, and gradients are clamped to the nearest 90 degrees. It should
not be architecturally difficult to add the remaining pieces, but in the
interests of bounding the size of this patch that work has been left to
follow-ups.

Improves GitHub.

r? @glennw
2014-11-06 10:00:42 -07:00
Patrick Walton
215c2a9d4c layout: Implement CSS linear gradients per the CSS-IMAGES specification.
This implements the CSS `linear-gradient` property per the CSS-IMAGES
specification:

    http://dev.w3.org/csswg/css-images-3/

Improves GitHub.
2014-11-06 08:26:47 -08:00
nkdalmia
bb76b0f3f2 Intial Commit for Storage.webidl, along with impl stub 2014-11-06 10:55:27 -05:00
Ms2ger
bb9cad938b Implement HTMLElement#lang. 2014-11-06 15:28:52 +01:00
bors-servo
45262ec9d2 auto merge of #3905 : Ms2ger/servo/prefix-create, r=jdm 2014-11-05 19:27:35 -07:00
Matt Brubeck
eee25d132c Disable flaky XHR test 2014-11-05 17:08:00 -08:00
Ms2ger
a5e9f97c8f Pass the prefix to Element::new in create_element. 2014-11-05 23:18:33 +01:00
bors-servo
c9857d49dd auto merge of #3901 : Ms2ger/servo/title, r=jdm 2014-11-05 14:33:36 -07:00
Ms2ger
45701002a3 Implement HTMLElement.title. 2014-11-05 22:08:36 +01:00
bors-servo
76cc006a40 auto merge of #3898 : Ms2ger/servo/prefix-clone, r=jdm
The current code calls as_slice() on the Option, yielding &[DOMString], and
then calls to_string, yielding "[prefix]".
2014-11-05 12:57:37 -07:00
Ms2ger
82ff32a710 Pass the correct argument to Element::create when cloning.
The current code calls as_slice() on the Option, yielding &[DOMString], and
then calls to_string, yielding "[prefix]".
2014-11-05 20:51:41 +01:00
bors-servo
fba6cb9c42 auto merge of #3897 : Ms2ger/servo/enable-reflection, r=Manishearth 2014-11-05 11:12:40 -07:00
Ms2ger
e1bb3c3b06 Parse the size attribute on input elements. 2014-11-05 19:07:01 +01:00
Ms2ger
f7407ee43d Re-enable reflection-forms.html. 2014-11-05 16:19:10 +01:00
Ms2ger
cdde96e989 Defer to GetAttribute in HasAttribute.
The semantics of has_attribute aren't anywhere close to the ones expected for
Element#hasAttribute, and it fails an assertion when passed non-lower-case
names.
2014-11-05 16:05:06 +01:00