bors-servo
c7e210f24c
Auto merge of #5005 - jdm:mime-sniffing, r=jdm
...
This rebases and integrates #4209 , removing the sniffer task (turns out it wasn't a great idea), and adds a `--sniff-mime-types` command line flag to enable sniffing for file:// and http:// resources. Tested against a random picture file on my harddrive. The actual MIME sniffing implementation can be extracted into a separate library separately.
2015-04-07 12:48:06 -05:00
bors-servo
1fd609d198
Auto merge of #5525 - dhodder:master, r=jdm
...
An empty DOM interface for HTMLDialogElement
r?
2015-04-07 02:50:04 -05:00
Nathan Climer
44930b0fb0
Implement MIME sniffing.
2015-04-06 19:01:59 -04:00
Dave Hodder
78de6b2db1
Add basic HTMLDialogElement interface
2015-04-04 19:59:37 +01:00
Matt Brubeck
ad6c511a5e
Basic element.focus and blur methods
...
Fixes #5462 .
2015-04-04 10:57:11 -07:00
yodalee
9cd976a4e7
Implement TextEncoder
...
Fixes #4768 .
2015-03-31 17:21:27 -07:00
Deokjin Kim
c0e691b08d
Implement Navigator.appVersion( #5409 )
2015-04-01 00:36:40 +09:00
snf
89c208d3e4
Update web-platform-tests expected data to revision 56db12eee9711048ea4c927a89b9e9e05fd97c1b
2015-03-24 18:03:06 +00:00
Maciej Skrzypkowski
7da356cd05
Added document.activeElement attribute.
2015-03-19 23:00:13 +01:00
yodalee
e45b104721
add test case of dom characterdata
2015-02-28 10:21:35 +08:00
bors-servo
2e1adb3fa6
auto merge of #5016 : jdm/servo/canvas-for-svg, r=jdm
...
the tiger.
Rebased from #4623 .
2015-02-22 20:33:45 -07:00
Patrick Walton
55a0ee6ec7
script: Implement enough 2D canvas support to render basic SVGs such as the tiger.
2015-02-22 22:29:58 -05:00
bors-servo
0ea9dafa63
auto merge of #5019 : jdm/servo/serializerfix, r=Ms2ger
2015-02-22 13:51:45 -07:00
Josh Matthews
4c67acfb4a
The HTML serializer depth can change on each iteration.
2015-02-22 15:02:20 -05:00
Edit Balint
325400dce4
Implement Canvas pixel manipulation
2015-02-22 13:41:58 -05:00
Tetsuharu OHZEKI
abd591b96e
XMLHttpRequestEventTarget should not be [NoInterfaceObject].
2015-02-18 02:38:23 +09:00
Glenn Watson
5ef9eaa1e1
Fix page being removed too early. Fixes #3986 (intermittent failure).
2015-02-06 15:28:02 +10:00
Tom Schuster
d54a45a2b1
Implement most of the important WindowProxy traps
2015-01-12 17:41:48 +01:00
Patrick Walton
bf540d590a
layout: Explicitly thread border box dimensions and relative offsets
...
through display list building.
The old `flow_origin` concept was ill-defined (sometimes the border box
plus the flow origin, sometimes including horizontal margins and
sometimes not, sometimes including relative position and sometimes not),
leading to brittleness and test failures. This commit reworks the logic
to always pass border box origins in during display list building.
2015-01-04 17:43:05 -08:00
Jim Hoskins
c10049327a
Implement Document.defaultView - fixes #4518
2015-01-03 12:08:58 -05:00
Shing Lyu
6df9b7fd3a
Bug #1820 , add the optional "type" parameter to Blob
2015-01-01 16:23:21 +08:00
Adam Sunderland
674fe910c1
Add GetPropertyPriority to CSSStyleDeclaration
...
Tweak getPropertyPriority to match recommendations
Adding Tests for Style Priority
Use else if
Adding Content Test for GetPropertyPriority
Revert "Adding Tests for Style Priority"
This reverts commit 8666a37f833b06c3e43f27acd8a9678e94425e55.
2014-12-23 11:41:33 -06:00
Josh Matthews
2f5786d6ca
Fix test failures.
2014-12-18 13:51:22 -05:00
Josh Matthews
b4cade0612
Fix syntax error in test_interfaces.html and make it pass.
2014-12-18 12:54:02 -05:00
Josh Matthews
3cfe8ab53e
Address review comments.
2014-12-18 12:54:02 -05:00
Josh Matthews
acf86a65e4
Move test_htmlelement_style.html out of the automatic tests because they don't all pass.
2014-12-18 12:54:02 -05:00
Josh Matthews
5ca61c00b9
Add a ton of properties and improve a bunch of serialization.
2014-12-18 12:54:02 -05:00
Patrick Walton
a200b139b6
script: Add some workarounds for image cache task races
2014-12-15 14:16:20 -08:00
Shing Lyu
f2885b8fc7
Issue #1820 - Improve the Blob implementation
2014-12-09 22:52:19 +08:00
ProgramFOX
2bd1269b02
Update content tests for Document#characterSet
2014-12-05 21:51:59 +01:00
Ronak Nisher
cbed366bea
added ErrorEvent WebIDL and errorevent.rs
2014-12-04 21:22:15 -08:00
Hinali Marfatia
b1d6041420
Implement a basic WebSocket interface.
2014-11-25 15:43:22 +01:00
bors-servo
561fab57d6
auto merge of #3998 : Hoverbear/servo/fix_table_caption, r=jdm
...
Fixed #3997 .
2014-11-15 13:24:28 -07:00
Andrew Hobden
d4f4018e88
Add test.
2014-11-15 09:52:17 -08:00
Josh Matthews
62a74cf3f0
Disable the iframe content test due to #3986 .
2014-11-14 16:25:36 -05:00
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
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
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
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
Bruno de Oliveira Abinader
5c76502b91
Implement DOMStringMap
2014-11-06 11:31:58 -08:00
nkdalmia
bb76b0f3f2
Intial Commit for Storage.webidl, along with impl stub
2014-11-06 10:55:27 -05:00
Matt Brubeck
b2c211ef86
Test for sync script loading
2014-10-29 14:31:47 -07:00
Matt Brubeck
fe123ad07c
Switch to synchronous script loading
...
This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.
Fixes #3356 .
2014-10-29 14:31:47 -07:00
Mukilan Thiyagarajan
9653965380
Add content test for [LenientThis] attribute Document.onreadystatechange
2014-10-25 17:55:08 +05:30
Josh Matthews
539c21f380
Implement Document.readyState. Prevent iframes from notifying the compositor after the initial parse. Fixes #1720 . Fixes #3738 .
2014-10-23 10:55:59 -04:00