Martin Robinson
d565eade88
Merge pull request #3107 from mrobinson/root-margin-collapse
...
Prevent margin collapse in the root flow
2014-08-18 14:27:10 -07:00
Lars Bergstrom
9bf8952686
Add doge Servo files for testing and demos
2014-08-18 16:21:43 -05:00
Lars Bergstrom
7b24d3e299
Merge pull request #3106 from zmike/librarian
...
add rpath back for library build
2014-08-18 15:47:57 -05:00
Mike Blumenkrantz
bef936c0cd
add rpath back for library build
...
this broke library usage completely when it was removed
2014-08-18 16:43:03 -04:00
Martin Robinson
65fce97f51
Prevent margin collapse in the root flow
...
According to the CSS specification, section 8.3.1, margins of the root
element's box do not collapse. Ensure that root flow margins do not
collapse during the assign heights phase.
2014-08-18 12:16:09 -07:00
Patrick Walton
0e5d6dbac2
Merge pull request #3105 from glennw/block-replaced-content
...
Ensure that block elements with replaced content don't get their block s...
2014-08-18 11:51:11 -07:00
Glenn Watson
2ff7949775
Ensure that block elements with replaced content don't get their block size overwritten.
2014-08-18 10:43:53 +10:00
Martin Robinson
35b626e592
Merge pull request #3097 from mrobinson/pinch-zoom-delay
...
Update rust layers and fix delay in pinch zoom
2014-08-17 10:25:13 -07:00
Brandon Frohs
266f9f55e7
Implement HTMLTitleElement.text ( closes #3025 )
2014-08-17 04:02:39 -04:00
Jack Moffitt
ab5133665b
Merge pull request #3102 from dotdash/fixup_azure_lifetime_bug
...
Update rust-azure to fix a dangling pointer bug
2014-08-16 22:55:22 -06:00
Björn Steinbrink
6ba21750af
Update rust-azure to fix a dangling pointer bug
...
Fixes #3084
2014-08-17 05:18:19 +02:00
Chris Paris
e3ae54dd5e
Improve Option deconstruction
2014-08-16 09:31:22 -10:00
Manish Goregaokar
e9608a6560
Merge pull request #3098 from wenderen/HTMLTableElement.caption
...
implement GetCaption and SetCaption for HTMLTableElement; r=Manishearth
2014-08-16 20:27:51 +05:30
Simon Sapin
444ff84259
Merge pull request #3078 from SimonSapin/style-cleanup
...
Various refactoring and fixes in the style crate
2014-08-16 12:24:34 +01:00
Rohan Prinja
795fd68032
Implement HTMLTableElement.caption
2014-08-16 16:29:12 +05:30
Ms2ger
1b543144f1
Pass an Atom to before_remove_attr and after_set_attr.
2014-08-16 12:32:19 +02:00
Ms2ger
9501d2e451
Make Attr::local_name an Atom.
2014-08-16 12:13:02 +02:00
Ms2ger
ba592364b7
Merge pull request #3094 from Ms2ger/importScripts
...
Implement WorkerGlobalScope.importScripts; r=Manishearth
2014-08-16 12:11:14 +02:00
Ms2ger
aed642babe
Implement WorkerGlobalScope.importScripts.
2014-08-16 12:09:09 +02:00
Simon Sapin
4ca385ba10
Take an iterator when parsing selectors.
2014-08-16 08:32:59 +01:00
Simon Sapin
5f3dc55f72
Make more things private to the style crate.
2014-08-16 08:32:47 +01:00
Simon Sapin
7e78e54c3f
Refactor and fix src parsing in @font-face
2014-08-16 08:31:23 +01:00
Simon Sapin
6a5fed0471
Dissallow !important in @font-face
2014-08-16 08:31:23 +01:00
Simon Sapin
0945bd9fb4
Fix #2802 : fix parsing of font-family in @font-face
2014-08-16 08:31:23 +01:00
Simon Sapin
639a6c51bf
Fix case sensitivity of local name selectors.
2014-08-16 08:31:23 +01:00
Simon Sapin
06efa195e8
Move UA stylesheet to src/components/style
2014-08-16 08:31:23 +01:00
Simon Sapin
7e635946c2
Remove special treatment of UA stylesheet for parse errors.
...
CSS parse errors are now off by default anyway.
2014-08-16 08:31:23 +01:00
Simon Sapin
733e87eb2c
Cloning DeclarationBlock
is cheap, the declarations are in an Arc
.
2014-08-16 08:31:23 +01:00
Simon Sapin
9ce519ba21
Have quicksort take a compare function rather than requires Ord and Eq.
2014-08-16 08:31:22 +01:00
Simon Sapin
1cbe73c583
Rename MatchedProperty to DeclarationBlock
2014-08-16 08:31:22 +01:00
Simon Sapin
58ed502b7f
Fix parsing of text-decoration: none
...
It would previously accept and ignore garbage in the declaration value
after the `none` keyword.
2014-08-16 08:31:22 +01:00
Simon Sapin
9564d91b5e
Use Result/Err(()) in Selector parsing.
...
… get rid of some custom `enum` types for parsing return values.
`Option<Option<T>>` was ridiculous, but `Result<Option<T>, ()>`
make perfect sense.
Also, we can now take advantage of the `try!()` macro.
2014-08-16 08:31:16 +01:00
Simon Sapin
d9278e3f6a
Use Result/Err(()) instead of Option/None to indicate a CSS parse error.
2014-08-16 08:30:47 +01:00
Martin Robinson
96a813724f
Mark all layers as having changed content during pinch zoom
...
This ensures that layers know that they need to re-issue buffer
requests immediately instead of waiting until another content change
happens.
Fixes #2988 .
2014-08-15 18:08:00 -07:00
Martin Robinson
ebfe8df2a0
Update to latest rust-layers
...
We now need to pass through the content age of the LayerBuffer when
creating it.
2014-08-15 15:42:03 -07:00
Simon Sapin
061e7e1620
Merge pull request #3096 from SimonSapin/make-snapshot
...
Download Rust snapshots in make rather than configure. r=@Manishearth
2014-08-15 21:57:55 +01:00
Simon Sapin
5f4e1d0f61
Download Rust snapshots in make rather than configure.
...
When parallel make (`-j`) is used, this enables building non-Rust dependencies
while the Rust compiler is being downloaded.
On my laptop, from an empty build directory,
`~/projects/servo/configure --disable-optimize && make -j6`
goes from ~7 minutes to ~6 minutes.
The difference matches the download time.
2014-08-15 19:54:42 +01:00
Chris Paris
c70b88c163
Implement HTMLScriptElement.text
2014-08-15 06:20:21 -10:00
Chris Paris
13c9d4c4a0
Implement HTMLAnchorElement.text
2014-08-15 06:10:35 -10:00
Chris Paris
1c1db51ccf
Implement window.atob/btoa
2014-08-15 05:54:57 -10:00
Ms2ger
5b2e08bb5c
Merge pull request #3093 from Ms2ger/worker-location
...
Implement WorkerGlobalScope.location; r=Manishearth
2014-08-15 11:30:55 +02:00
Ms2ger
e7dd281979
Implement WorkerGlobalScope.location.
2014-08-15 09:48:41 +02:00
Ms2ger
fe3b62e9b4
Merge pull request #3089 from Ms2ger/worker-navigator
...
Implement DedicatedWorkerGlobalScope.navigator; r=abinader
2014-08-15 09:45:35 +02:00
Ms2ger
eadb1c154a
Implement DedicatedWorkerGlobalScope.navigator.
2014-08-15 09:43:37 +02:00
Jack Moffitt
f300e146b0
Merge pull request #2274 from metajack/build-32bit
...
Enable 32bit builds.
2014-08-14 21:47:14 -06:00
Jack Moffitt
9a75a0fa12
Enable 32bit builds.
...
You specify a 32bit build by setting --target on configure.
2014-08-14 13:52:19 -06:00
Ms2ger
7cd57870b4
Merge pull request #3088 from brunoabinader/document-links-cache
...
Implement Document.links cache; r=Ms2ger
2014-08-14 20:56:32 +02:00
Ms2ger
d2ffbec5ed
Merge pull request #3080 from Ms2ger/clone
...
Structured clone the argument to postMessage; r=larsberg
2014-08-14 16:30:05 +02:00
Ms2ger
eaea735f72
Structured clone the argument to DedicatedWorkerGlobalScope.postMessage.
2014-08-14 16:28:57 +02:00
Ms2ger
1dca6146a8
Structured clone the argument to Worker.postMessage.
2014-08-14 16:28:57 +02:00