Commit graph

6640 commits

Author SHA1 Message Date
Matt Brubeck
f5ebd19c01 Merge pull request #3161 from mbrubeck/pub
Remove some unneeded pubs. r=Manishearth
2014-08-27 08:36:48 -07:00
Matt Brubeck
101f3ee35a Remove some unneeded pubs 2014-08-27 08:36:10 -07:00
Lars Bergstrom
7f8e8372e3 Merge pull request #3166 from mbrubeck/check
Run the same tests for make check on all platforms
2014-08-27 10:27:02 -05:00
Lars Bergstrom
370192451f Merge pull request #3134 from glennw/inline-background
Add support for backgrounds on inline elements. Fix fixup() by removing it.
2014-08-27 10:24:49 -05:00
Lars Bergstrom
1cea7223ec Merge pull request #3167 from LalehB/master
PowerMeasure and Readme in one commit
2014-08-27 10:23:05 -05:00
Manish Goregaokar
aa52b0a0cd Merge pull request #3145 from wenderen/NamespaceURI.None
return null from GetNamespaceURI, not the empty string; r=Manishearth, Ms2ger
2014-08-27 20:52:32 +05:30
Josh Matthews
e37023730f Merge pull request #3168 from Ms2ger/delete_property_by_id
Factor out code to call JS_DeletePropertyById2.
2014-08-27 11:09:50 -04:00
Jack Moffitt
b491f56e59 Merge pull request #3162 from SimonSapin/png-enum
Update to png::Image::pixels as an enum.
2014-08-27 08:49:40 -06:00
Ms2ger
a081b9a56f Merge pull request #3100 from Ms2ger/tests-html
Enable some of the HTML tests; r=jdm
2014-08-27 16:26:09 +02:00
Ms2ger
885a246635 Split up web-platform-tests on Travis. 2014-08-27 16:24:12 +02:00
Ms2ger
76ddacd6a5 Enable some of the HTML tests. 2014-08-27 16:24:12 +02:00
Ms2ger
3274071b2c Factor out code to call JS_DeletePropertyById2.
I'll need to write the same code again for cross-origin wrappers.
2014-08-27 12:56:53 +02:00
Rohan Prinja
32b7f5e136 return null from GetNamespaceURI, not the empty string
correctly mark tests
2014-08-27 12:25:13 +05:30
Glenn Watson
fa6b59901a Add support for backgrounds on inline elements. Fix fixup() by removing it.
The code that managed ranges was buggy - failing on edge cases
such as a span within a span. I have refactored the code so that the
context information for inline formatting can optionally be stored
within a fragment. This seems cleaner to me, and fixes the bugs
encountered when making these changes by removing the need for
the fixup() functionality (and ranges).
2014-08-27 13:03:08 +10:00
Matt Brubeck
f2373ceee7 Merge pull request #3153 from SimonSapin/bit-struct-tests
Add tests for the bit_struct! macro. r=mbrubeck
2014-08-26 19:58:18 -07:00
LalehB
34db70a191 power 2014-08-26 18:01:54 -07:00
Simon Sapin
15ae8d1eea Remove a .orig file left over from conflict resolution. 2014-08-27 01:26:43 +01:00
Matt Brubeck
283b316bc7 Run the same tests for make check on all platforms
This target is no longer run in automation; it's for developer convenience, so
it should really run everything.  Also ensure that `check-all` is a superset
of `check`.
2014-08-26 17:23:26 -07:00
Simon Sapin
a0d70c4cfd Merge pull request #3110 from SimonSapin/writing-modes-reftest
Add a basic CSS Writing Modes reftest
2014-08-27 01:07:45 +01:00
Simon Sapin
c24287808d Update to png::Image::pixels as an enum.
https://github.com/servo/rust-png/pull/42

This does *not* fix the issue in #3154, but makes it fail!()
instead of (maybe?) reading uninitalized memory.
2014-08-26 23:02:35 +01:00
Jack Moffitt
c1ec0b11e9 Merge pull request #3160 from mbrubeck/old-layout-comments
Remove obsolete TODO comments
2014-08-26 15:31:37 -06:00
Simon Sapin
58f1655c9b Merge pull request #3152 from SimonSapin/clean
Add missing clean-* make targets.
2014-08-26 21:36:04 +01:00
Simon Sapin
a29ab0e47c Add a reftest for basic block layout in a vertical writing mode. 2014-08-26 21:24:46 +01:00
Simon Sapin
2e6b34f598 Reftests can opt into --experimental 2014-08-26 21:24:46 +01:00
Simon Sapin
003c92f9bb Set the origin of the root element per its writing mode.
It’s not always (0, 0) anymore.
2014-08-26 21:24:46 +01:00
Simon Sapin
353b1a17d5 Convert back to physical some layout coordinates. 2014-08-26 21:24:46 +01:00
Simon Sapin
36ed8d4212 Dump display lists when debug!() is enabled for gfx::display_list 2014-08-26 21:24:46 +01:00
Simon Sapin
b7401b9562 Only write the px value in Show for Au
The integer Au value is mostly internal and does not make much sense.

