Commit graph

4860 commits

Author SHA1 Message Date
june0cho
c7ad220178 Add a test file for local bookmark.(#text1, #text2, #text3, #top, #h3, #num) 2013-11-30 23:21:25 +09:00
bors-servo
93a62f4f47 auto merge of #1322 : jdm/servo/renderborder, r=jdm
Implemented a border which was the solid type.
Because of not support css pseudo element(:before, :after), content in css property and base64, So we couldn't test Acid2(http://www.webstandards.org/files/acid2/test.html).

Rebase of #1276.
2013-11-29 17:01:17 -08:00
HyunJune Kim
409699f7ae Render border solid-style properly 2013-11-29 19:57:03 -05:00
Sangeun Kim
34418ec957 Add diamond test code 2013-11-29 19:57:03 -05:00
bors-servo
7dbabdd9e4 auto merge of #1318 : therealglazou/servo/therealglazou/nth-pseudos, r=SimonSapin
Implement :nth-child, :nth-last-child, :nth-of-type, :nth-last-of-type, :first-of-type, :last-of-type and :only-of-type Selectors Level 3 pseudo-classes. Reftests included.
2013-11-29 03:22:16 -08:00
Daniel Glazman
6508bff1cd :nth-child and friends, use div_rem result instead of recomputing it 2013-11-29 12:16:53 +01:00
Daniel Glazman
eb76ea76db :nth-child and friends, changes in response to SimonSapin's review 2013-11-29 09:58:11 +01:00
bors-servo
b867e54dd4 auto merge of #1298 : recrack/servo/overflow_property, r=metajack
Impl #1290

@jaeminMoon @ksh8281 
Thanks @metajack
2013-11-28 21:46:51 -08:00
Daniel Glazman
991d4d8a3c Implement :nth-child, :nth-last-child, :nth-of-type, :nth-last-of-type, :first-of-type, :last-of-type and :only-of-type Selectors Level 3 pseudo-classes 2013-11-28 15:19:43 +01:00
bors-servo
238741f646 auto merge of #1315 : pcwalton/servo/disable-parallel, r=metajack
To verify, turn ON optimizations and go to:

http://en.wikipedia.org/wiki/Yellow_River

r? @metajack
2013-11-26 16:49:16 -08:00
Patrick Walton
362c2718f7 main: Disable parallel selector matching due to races.
To verify, turn ON optimizations and go to:

http://en.wikipedia.org/wiki/Yellow_River
2013-11-26 16:44:03 -08:00
bors-servo
a76f761ed3 auto merge of #1313 : pcwalton/servo/parallel-layout, r=larsbergstrom
This is one small step toward parallel layout.

r? @larsbergstrom
2013-11-26 12:26:18 -08:00
Patrick Walton
c85953deeb net: De-GC the image cache stuff.
This is a step on the way toward parallel layout.
2013-11-26 12:10:40 -08:00
Patrick Walton
7eb4097dc9 layout: Make the LocalImageCache on_image_available callback not use
`@`.

This is one small step toward parallel layout.
2013-11-26 11:55:15 -08:00
patrick kim
9b4b414abe fix ContentBoxQuery 2013-11-26 11:49:44 +09:00
sh8281.kim
af80c57029 modify to displaylist to tree & add cliping 2013-11-26 11:49:44 +09:00
Jaemin Moon
b42f9eec48 push/pop clip 2013-11-26 11:49:44 +09:00
Youngmin Yoo
9d0958f91c Add overflow property 2013-11-26 11:49:37 +09:00
bors-servo
0d15310db1 auto merge of #1306 : kmcallister/servo/cleanup, r=jdm 2013-11-25 14:37:06 -08:00
bors-servo
b4c0020492 auto merge of #1307 : pcwalton/servo/disable-manage-submodules, r=kmcallister
r? @kmcallister
2013-11-25 14:16:19 -08:00
Patrick Walton
be357f37fe mk: Don't error out on dirty submodules if --disable-manage-submodules is on 2013-11-25 14:12:09 -08:00
bors-servo
bf146fb8c4 auto merge of #1305 : pradeep90/servo/rule-hash-optimize, r=kmcallister
Changing as per comment in #1274
2013-11-25 13:55:12 -08:00
Keegan McAllister
5157eac238 Warning police
And fix some formatting.
2013-11-25 13:29:34 -08:00
Keegan McAllister
3f1051022a rustpkg.mk: Defer shell commands until after 'define' expansion
This way the uname -s check will prevent us from invoking nonexistent sw_vers
on Linux.
2013-11-25 13:16:26 -08:00
S Pradeep Kumar
e0c33fa88c Make PropertyDeclarationBlock have Arcs. 2013-11-25 14:56:51 +09:00
S Pradeep Kumar
318a1a380f Use iter().map() instead of for loop. 2013-11-25 12:08:41 +09:00
bors-servo
f6646e17bf auto merge of #1270 : evilpie/servo/url, r=jdm
I wasn't sure how to store @window in Location, so I just made it use @Page for now. I was going to implement stringifier, but sadly some of the webidl stuff is like 1 year out of sync.
2013-11-24 15:52:04 -08:00
bors-servo
010b8cd4c3 auto merge of #1210 : ibnc/servo/resizing_background_color, r=jdm
fixes #140

This shouldn't be merged until the appropriate change is made in rust layers (https://github.com/mozilla-servo/rust-layers/pull/37). I'm making a pull request anyway to start getting some feedback.
2013-11-24 15:31:09 -08:00
bors-servo
4caf2b5431 auto merge of #1272 : evilpie/servo/formdata, r=jdm 2013-11-24 15:04:11 -08:00
Isabelle Carter
9886135b43 unrendered content uses doc's background color
uses html's background color, or body's.
2013-11-24 16:50:12 -06:00
Tom Schuster
f9433e357c trace window.location and window.navigator 2013-11-24 23:11:11 +01:00
Tom Schuster
ccc7fa7be0 basic location 2013-11-24 22:40:24 +01:00
Tom Schuster
73e67568c1 Add FormData constructor 2013-11-24 22:37:28 +01:00
bors-servo
94df5d1cba auto merge of #1302 : saneyuki/servo/getid, r=jdm
#740
2013-11-23 17:46:15 -08:00
Tetsuharu OHZEKI
4e4eb10ffc Use 'DOMString' to define the type insteand of '~str'.
At now, 'DOMString' is equal to '~str'.
155befe10d/src/components/script/dom/bindings/utils.rs (L119)
2013-11-23 22:24:52 +09:00
Tetsuharu OHZEKI
aa72c413ed Enable to update id attribute for Document.getElementById(). (#740) 2013-11-23 11:53:45 +09:00
Tetsuharu OHZEKI
072ff20140 Use 'match' instead of 'if'. 2013-11-23 11:53:45 +09:00
bors-servo
ad45bd509e auto merge of #1299 : pradeep90/servo/rule-hash-optimize, r=pcwalton
Issue #1274

Also:
+ Reduce number of clones of Rule
+ Make Rule have Arc<Selector>
2013-11-22 11:43:15 -08:00
S Pradeep Kumar
ae1f16887d Use push instead of referring to the last element. 2013-11-22 17:24:32 +09:00
S Pradeep Kumar
cae74b4f86 Make Rule have Arc<Selector> to eliminate allocation while cloning. 2013-11-22 11:26:36 +09:00
S Pradeep Kumar
1d1a2597ca Avoid unnecessary cloning of Rule in SelectorMap code.
Do this by receiving a borrowed pointer in get_id_name(), etc..
Also, move the received argument in insert() method (instead of cloning it).
2013-11-22 11:26:36 +09:00
S Pradeep Kumar
92f4a430ea Eliminate use of map by using a for loop. 2013-11-22 11:26:36 +09:00
S Pradeep Kumar
7d90cc01b6 Insert rules in SelectorMap manually to avoid unnecessary allocation. 2013-11-22 11:26:36 +09:00
bors-servo
df7ec2613b auto merge of #1297 : SimonSapin/servo/last-child, r=SimonSapin
Same as #1296, with a fixed commit message.
2013-11-21 08:58:10 -08:00
Daniel Glazman
3f441934c9 Implement :list-child and :only-child pseudo-classes. Fix #1295, fix #1296 2013-11-21 16:54:41 +00:00
bors-servo
97fd66a6fd auto merge of #1294 : metajack/servo/isolate-backup, r=larsbergstrom
This will prevent Makefile errors from affecting backups. This happens when
different branches include Makefile helpers other branches don't have. This
should be more reliable.
2013-11-20 11:28:16 -08:00
Jack Moffitt
9fc122380a Move backup related stuff to its own Makefile.
This will prevent Makefile errors from affecting backups. This happens when
different branches include Makefile helpers other branches don't have. This
should be more reliable.
2013-11-20 12:24:48 -07:00
bors-servo
eabee53076 auto merge of #1293 : SimonSapin/servo/root, r=SimonSapin
Rebase/squash of @therealglazou’s #1265
2013-11-20 09:01:30 -08:00
Daniel Glazman
9b691611ff Implement :root pseudo-class. Fix #1263, fix #1265 2013-11-20 16:41:12 +00:00
bors-servo
eb9b82fed8 auto merge of #1292 : metajack/servo/not-parallel, r=larsbergstrom
Sub-builds are still parallelized. This is a workaround for rustpkg
issues. See https://github.com/mozilla/rust/issues/9650
2013-11-20 08:34:09 -08:00