Commit graph

3647 commits

Author SHA1 Message Date
ILyoan
8c92b8accd Support css class selection (2) 2013-06-12 14:05:44 +09:00
ILyoan
97b5f5cdd6 Supprot css class selection 2013-06-12 14:05:41 +09:00
bors-servo
0ae2081e63 auto merge of #512 : metajack/servo/pcwalton-master, r=jdm
This is try number 2 for #501 rollup.
2013-06-11 15:27:33 -07:00
Jack Moffitt
cdd5de7f97 Disable tests for nspr and nss. 2013-06-11 16:24:10 -06:00
Jack Moffitt
a5e3605f4b Fix rust-css tests. 2013-06-11 16:24:00 -06:00
Jack Moffitt
f0692e5795 Update rust-glut. 2013-06-11 16:23:51 -06:00
Jack Moffitt
b635079091 Revert rust-css and rust-netsurfcss to working versions. 2013-06-11 15:30:43 -06:00
Jack Moffitt
a42cf9b379 Fix types. 2013-06-11 15:30:28 -06:00
Jack Moffitt
16ca6f2a16 Add missing field. 2013-06-11 15:30:10 -06:00
Jack Moffitt
ea1c88377c Fix warning. 2013-06-11 15:29:59 -06:00
Jack Moffitt
4cf4302bd7 Update nss. 2013-06-11 13:16:07 -06:00
Jack Moffitt
a2c4f72456 Fix spacing. 2013-06-11 13:16:00 -06:00
Jack Moffitt
5425154f96 Merge remote-tracking branch 'origin/master' into pcwalton-master
Conflicts:
	src/components/main/layout/box_builder.rs
2013-06-10 21:31:11 -06:00
Jack Moffitt
bb6ae7a825 Update NSS to fix build issues. 2013-06-10 21:02:11 -06:00
bors-servo
3203b332f6 auto merge of #511 : caitp/servo/issue-479, r=jdm
Return lists of last-resort font family names in platform-specific font_list code, so that they can be appended to the end of FontGroup and used if the requested font faces are not available.
2013-06-10 17:54:40 -07:00
Caitlin Potter
24ef69dccb Implement basic last-resort font selection. 2013-06-10 15:26:04 -04:00
bors-servo
8ee1b5f57a auto merge of #508 : eric93/servo/refactor_flowtree_construction, r=pcwalton
Eliminates a level of indirection in flow tree construction and uses 'display' to construct flows.
2013-06-10 09:39:48 -07:00
Joel Feenstra
9d7f78ac79 Add initial support for the line-height property. Line height is only based on the tallest box in each line and does not factor in the vertical-alignment. Improves whitespace handling by passing the whitespace state between function invocations. 2013-06-08 20:34:39 -04:00
Eric Atkinson
4c6b4fb593 Refactor flow tree construction and actually use display property. 2013-06-07 14:55:12 -07:00
Patrick Walton
98a730c703 Use full paths for submodules in the configure script 2013-06-06 16:21:18 -07:00
Patrick Walton
c65d51f812 Address review comments 2013-06-06 13:55:14 -07:00
Patrick Walton
97eb5671bb Update the configure script to pass --enable-64bit 2013-06-06 13:47:52 -07:00
eschweic
f59b0963ee Changed texturing mode to LINEAR for better zooming 2013-06-06 11:31:47 -07:00
Patrick Walton
9c25474ea6 Only warn, don't assert, if the node range length is zero.
This broke http://www.all-about-ferrets.com/long-tailed-weasel.html
2013-06-06 10:47:30 -07:00
Patrick Walton
ae5b2dfc72 Roll up block layout changes 2013-06-05 21:40:11 -07:00
Patrick Walton
5750069e0a Use the scroll hack 2013-06-05 21:40:07 -07:00
eschweic
6832808caa Merge with pcwalton's updated branch 2013-06-05 15:51:03 -07:00
eschweic
160f58e90a Impelemented zooming and slightly better scrolling. 2013-06-05 15:35:53 -07:00
Patrick Walton
7a435fc6ed Refactor document damage to distinguish it from layout/style damage.
Also, standardize on the name "reflow" instead of "relayout" or "build".
2013-06-04 22:00:33 -07:00
Patrick Walton
40a69fc517 Address review comments 2013-06-04 15:23:18 -07:00
Patrick Walton
8d3b6aefa8 Stop rendering when script queries layout 2013-06-04 11:43:52 -07:00
Patrick Walton
e6ff135c01 test_slam_layout, a new layout perf test case 2013-06-04 11:43:47 -07:00
Patrick Walton
fb2ce2c00c Rename with_imm_base to with_base. 2013-06-03 16:06:38 -07:00
Eric Atkinson
cddf67a0e6 Update border rendering 2013-05-31 17:29:23 -07:00
Patrick Walton
f1fcd4d323 Add comments and compute heights properly 2013-05-31 17:28:14 -07:00
Patrick Walton
72ca765cd0 Update rust-css and fix some dynamic borrow check failures 2013-05-31 17:22:01 -07:00
Patrick Walton
0b91af3677 Refactor a bit and compute vertical margins as well. 2013-05-30 22:56:15 -07:00
Patrick Walton
708f9b4db5 Fix method names and dynamic borrow check failures 2013-05-30 18:14:50 -07:00
Eric Atkinson
d5e47933ab Add horizontal borders, margins and padding. Broken until rust-css supports padding 2013-05-30 17:39:33 -07:00
Patrick Walton
facb70756c Update rust-css and rust-netsurfcss 2013-05-30 17:38:00 -07:00
Patrick Walton
f77eef5988 Basic hit testing functionality 2013-05-30 17:28:08 -07:00
Tim Kuehn
ea1a406589 base and bounds methods for DisplayItem 2013-05-30 17:11:59 -07:00
Patrick Walton
2e4cecc718 Add flows if requested to the display list info.
This will be used for hit testing.
2013-05-30 16:10:35 -07:00
Patrick Walton
e2bcd3648e Color links blue 2013-05-30 14:05:23 -07:00
Patrick Walton
dcfabb71d1 Don't try to remove whitespace twice if it's the only node.
Fixes a failure on Wikipedia.
2013-05-30 14:05:23 -07:00
Patrick Walton
02c57728c5 Fix corrupted textures when resizing. 2013-05-30 14:05:23 -07:00
Patrick Walton
d97f002111 Stop hammering on the compositor 2013-05-30 14:05:23 -07:00
Patrick Walton
67eb533fc6 Clamp scrolling to the page boundaries 2013-05-30 14:05:23 -07:00
Patrick Walton
2d1a00c3cf Don't clip layers to the screen area 2013-05-30 14:05:22 -07:00
Patrick Walton
0af3bbf953 Add NSS and NSPR to the build 2013-05-30 14:05:22 -07:00