Commit graph

5418 commits

Author SHA1 Message Date
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
Ms2ger
727f5c5797 Update web-platform-tests. 2015-01-28 23:29:16 +01: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
bors-servo
c2076d707e auto merge of #4660 : deokjinkim/servo/font_style, r=jdm
'oblique' font-style is not supported now.
When I checked freetype.h, same macro is used for italic and oblique.

  /*    FT_STYLE_FLAG_ITALIC ::                                            */
  /*      Indicates that a given face style is italic or oblique.          */

So, when font style is 'oblique', enable flag for italic.
With tests/html/test_italic_bold.html, it works well.
2015-01-28 11:51:53 -07:00
Peter Reid
c9cbb5b071 Handle overlapping border-radius corners
Conforming to section 5.5 (Rounded Corners/Overlapping Curves) of "CSS
Background and Borders Module Level 3", border radii on elements whose
border curves would have overlapped are uniformly scaled down to the
point that they no longer do.

http://dev.w3.org/csswg/css-backgrounds/#corner-overlap
2015-01-26 09:04:42 -05:00
Josh Matthews
95fc29fa0d Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
Glenn Watson
0f525d908d Change glutin headless mode to be a build config, as it breaks some Linux distros linking to both.
The majority of this change is simply re-arranging the code in the glutin port
so that the windowed/headless code is configured at build time rather
than runtime. There shouldn't be any functional difference as a result of this change.
2015-01-23 06:09:25 +10:00
Ms2ger
6694fd4379 Disable document-lastModified-01.html.
It has been failing in automation very frequently.
2015-01-20 10:41:20 +01:00
Deokjin Kim
ee0ce0d8f4 Merge branch 'master' of https://github.com/servo/servo into font_style 2015-01-20 11:02:41 +09:00
Deokjin Kim
80a6f0ae08 Support 'font-style: oblique'. 2015-01-20 10:48:23 +09:00
Glenn Watson
a2a74cbb4f Switch linux reftests on glutin to use osmesa software rendering. 2015-01-20 09:09:45 +10:00
Ms2ger
b6e5e823e6 Update web-platform-tests. 2015-01-19 13:06:43 +01: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
Ms2ger
29e250d4ac Update web-platform-tests and wptrunner. 2015-01-14 15:20:41 +01:00
Ms2ger
5eef78c6d8 Enable html/rendering. 2015-01-14 10:59:30 +01:00
Ms2ger
965dcda609 Update wptrunner and start running reftests. 2015-01-14 10:59:30 +01:00