bors-servo
a557b51c28
auto merge of #5154 : luniv/servo/viewpoint-percent-lengths, r=SimonSapin
...
Spec: http://dev.w3.org/csswg/css-values-3/#viewport-relative-lengths
2015-03-05 18:55:02 -07:00
bors-servo
0a7e495bea
auto merge of #5161 : glennw/servo/workaround-race, r=pcwalton
...
A race condition exists where pipelines that are removed from a document
may not ever trigger a paint for that pipeline. The compositor relies
on a paint occurring for each pipeline before outputting the image when
in reftest mode.
2015-03-05 18:15:50 -07:00
Glenn Watson
14e438391a
Disable flaky reftests until a proper solution is found.
...
A race condition exists where pipelines that are removed from a document
may not ever trigger a paint for that pipeline. The compositor relies
on a paint occurring for each pipeline before outputting the image when
in reftest mode.
2015-03-06 10:24:20 +10:00
James Gilbertson
1931a69ad2
Remove un-used use statement
2015-03-05 12:45:59 -07:00
James Gilbertson
a8cd40e270
Remove the 'ch' font-relative length unit
2015-03-05 12:45:58 -07:00
James Gilbertson
dc5a9e56c7
The 'font-size' property needs to use context.inherited_font_size, not context.font_size
2015-03-05 12:45:58 -07:00
bors-servo
7fc37dfaa7
auto merge of #5135 : iamdanfox/servo/fix-5120-rename-layout-util, r=jdm
...
A simple rename/refactor (https://github.com/servo/servo/issues/5120 )
My first servo contribution!
2015-03-05 11:09:58 -07:00
Dan Fox
559ff68b31
Get rid of servo_util
2015-03-05 17:42:05 +00:00
Dan Fox
19686acdec
Merge in servo/master
2015-03-05 17:34:18 +00:00
Simon Sapin
c066377fc5
Add support for changing the viewport size in reftests.
...
Usage example, in `*.list` files:
resolution=200x300 == something.html something_ref.html
2015-03-05 16:52:16 +01:00
bors-servo
caf5663e09
auto merge of #5155 : Ms2ger/servo/unused-import, r=SimonSapin
2015-03-05 08:27:50 -07:00
Ms2ger
ff2f7ea567
Remove an unused import from properties.rs.
2015-03-05 16:21:57 +01:00
James Gilbertson
bc1c44bbc2
Implement viewport percentage length units ('vw', 'vh', 'vmin', 'vmax')
2015-03-05 07:11:34 -07:00
James Gilbertson
16a8047343
Defer media query width computation until evalation
2015-03-05 07:09:10 -07:00
James Gilbertson
41786c4cb4
Refactor style::values::specified::Length to store length by kind (absolute, font-relative or character width)
2015-03-05 07:09:10 -07:00
James Gilbertson
00785ecf63
Make the initial viewport size available to style::properties::cascade
2015-03-05 07:09:10 -07:00
bors-servo
67548a6244
auto merge of #5127 : KiChjang/servo/partial-eq-jsref, r=Ms2ger
...
Fixes #5112 , #3960
2015-03-05 01:15:44 -07:00
bors-servo
34289943e3
auto merge of #5144 : Adenilson/servo/removeFlushLayout01, r=Manishearth
...
Due to changes on Page/Window interfaces, we no longer have use for flush_layout().
2015-03-04 16:54:44 -07:00
Adenilson Cavalcanti
a31d3d7f70
Due to changes on Page/Window interfaces, we no longer have use
...
for flush_layout().
2015-03-04 11:39:29 -08:00
bors-servo
761f7f056c
auto merge of #5137 : Adenilson/servo/cleanupWarning02, r=jdm
2015-03-04 07:51:44 -07:00
bors-servo
373a720dfd
auto merge of #5141 : SimonSapin/servo/silent-submodule-sync, r=Manishearth
...
This eliminates the
Synchronizing submodule url for 'support/android-rs-glue'
Synchronizing submodule url for 'tests/wpt/web-platform-tests'
messages that appeared for every `mach build` command.
2015-03-04 05:51:44 -07:00
Simon Sapin
b613519a52
Make submodule sync silent (and recursive).
...
This eliminates the
Synchronizing submodule url for 'support/android-rs-glue'
Synchronizing submodule url for 'tests/wpt/web-platform-tests'
messages that appeared for every `mach build` command.
2015-03-04 13:43:51 +01:00
bors-servo
9d58c086e7
auto merge of #5128 : bjwbell/servo/inline-block_fix_min-width, r=jdm
...
With inline-block elements set the width to max(min width,
specified width) instead of only using the specified width.
Fixes https://github.com/servo/servo/issues/4945
2015-03-03 22:24:44 -07:00
Bryan Bell
a35ffe1c6e
For inline-block correctly use min-width
...
With inline-block elements set the width to max(min width,
specified width) instead of only using the specified width.
2015-03-03 21:06:57 -08:00
bors-servo
07a3ce2ce1
auto merge of #5130 : bjwbell/servo/inline_block_overflow_ref_test, r=glennw
...
For https://github.com/servo/servo/issues/3725
2015-03-03 21:48:43 -07:00
Bryan Bell
3b32178962
Add inline-block overflow ref test
...
For https://github.com/servo/servo/issues/3725
2015-03-03 20:44:49 -08:00
Adenilson Cavalcanti
463f03826f
Cleanup compilation warning in OSX (should still work on Linux).
2015-03-03 16:01:25 -08:00
bors-servo
72f8898990
auto merge of #5118 : jdm/servo/pageload, r=Ms2ger
...
Rebased and improved version of #4967 .
2015-03-03 16:03:45 -07:00
Josh Matthews
b89339d055
Add missing crate to gonk.
2015-03-03 17:56:55 -05:00
bors-servo
e19fbc686c
auto merge of #5125 : glennw/servo/remove-iframe-layers, r=larsbergstrom
2015-03-03 15:12:45 -07:00
Glenn Watson
86baef2cc0
Remove compositor layers when iframes are removed from doc or display:none.
2015-03-04 07:51:46 +10:00
Josh Matthews
9a3d58032d
Update WPT expectations.
2015-03-03 16:25:40 -05:00
Josh Matthews
1fb12b11f4
Remove the newly-created Page from the tree if loading fails.
2015-03-03 16:25:40 -05:00
Josh Matthews
4972b623e1
Separate disposing of layout data from the GCing of the DOM object reflectors. Change the order of operations when shutting down the script task to ensure that Window globals aren't used after they've been GCed.
2015-03-03 16:25:40 -05:00
Josh Matthews
c816975750
Documentation and cleanup.
2015-03-03 16:25:40 -05:00
Josh Matthews
6351fc75fd
Only store the url inside a pipeline instead of the rest of the LoadData.
2015-03-03 16:25:40 -05:00
Josh Matthews
e2c4f5ed67
Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
2015-03-03 16:25:40 -05:00
Josh Matthews
d9f04180a5
Split page load into separate network and parsing stages. Delay Page creation until the load is finished. Make session history traversal simply activate existing pipelines, rather than potentially loading them from the network.
2015-03-03 16:25:40 -05:00
bors-servo
0ff54a9773
auto merge of #5136 : iamdanfox/servo/replace-uint-with-usize, r=metajack
...
Clears up some warnings.
2015-03-03 14:24:47 -07:00
bors-servo
621150db1c
auto merge of #5124 : Adenilson/servo/cleanupWarning01, r=Ms2ger
2015-03-03 13:51:48 -07:00
Dan Fox
522b0ea3b9
uint -> usize
2015-03-03 20:27:19 +00:00
Simon Sapin
4c1d778ced
Revert "layout: Implement ordered lists, CSS counters, and quotes
per CSS 2.1"
...
This reverts commit 30fd28d107
.
2015-03-03 21:16:24 +01:00
Simon Sapin
7a218b3f08
Revert "Refactor content property parsing."
...
This reverts commit 50800940dc
.
2015-03-03 21:16:03 +01:00
Simon Sapin
e590f9b7f4
Revert "Tidy."
...
This reverts commit e209f5e0da
.
2015-03-03 21:16:01 +01:00
Simon Sapin
e1b5acb56c
Revert "Remove expected failure markers on a couple of WPT reftests that now pass."
...
This reverts commit 4c8bde5736
.
2015-03-03 21:15:49 +01:00
Dan Fox
3441b2c329
layout/layout_data.rs -> layout/data.rs
2015-03-03 19:59:38 +00:00
bors-servo
e1a50c7719
auto merge of #5133 : servo/servo/background-size, r=SimonSapin
...
`background-size` per CSS-BACKGROUNDS § 3.9.
Nearest neighbor interpolation is used for `crisp-edges`, like Firefox.
A note has been added that we could do better if we wanted to.
Multiple backgrounds are not yet supported.
Rebase of #4368 . Fixes #4368 .
2015-03-03 11:48:54 -07:00
Dan Fox
3f9032c1a1
Re-alphabetise imports
2015-03-03 18:16:50 +00:00
Dan Fox
dd0df4e9c5
Rename util.rs -> layout_data.rs
2015-03-03 18:12:06 +00:00
Dan Fox
564d12435a
Move ToGfxColor to display_list_builder.rs
2015-03-03 17:59:44 +00:00