Mátyás Mustoha
b9244ec1c2
Canvas: moved Rect validation to a common function.
2015-04-09 11:50:31 +02:00
bors-servo
74afd086d2
Auto merge of #5579 - dhodder:master, r=Ms2ger
...
Although https://github.com/mozilla/rust successfully redirects, it's no longer the official GitHub URL for Rust.
2015-04-08 22:10:42 -05:00
bors-servo
223a5c4972
Auto merge of #5560 - gfxmonk:wpt-instructions, r=jdm
...
The current wpt instructions tell users to run `./serve.py`, which doesn't do anything. I've updated the instructions to use `./serve`, which works as advertised (and matches the instructions from web-platform-tests/README.md).
2015-04-08 21:37:50 -05:00
bors-servo
1c09557398
Auto merge of #5606 - Ms2ger:errors, r=jdm
2015-04-08 21:07:18 -05:00
bors-servo
acadb2b0c5
Auto merge of #5604 - Ms2ger:int, r=mbrubeck
2015-04-08 20:33:17 -05:00
bors-servo
254f2a3b5f
Auto merge of #5599 - servo:textdecoder, r=jdm
2015-04-08 20:00:40 -05:00
bors-servo
fe5047e55a
Auto merge of #5595 - mmatyas:net_intfix, r=Ms2ger
...
Also replaced `for` ranges with `a..b` notation.
2015-04-08 19:28:28 -05:00
bors-servo
9b7bf415d7
Auto merge of #5590 - nox:document-createattributens, r=Ms2ger
2015-04-08 18:55:19 -05:00
bors-servo
1c884dc76b
Auto merge of #5583 - pcwalton:float-ceiling-top-margin-redux, r=mbrubeck
...
As the float ceiling is relative to the border box, not the margin box,
of the parent flow, top margin must not be included.
This exposed a pre-existing bug whereby margins are discarded if a block
contains only floats and no content, affecting the tests
`float_intrinsic_height.html` and `margins_inside_floats_a.html`. As a
workaround, some invisible content has been added to the bodies of both
tests.
r? @mbrubeck
2015-04-08 18:04:14 -05:00
bors-servo
d3478954fd
Auto merge of #5493 - pcwalton:jumpiness, r=mbrubeck
...
This fixes a lot of "jumpiness" and removes the `new_line_pos` stuff.
Closes #2260 .
r? @mbrubeck
cc @metajack
2015-04-08 17:13:36 -05:00
Patrick Walton
6d61468160
layout: Simplify and improve the correctness of whitespace stripping in
...
text layout, and unify the inline layout paths for pre- and
normally-formatted text.
This fixes a lot of "jumpiness" and removes the `new_line_pos` stuff.
Closes #2260 .
2015-04-08 14:29:23 -07:00
bors-servo
656617a91c
Auto merge of #5578 - nox:collect_text_contents-unsound, r=Ms2ger
2015-04-08 16:16:53 -05:00
bors-servo
37b6738884
Auto merge of #5570 - Ms2ger:cef, r=jdm
2015-04-08 15:04:20 -05:00
bors-servo
88aa07b7e0
Auto merge of #5605 - servo:shadows, r=mbrubeck
...
CC #5207 .
2015-04-08 14:13:32 -05:00
Ms2ger
f8dec0fe58
Adjust the assertions in throw_dom_exception.
2015-04-08 20:44:49 +02:00
Ms2ger
211d40c596
Disable canvas_shadows_002.htm.
...
CC #5207 .
2015-04-08 20:30:53 +02:00
bors-servo
0f0dd02daa
Auto merge of #5575 - nox:namednodemap-remove, r=Ms2ger
2015-04-08 13:22:29 -05:00
Ms2ger
a8c7864c68
Stop using int in font_list.
2015-04-08 19:00:58 +02:00
Ms2ger
6ae74b6673
Pass the buffer to create_face_from_buffer.
...
It's better to hold on to the abstraction as long as possible.
2015-04-08 19:00:34 +02:00
bors-servo
ee7d762213
Auto merge of #5563 - mmatyas:canvas_globalalpha, r=jdm
...
A patch somewhat similar to #5562
2015-04-08 11:58:04 -05:00
bors-servo
a745dda863
Auto merge of #5589 - mbrubeck:dirty, r=pcwalton
...
This fixes a bug where styles are not recalculated immediately when an element's hover or focus state changes. I'm not sure how to write an automated test for this. r? @glennw or @pcwalton
2015-04-08 10:36:33 -05:00
Keith Yeung
e2929403ef
Implement TextDecoder#decode.
2015-04-08 16:55:50 +02:00
Ms2ger
c0d4e27d79
Update js.
2015-04-08 16:53:14 +02:00
Keith Yeung
4e5ab24654
Implement TextDecoder ( fixes #4769 ).
2015-04-08 16:52:59 +02:00
bors-servo
3445017e43
Auto merge of #5598 - jdm:intermittentreftest, r=larsbergstrom
2015-04-08 09:45:21 -05:00
Josh Matthews
efc8db9a51
Disable canvas_shadows_002.htm until we have more time to investigate.
2015-04-08 10:03:01 -04:00
bors-servo
188a0e7b94
Auto merge of #5573 - nox:parentnode-attributes, r=Ms2ger
2015-04-08 07:54:13 -05:00
bors-servo
71e07013de
Auto merge of #5564 - Ms2ger:FromJSValConvertible, r=saneyuki
2015-04-08 06:09:56 -05:00
Mátyás Mustoha
c842e499b3
Fix int-related warnings in net/mime_classifier.
2015-04-08 12:14:36 +02:00
Mátyás Mustoha
5c560397eb
Canvas: added support for the globalAlpha attribute.
2015-04-08 11:49:22 +02:00
bors-servo
267badae69
Auto merge of #5587 - pcwalton:list-style-image-sizing-redux, r=glennw
...
Improves Wikipedia.
r? @glennw
2015-04-08 04:48:30 -05:00
bors-servo
f4da0f0e94
Auto merge of #5584 - pcwalton:fix-a-float-redux, r=glennw
...
As far as I can tell, this is a cut-and-paste of old buggy code from
block flows. Delegating to the correct block flow code fixes the sidebar
float placement on Guardians of the Galaxy.
r? @glennw
2015-04-08 03:57:36 -05:00
Anthony Ramine
2353bc4798
Implement Document::CreateAttributeNS()
2015-04-08 10:22:32 +02:00
Anthony Ramine
7b4f6126c8
Add script::dom::utils::validate_and_extract()
...
Accidentally fixes bugs about Document::createElementNS() where the
implementation of "validate and extract" used to check whether the local name
extracted from the qualified name was "xmlns" instead of the qualified name
itself.
2015-04-08 10:22:30 +02:00
Anthony Ramine
abc01d598a
Add script::dom::utils::validate_qualified_name()
2015-04-08 10:22:28 +02:00
bors-servo
83d9ab3ba5
Auto merge of #5571 - jdm:gfx_uint, r=Ms2ger
...
r? @Ms2ger
2015-04-08 03:06:09 -05:00
bors-servo
cad27a9d25
Auto merge of #5568 - jdm:net_uint, r=jdm
2015-04-08 01:47:56 -05:00
bors-servo
f57b487e4d
Auto merge of #5562 - mmatyas:canvas_linewidth, r=jdm
...
Rebase of #5488
2015-04-08 00:56:37 -05:00
bors-servo
f3df8859a8
Auto merge of #5557 - xfq:patch-1, r=metajack
...
Update the URI of Rust Code of Conduct.
2015-04-07 23:55:31 -05:00
bors-servo
2089c1f285
Auto merge of #5550 - aneeshusa:fix-issue-5540, r=jdm
...
Fixes issue #5540 .
As far as I can tell this is all that's necessary, but I'm new to Rust, so let me know if I missed something!
2015-04-07 23:04:12 -05:00
bors-servo
df57af1fc4
Auto merge of #5527 - jagtalon:jag/multiple-urls, r=mbrubeck
...
Switched from opts.urls from being of type Vec to type String and changing the name to `url` as well. Changed the other files that are using opts.urls accordingly.
2015-04-07 22:08:33 -05:00
bors-servo
017d105361
Auto merge of #5574 - servo:unit-tests, r=jack
...
On my laptop, running `./mach test-unit` goes from about 11 minutes to 22 seconds, when run after `./mach build`.
Fix #5291 .
2015-04-07 21:16:49 -05:00
bors-servo
58637a1174
Auto merge of #5433 - dmarcos:issue5290, r=jdm
2015-04-07 18:38:34 -05:00
Simon Sapin
84e5f1e85b
Use the correct license header.
2015-04-08 01:07:58 +02:00
Simon Sapin
9199c4f478
Remove now-empty module.
2015-04-08 01:07:57 +02:00
Simon Sapin
2a6f2cde50
Check license headers in ./tests
2015-04-08 01:07:56 +02:00
Simon Sapin
3b1cfe8458
Add license headers in tests/unit
2015-04-08 01:07:55 +02:00
Simon Sapin
ec28d98080
Have ./mach test-unit
run nothing but cargo test -p unit_tests
...
All unit tests will move there, and it should be much faster to build
than every other crate together.
Fix #5291 .
2015-04-08 01:07:54 +02:00
Simon Sapin
dc431c9bdb
Move script crate unit tests into the unit_tests crate.
2015-04-08 01:07:53 +02:00
Simon Sapin
e5466a34c5
Move style crate unit tests into the unit_tests crate.
2015-04-08 01:07:52 +02:00