Commit graph

3647 commits

Author SHA1 Message Date
bors-servo
585b047dda auto merge of #903 : ILyoan/servo/margin_collapse_fix, r=metajack 2013-09-17 07:27:50 -07:00
bors-servo
a67fda0f46 auto merge of #947 : jdm/servo/textcontent-setter2, r=metajack 2013-09-16 21:09:49 -07:00
Josh Matthews
89ed9580de Add a test for Node.textContent. 2013-09-16 23:42:10 -04:00
Josh Matthews
d465abdb1c Make all DOM manipulation wait until it's safe to do so (ie. all reflows for the page have completed). Fix a race where a newly-initiated reflow would be considered complete when receiving the completion notice for the previous reflow. 2013-09-16 23:41:34 -04:00
Josh Matthews
37787d55d0 Pass the AbstractNode into the Node.textContent setter. 2013-09-16 23:39:16 -04:00
bors-servo
77a09b2003 auto merge of #932 : june0cho/servo/text_deco, r=metajack
Implement 'overline' and 'line-through' in 'text-decoration' property. Add a test case.
2013-09-16 06:06:45 -07:00
Junyoung Cho
d4ab2fc520 Fix error: declare a module. 2013-09-16 17:28:38 +09:00
Junyoung Cho
7436c107c1 Fix android/font.rs. Add an issue in macos/font.rs 2013-09-16 14:08:22 +09:00
Ms2ger
bea1c4f01e Issue #852 - Implement the Node.textContent setter. 2013-09-14 11:30:22 -07:00
Ms2ger
b5457f7910 Introduce a createText function. 2013-09-14 11:30:22 -07:00
bors-servo
849fba27ab auto merge of #910 : metajack/servo/fix-create-element, r=jdm 2013-09-14 08:48:50 -07:00
bors-servo
bcc6c52507 auto merge of #940 : jdm/servo/imagefix, r=metajack 2013-09-14 08:18:55 -07:00
Jack Moffitt
0695e09568 Make CreateElement comply with the spec. 2013-09-14 09:07:20 -06:00
Josh Matthews
a3afd5e130 Add content harness timeout. 2013-09-13 23:51:13 -07:00
Josh Matthews
21b0fc35b6 Allow image prefetching to occur during parsing when no window or document is present. Fixes #939. 2013-09-13 23:10:31 -07:00
bors-servo
34f740396e auto merge of #938 : jdm/servo/borderincremental, r=metajack
...xplicit initial reflow. Fixes #935.
2013-09-13 16:45:59 -07:00
Josh Matthews
7b239bd246 Move border computation into unpruned traversal. Get rid of extraneous explicit initial reflow. Fixes #935. 2013-09-13 16:40:13 -07:00
bors-servo
4f58545fd6 auto merge of #933 : saneyuki/servo/is_some, r=jdm
Fix #919
2013-09-13 09:06:53 -07:00
bors-servo
da26497763 auto merge of #931 : sammykim/servo/issue906, r=jdm
Fix #906
2013-09-13 08:42:58 -07:00
Tetsuharu OHZEKI
c430e0b7e8 Use is_float.is_some() instead of !is_float.is_none(). 2013-09-14 00:40:52 +09:00
Junyoung Cho
4d719df5e9 Implement the rest of 'text-decoration' property. 2013-09-13 17:48:43 +09:00
Sangeun Kim
80a6ea07d8 Remove unused variable and parameter 2013-09-13 16:56:15 +09:00
bors-servo
a714e661ca auto merge of #929 : kmcallister/servo/rm-resize-limiter, r=metajack
It has bitrotted and we handle this in script_task.rs now.
2013-09-12 18:45:53 -07:00
bors-servo
3c7a837ee6 auto merge of #927 : pcwalton/servo/image-src-set, r=pcwalton
r? @metajack
2013-09-12 18:24:50 -07:00
Keegan McAllister
d865ba6f10 Remove unused resize_rate_limiter.rs
It has bitrotted and we handle this in script_task.rs now.
2013-09-12 18:18:47 -07:00
Patrick Walton
76d288fe62 script: Implement image source setting from script and write a demo for this. 2013-09-12 18:03:11 -07:00
bors-servo
4494935139 auto merge of #928 : kmcallister/servo/resize, r=pcwalton 2013-09-12 18:00:56 -07:00
Keegan McAllister
5b684659ff Combine resize events for each pipeline and process when layout is idle 2013-09-12 17:09:48 -07:00
bors-servo
1844225738 auto merge of #926 : jdm/servo/pagewhoops, r=metajack
r? @metajack
2013-09-12 17:06:52 -07:00
Josh Matthews
6bd4306d70 Fix a dynamic borrow error when executing timer callbacks. 2013-09-12 16:58:30 -07:00
bors-servo
2d6d9728f0 auto merge of #923 : jdm/servo/itried, r=larsbergstrom 2013-09-12 16:18:51 -07:00
Josh Matthews
35d957c53b Goodbye, Andreas. 2013-09-12 16:01:45 -07:00
bors-servo
ab743c17fe auto merge of #920 : jdm/servo/setattrabstract, r=metajack
r? @metajack
2013-09-12 15:51:49 -07:00
bors-servo
49aa4a568c auto merge of #917 : larsbergstrom/servo/task_failure, r=metajack
Pipeline construction now creates a task that supervises all of the child tasks created by script, render, and layout. If any of those fail, it sends a message back to the constellation, which re-creates the pipeline and threads it into the appropriate spot in either the FrameTree or set of pending frame updates.

