Commit graph

483 commits

Author SHA1 Message Date
Glenn Watson
a2f1f12c96 Fix setting display:none after a layout where the element was visible.
Prior to incremental layout, the code would remove the existing
construction result. However, with incremental layout the construction result
is cloned rather than removed. This change ensures that the previous
construction result is cleared when an element's display type
changes to none.
2015-02-27 07:44:24 +10:00
bors-servo
3fc2478c38 auto merge of #5074 : acgtyrant/servo/patch-1, r=Manishearth
Fixes #5056
2015-02-26 05:33:49 -07:00
Isaac Ge
b80593c09e Make test-wpt supports --release argument
Fixes #5056
2015-02-26 20:29:04 +08:00
bors-servo
c1645bd10c auto merge of #5070 : luniv/servo/script-before-after-events, r=Ms2ger
Spec: https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block, sections 2.b.2 & 2.b.9
2015-02-26 01:06:51 -07:00
Glenn Watson
f8ca60e74e Update WPT expectations for reftest-wait change. 2015-02-26 13:30:53 +10:00
James Gilbertson
0b085df1bc Implement 'beforescriptexecute' and 'afterscriptexecute' events.
Spec: https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block, sections 2.b.2 & 2.b.9
2015-02-25 15:37:54 -07:00
bors-servo
cbc4b9520e auto merge of #5061 : pcwalton/servo/fix-text-decoration, r=mbrubeck
Adds a reftest so it doesn't break again.

r? @mbrubeck
2015-02-24 19:12:50 -07:00
Patrick Walton
f188278dd2 style: Fix parsing of text decorations.
Adds a reftest so it doesn't break again.
2015-02-24 17:51:22 -08:00
Ms2ger
7c146861aa Update web-platform-tests. 2015-02-24 21:19:35 +01:00
bors-servo
99617557d4 auto merge of #4996 : jdm/servo/reportpending, r=Ms2ger
I believe this problem was introduced with the mozjs error reporting changes, since we don't see errors reported from `<script>` blocks any more.
2015-02-23 20:30:48 -07:00
Josh Matthews
880c7189b3 Eagerly report errors when evaluating JS on a global scope. Fixes #4966. 2015-02-23 22:28:06 -05:00
Ms2ger
fdfcd7590a Enable 2dcontext tests. 2015-02-23 13:50:34 +01: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
bors-servo
e39e75865b auto merge of #4865 : psdh/servo/prepscript, r=Ms2ger
#4176
2015-02-20 17:03:53 -07:00
Prabhjyot Singh Sodhi
44e2e2747c implementing step 12 of 'prepare a script' algorithm 2015-02-21 04:58:27 +05:30
bors-servo
db644245b7 auto merge of #4980 : Ms2ger/servo/DOMEvents, r=jdm 2015-02-20 13:51:59 -07:00
bors-servo
172db80703 auto merge of #4882 : chmanchester/servo/stringifiers, r=Ms2ger 2015-02-20 13:01:02 -07:00
Chris Manchester
00f863b4fe Add stringifier method support to CodegenRust.py (fixes #1986)
Add a stringifier to URLUtils (Location). (fixes #4605)

wpt metadata updates for #4605
2015-02-20 11:35:16 -08:00
Ms2ger
0401dcd438 Enable DOMEvents tests. 2015-02-20 20:14:03 +01:00
Tetsuharu OHZEKI
abd591b96e XMLHttpRequestEventTarget should not be [NoInterfaceObject]. 2015-02-18 02:38:23 +09:00
bors-servo
6d2e840bf4 auto merge of #4934 : glennw/servo/fix-1248, r=pcwalton 2015-02-16 14:06:52 -07:00
bors-servo
c7d3ea1c65 auto merge of #4937 : glennw/servo/pc-height, r=pcwalton
This allows using standard CSS techniques to place a footer at the bottom of the page.
2015-02-16 13:19:02 -07:00
Ms2ger
92a7fee296 Update web-platform-tests. 2015-02-16 19:57:47 +01:00
Glenn Watson
984012c9e3 Support root element having percentage heights in layout. This allows using standard CSS techniques to place a footer at the bottom of the page. 2015-02-16 14:46:19 +10:00
Glenn Watson
7aacf90161 Fixes background-color calculation for iframes. Fixes #1248 2015-02-16 08:16:18 +10:00
Simon Sapin
d5dd1d658e Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
Glenn Watson
980b1efb72 Dispatch a load event at iframes. Fixes #4350. 2015-02-11 09:07:05 +10:00
Josh Matthews
446f0f447e Allow unused variables, imports, and mutable. 2015-02-09 17:41:57 -05:00
bors-servo
13b49ddf44 auto merge of #4859 : glennw/servo/fix-3986, r=larsbergstrom 2015-02-08 08:51:43 -07:00
Glenn Watson
1e0e98b63c Implement window.frameElement, change window.parent to make use of it. 2015-02-07 06:46:29 +10:00
Glenn Watson
5ef9eaa1e1 Fix page being removed too early. Fixes #3986 (intermittent failure). 2015-02-06 15:28:02 +10:00
Keith Yeung
75e5c6fcdb Implemented Location.assign 2015-02-06 13:24:20 +08:00
Glenn Watson
0873e5c8ca Implement window.parent for iframes. 2015-02-05 07:04:04 +10:00
Josh Matthews
0557f8592c Update WPT expectations. 2015-02-04 18:51:48 +00:00
Josh Matthews
6fd31cdf0f Fix WPT interface tests. 2015-02-04 13:37:01 +00:00
Josh Matthews
d2444dd370 Implement document.cookies. 2015-02-04 13:35:05 +00:00
yodalee
67ff27293a remove expected FAIL but now PASS in test ini 2015-02-04 01:02:36 +08:00
Matthew Rasmus
5b340599f2 Fix 'inline-block' sizing issues
Fixes #3624
2015-02-02 15:52:11 -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
7f9256e87b auto merge of #4764 : glennw/servo/inline-iframes, r=pcwalton 2015-01-29 08:24:48 -07:00
bors-servo
5f4343e9c2 auto merge of #4760 : Ms2ger/servo/wpt_20150128, r=Manishearth 2015-01-29 04:30:52 -07:00
Glenn Watson
1f37c6eabe Add layout support and tests for inline iframes. Fixes #1697. 2015-01-29 16:36:20 +10:00
Patrick Walton
d891c677aa layout: Implement floated list items.
This patch also makes Servo not crash when
`generated_containing_block_rect()` is called on a list item (as, for
example, GitHub does), and for good measure I added the fix to other
flows as well.
2015-01-28 19:58:24 -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