Commit graph

6213 commits

Author SHA1 Message Date
Tetsuharu OHZEKI
b0cd45e2da Fix mach cargo is missing 2014-09-17 11:52:05 +09:00
Jack Moffitt
1544db8bb9 Merge pull request #3373 from ProgramFOX/issue3366
Removed unused BlobMethods and CommentMethods traits, fixes #3366
2014-09-16 18:39:06 -06:00
Patrick Walton
514aca0981 Merge pull request #3377 from LalehB/patch-5
Update README.md
2014-09-16 14:49:52 -07:00
LalehB
5dcce000e5 Update README.md 2014-09-16 14:04:16 -07:00
LalehB
dea11c5ba2 Update README.md 2014-09-16 13:27:41 -07:00
Keegan McAllister
ffd126a0ff Merge pull request #3318 from mrobinson/scrolling
Store content offset in unscaled pixels
2014-09-16 13:00:44 -07:00
Simon Sapin
14f7d2dabd Merge pull request #3365 from SimonSapin/command-line-argument-filenames
Try to parse command line argument as file names
2014-09-16 20:32:40 +01:00
Patrick Walton
ef56335efe Merge pull request #3350 from glennw/layout-viewer
Add viewer for layout trace files.
2014-09-16 11:14:01 -07:00
Matt Brubeck
8e2ac7a5c5 Merge pull request #3296 from mbrubeck/background-position
Support CSS2 background-position keyword and percent values. r=SimonSapin
2014-09-16 10:35:00 -07:00
Matt Brubeck
6c9524b687 Implement background-position keyword values
Also fixes calculation of background-position percentages:

Rather than multiplying the container size by a percent and aligning the top
left of the image at the resulting width, we also need to subtract a
corresponding percent of the image size, per
http://dev.w3.org/csswg/css2/colors.html#propdef-background-position

"A value pair of '100% 100%' places the lower right corner of the image in the
lower right corner of the padding box. With a value pair of '14% 84%', the
point 14% across and 84% down the image is to be placed at the point 14%
across and 84% down the padding box."
2014-09-16 10:24:31 -07:00
ProgramFOX
457f1876b9 Removed unused BlobMethods and CommentMethods traits, fixes #3366 2014-09-16 19:03:04 +02:00
Matt Brubeck
66a7de750c Merge pull request #3339 from mbrubeck/percent-height
Implement percentage heights for block flows. r=SimonSapin
2014-09-16 09:03:04 -07:00
Matt Brubeck
c7e30f87c4 Implement percentage heights for block flows
Fixes #2029
2014-09-16 09:02:01 -07:00
Martin Robinson
ea14fca1dc Store content offset in unscaled pixels
Content offset is now stored in unscaled pixels, so that it can be
applied to tile positions during compositor rendering without unscaling
it. This means that when using it in calculations of layer size (stored
in device pixels), we need to scale it. Scene scale is now stored as a
scale rather than a transformation.

Fixes #3269.
Fixes #3042.
2014-09-16 08:57:08 -07:00
Simon Sapin
4768423eaa Give explicit file: URLs for reftests. Allow specifying a fragment id
The previous commit made #top be considered part of the file name in
../html/acid2.html#top
2014-09-16 16:22:52 +01:00
Matt Brubeck
0e2cdc5cca Merge pull request #3352 from mbrubeck/link-style
Move link rel=stylesheet fetching to layout task. r=jdm
2014-09-16 08:16:29 -07:00
Josh Matthews
dd35ea223e Merge pull request #3357 from glennw/empty-iframe-src
Handle src='' in an iframe element. Without this, infinitely creates iframes with the same url.
2014-09-16 10:16:35 -04:00
Matt Brubeck
1ae3bda172 Move link rel=stylesheet fetching to layout task
Fixes #3346.
2014-09-16 07:12:01 -07:00
Simon Sapin
11135d75cb Try to parse command line argument as file names
… when parsing as an absolute URL (without a base) fails.

Previously, arguments were parsed as URLs with the current working directory
converted to an URL and used as the base URL. This mostly worked for
relative filenames, except that `?` and `#` had a special meaning
and needed to be percent-encoded.