Also, turn on debug_info for symbols in the Makefile.
2013-09-12 15:27:52 -07:00
Lars Bergstrom
0c6514eac8 Remove a stray space. Clean up awkware if result...result construct. 2013-09-12 15:16:35 -07:00
bors-servo
8994dc3a1e auto merge of #914 : jdm/servo/unsafepage, r=jdm,metajack
Haven't figured out what to do about page_from_context yet, but this is a big improvement.
2013-09-12 14:48:59 -07:00
Josh Matthews
8ae725146c Make Window store an @Page instead of a *Page and remove a bunch of unsafe code. 2013-09-12 14:45:47 -07:00
Josh Matthews
a31d950695 Remove unused old bindings helpers. 2013-09-12 14:41:03 -07:00
Josh Matthews
a410651fba Make Element.set_attr require an AbstractNode so we can always downcast. 2013-09-12 14:40:00 -07:00
Lars Bergstrom
969a4e30fb Remove code duplication in finding FrameTrees with a given pipeline id. 2013-09-12 13:55:18 -07:00
Lars Bergstrom
08b3902bbb Fix formatting issues. 2013-09-12 13:55:18 -07:00
Lars Bergstrom
d6231a18ef Transitioned to about:failure instead of having the URL in
Constellation.
2013-09-12 13:55:18 -07:00
Lars Bergstrom
26ec02226e Pipeline create is now wrapped in a task that supervises the tasks
created by script, rendering, and layout. When any of those fail,
the pipeline is removed from the FrameTree and a new one is created
with a failure HTML file.

Additionally, the top-level Makefile is changed to store debug info.
2013-09-12 13:55:18 -07:00
bors-servo
72b6978b24 auto merge of #918 : brson/servo/longcat, r=metajack
This fixes layout under Firefox and increases the frame rate for smoother animation.
2013-09-12 13:39:59 -07:00
Brian Anderson
0db96944e6 Longcat improvements
This fixes layout under Firefox and increases the frame rate for smoother animation.
2013-09-12 13:12:51 -07:00
bors-servo
4cf80cd49c auto merge of #915 : jdm/servo/pinglayout, r=metajack
...Fixes #907.
2013-09-12 11:43:00 -07:00
bors-servo
b4ffe3c3c2 auto merge of #904 : aydinkim/servo/PR, r=metajack
servo-android has been broken after newer rust included.
fixed.
2013-09-12 11:07:30 -07:00
Josh Matthews
4ec428b9d6 Trigger a reflow when nodes are appended and removed from the document. Fixes #907. 2013-09-12 10:17:00 -07:00
bors-servo
5aa207a7f7 auto merge of #912 : brson/servo/longcat, r=jdm
This also comes with a longcat demo, including about 35k of images that I don't know the copyright status of.
2013-09-11 23:49:02 -07:00
Brian Anderson
db38639c17 Longcat demo 2013-09-11 22:08:53 -07:00