Printing both values is very verbose and hurts readability of debug logs.
2014-08-26 21:24:46 +01:00
Lars Bergstrom
578c14e7b6 Merge pull request #3158 from sstangl/master
Correct capitalization of "libXrandr-devel" in Fedora prerequisites list...
2014-08-26 15:12:42 -05:00
Ms2ger
93e7d89c3b Merge pull request #3155 from brunoabinader/nuke-tlayoutdata
Nuke Node's TLayoutData; r=jdm
2014-08-26 21:55:29 +02:00
Matt Brubeck
0b215f85b4 Remove obsolete TODO comments 2014-08-26 12:40:17 -07:00
Sean Stangl
88890e3b41 Correct capitalization of "libXrandr-devel" in Fedora prerequisites list. 2014-08-26 11:45:52 -07:00
Bruno de Oliveira Abinader
09633ed84d Nuke Node's TLayoutData
LayoutData{Ref} structs replaced its usage for quite some time now.
2014-08-26 12:21:26 -04:00
Simon Sapin
dd44a7d24a Add tests for the bit_struct! macro.
The macro crate, when built with `--test`,
now depends on itself (a version of itself built without `--test`).
This is a bit unusal, but allows testing a syntax extension.
I did not feel like making a new crate just for this,
and these tests do not belong in any of the other existing crates.
2014-08-26 15:19:03 +01:00
Simon Sapin
1c908f2084 Add missing clean-* make targets.
Some more recent Servo crates were not cleaned by `make servo-clean`.
2014-08-26 14:42:29 +01:00
Manish Goregaokar
64f05116fc Merge pull request #3131 from Manishearth/image
Load bare images within an HTML document (#3108); r=Ms2ger
2014-08-26 19:07:45 +05:30
Ms2ger
a0b0f7cb2e Merge pull request #3151 from Ms2ger/bools
Update ProxyTraps to use real bools; r=jdm
2014-08-26 15:35:21 +02:00
Ms2ger
16510963b5 Update ProxyTraps to use real bools. 2014-08-26 14:50:30 +02:00
Manish Goregaokar
22ed3d620d Load bare images within an HTML document (#3108) 2014-08-26 17:09:11 +05:30
Manish Goregaokar
b0c2e09ed7 Merge pull request #3150 from Ms2ger/wpt-docs
Add documentation about web-platform-tests; r=jgraham
2014-08-26 16:24:47 +05:30
Ms2ger
01f424d89e Add documentation about web-platform-tests. 2014-08-26 11:05:05 +02:00
glennw
e85fcb6e9e Merge pull request #3148 from glennw/ssl
Add https support
2014-08-26 14:26:33 +10:00
Glenn Watson
e30e617f79 Add https support 2014-08-26 13:41:56 +10:00
Ms2ger
ce45280110 Merge pull request #3061 from brunoabinader/domtokenlist
Implement DOMTokenList.contains; r=Ms2ger
2014-08-25 22:23:32 +02:00
Bruno de Oliveira Abinader
23d1d1cf7b Mark WPT tests as FAIL due to lack of DOMTokenList.toggle
For now, these tests are being handled in test_element_classList.html
until DOMTokenList.toggle gets implemented.

Created issue #3138 to track DOMTokenList.toggle implementation.
2014-08-25 13:58:42 -04:00
Bruno de Oliveira Abinader
400a31443b Cleaned DOMTokenList code duplication 2014-08-25 13:58:42 -04:00
Bruno de Oliveira Abinader
caa55bf9ed Implement DOMTokenList.contains 2014-08-25 13:58:42 -04:00
Bruno de Oliveira Abinader
d17450106c Use AttrValue::tokens() in Element::has_class() 2014-08-25 13:58:42 -04:00
Bruno de Oliveira Abinader
e9f9afc324 Implemented Attribute's tokens() iterator 2014-08-25 13:58:42 -04:00
Bruno de Oliveira Abinader
592454defd Fixed AttrValue::from_tokenlist indexes
The following issues were found:
 - Single concatenated spaces were indexed as a single token;
 - Last token, if not followed by an HTML space character, was ignored;
2014-08-25 13:58:42 -04:00