Tetsuharu OHZEKI
abd591b96e
XMLHttpRequestEventTarget should not be [NoInterfaceObject].
2015-02-18 02:38:23 +09:00
Ms2ger
2992dbd41b
Remove incorrect SetterThrows annotation.
...
This was copied from Gecko, which has an outdated throwing condition.
2015-02-08 16:13:19 +01:00
Glenn Watson
1e0e98b63c
Implement window.frameElement, change window.parent to make use of it.
2015-02-07 06:46:29 +10:00
Keith Yeung
75e5c6fcdb
Implemented Location.assign
2015-02-06 13:24:20 +08:00
Josh Matthews
d2444dd370
Implement document.cookies.
2015-02-04 13:35:05 +00:00
yodalee
15231db7d3
add Form related attribute to HTMLButtonElement
...
add formAction, formEnctype, formMethod, formTarget
2015-02-03 20:33:38 +08:00
Keith Yeung
2093291539
Added error checking on XMLHttpRequest::setWithCredentials
2015-02-02 23:51:36 +08:00
Patrick Walton
5fdaba05a6
layout: Implement text-align: justify
and text-justify
per
...
CSS-TEXT-3 § 7.3.
`text-justify: distribute` is not supported.
The behavior of `text-justify: none` does not seem to match what Firefox
and Chrome do, but it seems to match the spec.
Closes #213 .
2015-01-29 17:00:41 -08:00
bors-servo
c8e68fa45c
auto merge of #4592 : pcwalton/servo/text-overflow, r=mbrubeck
...
Only the one-value syntax is supported for now.
r? @mbrubeck
2015-01-28 17:24:50 -07:00
Patrick Walton
0f8e436745
layout: Implement text-overflow: ellipsis
per CSS-UI-3 § 6.2.
...
Only the one-value syntax is supported for now.
2015-01-28 16:23:31 -08:00
Patrick Walton
abddfa742f
gfx: Implement font-stretch
per CSS3-FONTS § 3.3 in the Core Text
...
font backend.
2015-01-28 12:42:52 -08:00
Bruno de Oliveira Abinader
dc008977f9
Share supported CSS properties between style and CSSStyleDeclaration
...
Avoids duplicated code when implementing the CSS properties accessors in
CSSStyleDeclaration WebIDL. Servo internal CSS properties are not
accessible.
CSS property "float" is unnacessible because we currently lack support
for BinaryName IDL annotation (#4435 ).
Fixes #4429 , #4430 .
2015-01-19 13:21:03 -04:00
Jim Hoskins
7759358e09
Implement Element#closest
...
fixes #4603
- Add definition to the Element.webidl and implementation to element.rs.
- Create inclusive_ancestors helper in NodeHelpers
- Update test expectations
2015-01-17 07:29:33 -08:00
Guillaume Bort
5fe3a3e54f
Fix #3936 – {Window,WorkerGlobalScope}.set{Timeout,Interval}(DOMString)
2015-01-07 11:39:15 +01: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
ProgramFOX
18d8ee6ce0
Added readonly flag for CSSStyleDeclaration
2014-12-28 17:39:07 +01:00
Bruno de Oliveira Abinader
5afcf3ef65
Implement DOMTokenList.toggle
2014-12-26 14:55:27 -04:00
Bruno de Oliveira Abinader
2cfb4648ce
Implement DOMTokenList.remove
2014-12-26 14:55:27 -04:00
Bruno de Oliveira Abinader
aa29dc195d
Implement DOMTokenList.add
2014-12-26 14:55:27 -04:00
bors-servo
0e6304dcf7
auto merge of #4467 : servo/servo/dataset, r=Ms2ger
2014-12-25 02:27:43 -07: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
ProgramFOX
07d37af37e
Implemented CSSStyleDeclaration.setPropertyPriority
...
Implemented CSSStyleDeclaration.setPropertyPriority, resolves #4433
2014-12-23 17:14:45 +01:00
Bruno de Oliveira Abinader
57c520d8cf
Implement HTMLElement.dataset ( fixes #2974 ).
2014-12-23 14:24:06 +01:00
Ms2ger
dc63735ca7
Revert PR #4038 for causing WPT failures.
2014-12-23 09:53:12 +01:00
Bruno de Oliveira Abinader
628ee92d73
Implement HTMLElement.dataset
...
Make DOMStringMap use related Element's custom attributes values.
2014-12-19 14:07:43 -04:00
Josh Matthews
0a54665444
Add missing supported CSS properties.
2014-12-18 12:54:03 -05:00
Josh Matthews
c8557c44a9
Merge CSS2Properties and CSSStyleDeclaration.
2014-12-18 12:54:03 -05:00
Josh Matthews
3cfe8ab53e
Address review comments.
2014-12-18 12:54:02 -05:00
Josh Matthews
9d82e06e64
Implement RemoveProperty, SetProperty, and supported property indices.
2014-12-18 12:54:02 -05:00
Josh Matthews
abca00009c
Add z-index support.
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
Josh Matthews
2e14b653bf
Add a style property to HTMLElement.
2014-12-18 12:54:02 -05:00
Josh Matthews
2cfa8e85a6
Stub in some uses of getPropertyValue and sketch out its implementation.
2014-12-18 12:54:02 -05:00
Josh Matthews
4da0ca8ace
Add stub CSS2Properties type.
2014-12-18 12:54:02 -05:00
Cameron Zwarich
1c5d58180d
Add the basic CSSStyleDeclaration CSSOM interface.
...
This just includes the .webidl file (with some of the functionality
commented out) and the stub implementations for the bindings.
This is another step towards #1721 .
2014-12-18 12:54:02 -05:00
Matthew Rasmus
38e4d86b14
Implements DefaultChecked and resets of checkboxes
2014-12-16 11:34:04 -08:00
Matthew Rasmus
7e0c39a82d
Implements FormControl for HTMLTextAreaElement
2014-12-16 11:34:04 -08:00
Matthew Rasmus
f0ce2af89c
Implements basic form resetting
...
What can this do? Reset `<input type=text>` fields back to their default
value through a call to a form's reset method. That's all for now!
Fixes compile error after rebase
2014-12-16 11:33:56 -08:00
Matthew Rasmus
f932a6947a
Implements HTMLInputElement.defaultValue
...
...and changes SetValue to update the input text instead of the content
attr.
Also includes a comment summarizing everything I currently know with
respect to an input elements checkedness vs its IDL attributes vs its
content attributes.
2014-12-16 11:06:56 -08:00
Edit Balint
3036c8d21d
Fixed codegen error regarding Uint8ClampedArray
2014-12-16 11:03:01 +01:00
bors-servo
d2a67abea9
auto merge of #4108 : shinglyu/servo/blob, r=jdm
...
Let's build this incrementally. I implemented a `Blob` that can hold a `DOMString`, and has `size` attribute and `slice(...)` method. I'll finish the rest in later PRs.
2014-12-09 08:43:08 -07:00
Shing Lyu
f2885b8fc7
Issue #1820 - Improve the Blob implementation
2014-12-09 22:52:19 +08:00
bors-servo
7d4ec33375
auto merge of #4298 : Manishearth/servo/zirak-link-attrs, r=Manishearth
...
Carried over from #4248
Critic review: https://critic.hoppipolla.co.uk/r/3392
2014-12-08 23:30:59 -07:00
Zirak
a586e05e83
Bound several link properties.
...
Specifically: href, rel, media, hreflang and type.
2014-12-09 11:38:51 +05:30
ProgramFOX
6104d5105f
Implemented Document#inputEncoding
...
Resolves #4252
2014-12-08 18:22:29 +01:00
Manish Goregaokar
e7b3caa386
Add oninput/onchange so tests work
2014-12-05 18:49:34 -08:00
Manish Goregaokar
c89ec3910f
Hook up synthetic click activation to script_task and <>.click()
2014-12-05 18:33:03 -08:00
Manish Goregaokar
14a6e54371
Move InputCheckbox to Activatable
2014-12-05 18:32:13 -08:00
Manish Goregaokar
7d51a543d8
Implement form control mutability, rename FormOwner -> FormControl
2014-12-05 18:32:11 -08:00