Commit graph

6066 commits

Author SHA1 Message Date
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
Patrick Walton
5f449019aa Merge pull request #3142 from SimonSapin/bit-struct-macro
Move PropertyBitField to a syntax extension.
2014-08-25 07:55:33 -07:00
glennw
44d7004889 Merge pull request #3143 from glennw/revert-layers
Temporarily revert rust-layers, as the most recent change broke the acid2 test on mac/travis.
2014-08-25 10:31:48 +10:00
Glenn Watson
292bb33560 Temporarily revert rust-layers, as the most recent change broke the acid2 test on mac/travis. 2014-08-25 09:33:20 +10:00
glennw
4c84098c8d Merge pull request #3128 from glennw/add-ref-tests
Fix naming of diff png files when multiple reftest lists in use. Import a few css21 reftests.
2014-08-25 07:25:13 +10:00
Simon Sapin
653f257029 fixup! Move PropertyBitField to a syntax extension. 2014-08-24 11:44:58 +01:00
Simon Sapin
d6002a0a50 Move PropertyBitField to a syntax extension.
This is a first step towards moving away the Mako template in the style crate.
2014-08-23 23:37:27 +01:00
Manish Goregaokar
5d7438a7db Add a task-based CORS Cache 2014-08-23 21:30:02 +05:30
Ms2ger
782deca569 Merge pull request #3090 from brunoabinader/document-cached-live-htmlcollections
Implement cache for remaining Document live collections; r=Ms2ger
2014-08-23 13:28:17 +02:00
Manish Goregaokar
a3b5395d50 Add a basic CORS Cache and a CORS Cache trait 2014-08-23 12:14:25 +05:30
Manish Goregaokar
8cd572de95 Add basic_fetch and a skeleton http_fetch 2014-08-23 12:13:59 +05:30
Simon Sapin
0ba9c9e3ed Merge pull request #3136 from saneyuki/readme
Update the description about Rust compiler which we uses.
2014-08-22 21:34:52 +01:00
Tetsuharu OHZEKI
1480dc603a Update the description about Rust compiler which we uses. 2014-08-23 05:33:25 +09:00
Bruno de Oliveira Abinader
1a0a133ecf Implement cache for remaining Document live collections 2014-08-22 11:07:25 -04:00
Ms2ger
c6628120ee Merge pull request #3133 from Ms2ger/rm-contenttests
Remove content tests that duplicate wpt tests; r=abinader
2014-08-22 14:54:26 +02:00
Ms2ger
664b1a7d1f Merge pull request #3124 from brunoabinader/attr-changes
Attr, AttrValue changes; r=Ms2ger
2014-08-22 14:11:29 +02:00
Bruno de Oliveira Abinader
9061942664 Make AttrValue::as_slice impl from Str 2014-08-22 08:09:49 -04:00
Bruno de Oliveira Abinader
608389132a Use Attr::value() whenever possible 2014-08-22 08:09:49 -04:00
Ms2ger
e6baef29d3 Remove content tests that duplicate wpt tests.
In particular, the test coverage is provided by:

dom/nodes/Node-childNodes.html
dom/nodes/Document-createElementNS.html
dom/historical.html
dom/nodes/Document-createProcessingInstruction.html
dom/nodes/Document-doctype.html
dom/nodes/Document-importNode.html
dom/nodes/Document-createElement.html
dom/nodes/Document-getElementsByTagName.html
2014-08-22 12:44:25 +02:00
Simon Sapin
f87b7f4967 Merge pull request #3130 from SimonSapin/remove-rust-submodule
Remove rust submodule
2014-08-22 11:28:02 +01:00
Ms2ger
efc221d10e Merge pull request #3132 from Ms2ger/update-wpt
Update web-platform-tests; r=jgraham
2014-08-22 12:17:49 +02:00
Ms2ger
4cc08bde00 Merge pull request #3095 from ChrisParis/HTMLScriptElement.text
Implement HTMLScriptElement.text; r=Ms2ger
2014-08-22 12:10:12 +02:00
Simon Sapin
c836784d53 Move rust-snapshot-hash to the root. 2014-08-22 09:49:45 +01:00
Ms2ger
5abf7bab2e Update web-platform-tests. 2014-08-22 10:06:19 +02:00
Ms2ger
1bbd5c8c7d Merge pull request #3125 from seanmonstar/script-type
Check the type/language of script elements (fixes #2828); r=SimonSapin+Ms2ger
2014-08-22 09:06:08 +02:00