bors-servo
891dd496e3
auto merge of #5065 : glennw/servo/iframe-vis-fix, r=pcwalton
...
When an iframe is created with display:none it sets the root layer to be zero width and height. When updating the rect of the iframe from layout send the entire rect rather than just the new origin, which handles the case where the iframe has been made visible and now has a non-zero rect.
2015-03-02 15:30:52 -07:00
bors-servo
93d1f40a96
auto merge of #4475 : pcwalton/servo/text-shadow, r=mbrubeck
...
r? @mbrubeck
Depends on servo/rust-geom#64 .
2015-03-02 14:54:52 -07:00
Glenn Watson
f68386f0fa
Fix making an iframe visible when it was initially set to display:none.
...
When an iframe is created with display:none it sets the root layer to be
zero width and height. When updating the rect of the iframe from layout
send the entire rect rather than just the new origin, which handles the case
where the iframe has been made visible and now has a non-zero rect.
2015-03-03 07:46:26 +10:00
Patrick Walton
09358b908d
layout: Implement text-shadow
per CSS-TEXT-DECORATION-3 § 4.
2015-03-02 13:28:51 -08:00
Mátyás Mustoha
774cc4a93a
Canvas: added lineTo().
2015-03-02 21:00:50 +01:00
bors-servo
55f7636549
auto merge of #4928 : yodalee/servo/issue4906-fix-characterdata-substringdata, r=jdm
...
issue #4906
Fix substringData function, and add a test case for all function in characterdata.
2015-02-27 19:39:58 -07:00
yodalee
0e29eabb87
fix function on utf8 string, pass two tests
...
dom/nodes/Node-properties.html
detachedForeignComment.length]
detachedXmlComment.length]
2015-02-28 10:21:36 +08:00
yodalee
e45b104721
add test case of dom characterdata
2015-02-28 10:21:35 +08:00
bors-servo
b2f099026a
auto merge of #4952 : bjwbell/servo/borders-txt-nodes, r=pcwalton
...
Inline fragments that are part of a text run don't have interior borders.
So don't draw interior borders or include them when calculating positioning.
Fixes https://github.com/servo/servo/issues/4658 , where multiple text nodes that are adjacent have distinct borders.
r? @Ms2ger, @pcwalton
2015-02-27 16:57:53 -07:00
Bryan Bell
ec2fa2558c
Remove interior borders during flow construction
...
Instead of looking at the boundaries of the text run, set the border
width to zero and the border style to none on border sides that are not
the outermost for a node container that is display: inline.
2015-02-27 15:52:12 -08:00
bors-servo
26567ef2e6
auto merge of #5066 : luniv/servo/document-currentscript, r=jdm
...
Implements https://github.com/servo/servo/issues/5057 (Document.currentScript)
2015-02-27 11:30:57 -07:00
James Gilbertson
5f5d1246ef
Implement Document.currentScript
2015-02-27 11:11:02 -07:00
Bryan Bell
0f407804fe
Remove WA for borders ref test
...
The borders_a.html ref test had a WA to avoid displaying a spurious
black pixel at (0,0). Details are at
https://github.com/servo/servo/issues/2879
The WA can be removed since the bug is no longer reproducible.
2015-02-27 00:40:53 -08:00
bors-servo
8ad3c5aeb6
auto merge of #5064 : glennw/servo/hide-after-layout, r=pcwalton
...
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-26 14:46:10 -07:00
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