Fix #3340.
2014-09-16 14:41:45 +01:00
glennw
7a5f15f137 Merge pull request #3362 from glennw/fix-layout-fonts
Fix font flickering due to missed check in font cache.
2014-09-16 17:57:36 +10:00
Glenn Watson
d9662fc571 Fix font flickering due to missed check in font cache. 2014-09-16 14:35:22 +10:00
Jack Moffitt
ad02534c10 Merge pull request #3212 from cgaebel/style-resolution-bloom-filter
Added a bloom filter to CSS selector matching.
2014-09-15 22:27:24 -06:00
Glenn Watson
111de569ac Handle src='' in an iframe element. Without this, infinitely creates iframes with the same url. 2014-09-16 13:47:41 +10:00
Jack Moffitt
a97a4f93df Merge pull request #3355 from LalehB/patch-4
Update PowerMeasure.py
2014-09-15 21:12:58 -06:00
Jack Moffitt
8a02fe0fc6 Merge pull request #3347 from jdm/blankiframe
Make all iframes attached to a document default to about:blank.
2014-09-15 19:37:29 -06:00
Clark Gaebel
acd83ff47b Added a bloom filter to CSS selector matching. 2014-09-15 16:29:45 -07:00
LalehB
9ed2a894dd Update PowerMeasure.py 2014-09-15 16:13:41 -07:00
Jack Moffitt
d161d0ad47 Merge pull request #3299 from servo/iframe-javascript-urls
Handle iframe.src with a javascript: URL.
2014-09-15 17:03:54 -06:00
Jack Moffitt
6ed9680ba5 Merge pull request #3349 from LalehB/patch-3
Update PowerMeasure.py
2014-09-15 16:54:19 -06:00
Glenn Watson
f4c132f37d Add viewer for layout trace files. 2014-09-16 07:58:27 +10:00
LalehB
587eaf4f5b Update PowerMeasure.py
fixing a bug in displaying results
2014-09-15 14:03:42 -07:00
Jack Moffitt
5f10d15e74 Merge pull request #3345 from mbrubeck/mach-exception
Don't throw on non-zero exit in mach commands
2014-09-15 14:59:37 -06:00
Josh Matthews
151cbf07a6 Make all iframes attached to a document default to about:blank. 2014-09-15 14:15:44 -04:00
Patrick Walton
13ae369dec Merge pull request #3341 from glennw/table-cb
Implement generated_containing_block_rect for TableFlow. Fixes #3337.
2014-09-15 09:29:39 -07:00
Jack Moffitt
b605929134 Handle iframe.src with a javascript protocol URL.
This change prevents us from crashing on Amazon and other pages with
iframe.src="javascript:foo".
2014-09-15 10:02:02 -06:00
Matt Brubeck
e69fbc22de Don't throw on non-zero exit in mach commands
Fixes #3344.
2014-09-15 08:32:46 -07:00
Glenn Watson
cab15531b5 Implement generated_containing_block_rect for TableFlow. Fixes #3337. 2014-09-15 15:39:58 +10:00
Jack Moffitt
00150b8c71 Merge pull request #3336 from glennw/resize-fail
Handle AttachLayout before ResizeMsg. Fixes #3333 for yahoo static suite.
2014-09-14 22:54:03 -06:00
Glenn Watson
102e06f46b Handle AttachLayout before ResizeMsg. Fixes #3333 for yahoo static suite. 2014-09-15 12:30:05 +10:00
glennw
2f12d5628f Merge pull request #3331 from jdm/ib-abs
Propagate absolute descendants of inline block flows. Fixes #3326.
2014-09-15 10:45:24 +10:00
Jack Moffitt
203144e207 Merge pull request #3334 from mbrubeck/mach-rustc
Add a `mach rustc` command
2014-09-14 13:38:30 -06:00
Matt Brubeck
2df61655cc Add a mach rustc command 2014-09-14 11:46:18 -07:00
Manish Goregaokar
fe31805a04 Merge pull request #3282 from gilles-leblanc/tests-readme
Updates tests README.md for mach; r=Manishearth
2014-09-14 23:14:36 +05:30
Gilles Leblanc
d3dc61c984 Updates tests README.md for mach 2014-09-14 13:40:19 -04:00
Josh Matthews
8f65c22927 Propagate absolute descendants of inline block flows. Fixes #3326. 2014-09-14 13:12:44 -04:00
Josh Matthews
0b0c2ef461 Fix broken build after denying unused imports. 2014-09-14 11:02:33 -04:00
Josh Matthews
6c179127a3 Merge pull request #3327 from metajack/cargo-profiles
Reinstate errors for unused variables and imports.
2014-09-14 09:56:58 -04:00
Josh Matthews
22df9943c1 Merge pull request #3328 from Ms2ger/fixme-customevent
Remove obsolete FIXME comment.
2014-09-14 09:53:57 -04:00
Josh Matthews
23ec53042c Merge pull request #3329 from Ms2ger/2877-base64
Call from_base64 on a vector slice rather than a string slice (fixes #2877).
2014-09-14 09:50:34 -04:00
Ms2ger
dbefb2f0fd Call from_base64 on a vector slice rather than a string slice (fixes #2877). 2014-09-14 10:32:59 +02:00