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
Joshua Holmer
75d258f866
Update HTMLFormElement.length to be of type unsigned long
...
Fixes #9402
2016-01-22 12:09:12 -05:00
Chandler Abraham
1ee9ccba21
add origin to location and url api
2016-01-21 11:06:41 -08:00
James Graham
7e8624d921
Update web-platform-tests to revision 0d9238c8062f05a55898a0cb60dc0c353794d87a
2016-01-21 10:28:30 +00:00
Ms2ger
1f5d8fedd4
Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390
2016-01-18 13:24:36 +01:00
Corey Farwell
1ff1ec69dd
HTMLFormElement::Elements should honor [SameObject] attribute
...
Ideally, this would get tested by web-platform-tests, but that has yet
to be implemented:
https://github.com/w3c/web-platform-tests/issues/2462
2016-01-10 18:27:07 -05:00
Ying-Ruei Liang (KK)
74905f0f3c
Invalid type attribute for HTMLInputElement now fallback as text type ( fixes #8773 )
2016-01-06 10:56:00 +08:00
bors-servo
0d52170f35
Auto merge of #9054 - frewsxcv:parse-non-zero-dimension, r=eefriedman
...
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.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9054 )
<!-- Reviewable:end -->
2015-12-30 05:26:56 +05:30
Josh Matthews
7693b03468
Make button elements activatable. Fixes #4837 . Fixes #8101 .
2015-12-29 10:45:04 -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
David Zbarsky
84ec9c4266
Handle toDataURL with no context
2015-12-24 11:48:04 -08:00
Ms2ger
8ea56eabaa
Update web-platform-tests to 887399d3d0a85d0e27a6688ae384459376adf7ca
2015-12-21 14:30:03 +01:00
Ms2ger
cd00f312a3
Update web-platform-tests to revision 0bb3d73f26aa5a21326b6c1c7aaf35029222223f
2015-12-16 16:58:03 +01:00
Ms2ger
9aa1b1e408
Update web-platform-tests to revision 5dbe45af3ad3a933c03187c72f1c12cbe2877703
2015-12-10 09:38:01 -05:00
Sam Gibson
7ba43913c2
Uses assert_throws
instead of explicit try/catch
2015-12-03 14:01:00 +11:00
Sam Gibson
6d1624f9d0
Add additional WPT tests for maxlength parser set
2015-12-03 14:00:57 +11:00
Sam Gibson
32627a475a
Add maxlength manual test for input
2015-12-03 14:00:56 +11:00
Corey Farwell
320263199f
Implement attribute 'fgColor' on 'document'
...
The 'text' attribute was implemented on '<body>' in #7841
2015-11-30 18:19:07 -05:00
Ms2ger
3bbee99cdb
Update web-platform-tests to revision a3b0fadc7f5001bbe52c65e0a354c454981423a3
2015-11-30 13:44:18 +01:00
Ms2ger
3a79c9b53f
Update web-platform-tests to revision ee40b886c701ffa25a673240cabdedd59ee3ace4
2015-11-24 13:35:04 +01:00
Tom Schuster
0e0e051f3f
Implement document.domain getter
2015-11-23 15:45:02 -05:00
Eli Friedman
8c93046b1c
Add test for URL-encoded form submission.
...
This turned out to be a little more complicated than I was hoping...
but I can't really think of a better way to do this.
2015-11-21 15:30:11 -08:00
Ms2ger
32efe41299
Update web-platform-tests to revision 5a754b40cd49c0404863c431b58cc311dc5d167c
2015-11-17 10:54:05 +01:00
Corey Farwell
30ea772939
Make util::str::parse_length work with floats
2015-11-14 16:47:10 -05:00
Corey Farwell
02a8e8dd16
Implement <hr> element 'width' attribute
2015-11-14 16:46:59 -05:00
Josh Matthews
c4c0809934
Add test for OnErrorEventHandler special case.
2015-11-12 16:21:24 -05:00
Corey Farwell
ee0800abe9
Implement <hr> 'color' attribute
2015-11-08 18:34:27 -05:00
Benjamin Herr
066867eb86
wpt for javascript urls with queries and fragments
...
Expected to FAIL right now because contentDocument in iframes with
src="javascript:..." wrongly returns null. Passes in Firefox though!
2015-11-06 18:15:28 +01:00
bors-servo
50d51bab7f
Auto merge of #8245 - eefriedman:misc-attribute-fixes, r=nox
...
Use attribute getter/setter macros for misc DOM attributes.
This fixes a few minor bugs.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8245 )
<!-- Reviewable:end -->
2015-11-02 15:14:32 +05:30
Eli Friedman
cf8f2b1874
Use attribute getter/setter macros for misc DOM attributes.
...
This fixes a few minor bugs.
Also adds some better testing for "unsigned long" attributes.
2015-11-01 12:47:28 -08:00
bors-servo
0e70a1f8a8
Auto merge of #7965 - frewsxcv:labelable-elements-label-attribute, r=nox
...
Implement 'labels' attribute on 'labelable elements'
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7965 )
<!-- Reviewable:end -->
2015-11-01 20:51:18 +05:30
Corey Farwell
9df375195e
Implement 'labels' attribute on 'labelable elements'
2015-11-01 09:50:14 -05:00
Ms2ger
b492a3e8b1
Update web-platform-tests to revision 7123012427f92f0dc38a120e6e86a75b6c03aab5
2015-10-31 16:21:44 +01:00
Dongie Agnir
d561b4ffe9
Remove extra indent.
2015-10-24 19:14:31 -10:00
Dongie Agnir
fcfc3918a4
Update test.
...
Fix comments and test when size > 1.
2015-10-23 14:01:58 -10:00
Dongie Agnir
c070c7ad30
Update and correct tests.
2015-10-23 13:16:42 -10:00
Dongie Agnir
b1d6b0f797
Implement ask_for_reset for HTMLSelectElement.
...
Fixes #7774
2015-10-23 11:47:20 -10:00
Ms2ger
92e90e6633
Update web-platform-tests to revision 4b25d322ac6ed466f992669e5408b15d37d56436
2015-10-22 16:41:47 +02:00
Anthony Ramine
57c423a931
Update URL-related interfaces and their tests up to spec
...
The URL spec recently changed and the variour "mixins" interfaces are gone,
this commit updates our code and WPT accordingly.
The new expected failures related to HTMLAnchorElement and HTMLAreaElement's
attributes are due to their moving to the HTMLHyperLinkElementUtils interface,
which is not anymore in a separate <script class=untested> element.
2015-10-19 21:05:07 +02:00
Corey Farwell
1f58169263
Implement HTMLTableRowElement insertCell and deleteCell
2015-10-17 00:07:22 -04:00
bors-servo
55769b2fbf
Auto merge of #7829 - frewsxcv:htmltablecellelement-cellindex, r=Ms2ger
...
Implement HTMLTableCellElement::CellIndex
Extracted from #6936
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7829 )
<!-- Reviewable:end -->
2015-10-14 07:39:24 -06:00
Ms2ger
c8c377df9f
Update web-platform-tests to revision 4bba821de44da9ed47c2562f995a0da6eecc177b
2015-10-12 17:53:50 +02:00
Corey Farwell
3d383f21ae
Implement deleteRow and insertRow for <table> element
...
Continued from #6936
2015-10-11 09:47:46 -04:00
bors-servo
ab42ca4296
Auto merge of #7825 - eefriedman:div-align, r=mbrubeck
...
Fully implement the "align descendants" rule for div.
This adds -servo-left and -servo-right to complement -servo-center.
~~This intentionally doesn't try to address issue #7301.~~ Commit added to address #7301 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7825 )
<!-- Reviewable:end -->
2015-10-08 12:20:55 -06:00
Ms2ger
6e745b5a00
Avoid panicking in the implementation of HTMLOptionElement#text for non-element, non-text children.
2015-10-07 10:52:44 +02:00
Corey Farwell
899f1cab58
Implement HTMLTableCellElement::CellIndex
...
Extracted from #6936
2015-10-06 10:46:02 -04:00
James Graham
bae87d193d
Update web-platform-tests to revision 7da6acfd668e66adae5ab4e2d389810d3b1460be
2015-10-06 12:16:35 +01:00
Corey Farwell
adbcb5345c
HTMLTableSectionElement improvements
...
'thead' and 'tfoot' now create instances of HTMLTableSectionElement
HTMLTableSectionElement.rows has been implemented
2015-10-03 12:23:22 -04:00
Eli Friedman
69ca066802
Fully implement the "align descendants" rule for div.
...
This adds -servo-left and -servo-right to complement -servo-center.
This intentionally doesn't try to address issue #7301 .
2015-10-02 12:53:20 -07:00
David Zbarsky
4e64ff499b
Implement HTMLTableRowElement::Cells
...
Extracted from #6936
2015-10-01 20:09:48 -04:00