Commit graph

2018 commits

Author SHA1 Message Date
bors-servo
fed878710c auto merge of #5111 : KiChjang/servo/step-1-anchor, r=Manishearth
Fixes #4871
2015-03-01 22:18:49 -07:00
Keith Yeung
83f56ed061 Implementation of step 1 activation behavior of htmlanchorelement (fixes #4871)
Fixed issues
2015-03-02 12:54:50 +08:00
bors-servo
154427ce51 auto merge of #5104 : Ms2ger/servo/unused-import, r=Manishearth 2015-02-28 14:45:47 -07:00
Ms2ger
fde91b19ff Remove unused import from script_task. 2015-02-28 22:03:40 +01:00
bors-servo
184d32b519 auto merge of #5103 : Ms2ger/servo/from_actual, r=jdm 2015-02-28 13:33:49 -07:00
bors-servo
75060f41db auto merge of #5073 : JIoJIaJIu/servo/handle_mouse_event, r=jdm 2015-02-28 12:21:51 -07:00
bors-servo
16bc4749af auto merge of #5102 : servo/servo/profile-img, r=jdm
This extracts some independently useful parts of
<https://github.com/servo/servo/pull/4215>.
2015-02-28 11:46:02 -07:00
bors-servo
5eaf1144c3 auto merge of #5099 : Ms2ger/servo/exceptions, r=saneyuki 2015-02-28 11:09:55 -07:00
Ms2ger
ca21675359 Use the correct lifetime bounds for FooCast::from_actual. 2015-02-28 19:06:04 +01:00
Ankit Agrawal
c8de895094 Add profiling to image decoding.
This extracts some independently useful parts of
<https://github.com/servo/servo/pull/4215>.
2015-02-28 18:35:48 +01:00
Ms2ger
62b2c65348 Add support for throwing TypeErrors from DOM implementations. 2015-02-28 18:20:42 +01:00
Ms2ger
fbf4d44674 Clarify the documentation for dom::bindings::error::Error variants. 2015-02-28 18:20:42 +01:00
Ms2ger
6e3c130e6c Inline DOMException::new_from_error. 2015-02-28 18:20:42 +01:00
Ms2ger
4873682a3c Rename FailureUnknown to JSFailed. 2015-02-28 18:20:41 +01:00
bors-servo
1f53d30f85 auto merge of #5094 : chmanchester/servo/binarynames, r=jdm 2015-02-28 09:57:58 -07:00
bors-servo
b261d27ac5 auto merge of #5059 : saneyuki/servo/event, r=jdm
Fix #4260

Pick up: This original commit is https://github.com/servo/servo/pull/4718.
2015-02-28 09:21:54 -07:00
Liam Zdenek
3e13dc7913 Click event is now a MouseEvent.
This original commit is https://github.com/servo/servo/pull/4718.
2015-03-01 01:08:52 +09:00
Ms2ger
d24a948142 Fix a typo in argument_type. 2015-02-28 16:41:38 +01:00
Ms2ger
3dac90b49e Remove unsupported types from the SupportedType IDL enum. 2015-02-28 15:48:48 +01:00
Alexandru Cojocaru
aaf7a7e439 Remove uint/int inside components/util (partial #4745).
This leaves range.rs alone.
2015-02-28 15:03:07 +01:00
Guro Bokum
94e7f89524 Move body of ScriptTask::handle_mouse_move_event into a method on #5073 2015-02-28 12:26:46 +07:00
bors-servo
55f7636549 auto merge of #4928 : yodalee/servo/issue4906-fix-characterdata-substringdata, r=jdm
issue #4906
Fix substringData function, and add a test case for all function in characterdata.
2015-02-27 19:39:58 -07:00
Chris Manchester
c81f1cc541 Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdm 2015-02-27 18:28:01 -08:00
yodalee
0e29eabb87 fix function on utf8 string, pass two tests
dom/nodes/Node-properties.html
detachedForeignComment.length]
detachedXmlComment.length]
2015-02-28 10:21:36 +08:00
bors-servo
b2f099026a auto merge of #4952 : bjwbell/servo/borders-txt-nodes, r=pcwalton
Inline fragments that are part of a text run don't have interior borders.
So don't draw interior borders or include them when calculating positioning.

Fixes https://github.com/servo/servo/issues/4658, where multiple text nodes that are adjacent have distinct borders.

r? @Ms2ger, @pcwalton
2015-02-27 16:57:53 -07:00
Bryan Bell
ec2fa2558c Remove interior borders during flow construction
Instead of looking at the boundaries of the text run, set the border
width to zero and the border style to none on border sides that are not
the outermost for a node container that is display: inline.
2015-02-27 15:52:12 -08:00
bors-servo
26567ef2e6 auto merge of #5066 : luniv/servo/document-currentscript, r=jdm
Implements https://github.com/servo/servo/issues/5057 (Document.currentScript)
2015-02-27 11:30:57 -07:00
James Gilbertson
5f5d1246ef Implement Document.currentScript 2015-02-27 11:11:02 -07:00
dhneio
fda3f7497a Remove AccessControl header implementations in favor of hyper’s (fixes #5090) 2015-02-27 08:35:02 -08:00
bors-servo
8ad3c5aeb6 auto merge of #5064 : glennw/servo/hide-after-layout, r=pcwalton
Prior to incremental layout, the code would remove the existing
construction result. However, with incremental layout the construction result
is cloned rather than removed. This change ensures that the previous
construction result is cleared when an element's display type
changes to none.
2015-02-26 14:46:10 -07:00
Glenn Watson
a2f1f12c96 Fix setting display:none after a layout where the element was visible.
Prior to incremental layout, the code would remove the existing
construction result. However, with incremental layout the construction result
is cloned rather than removed. This change ensures that the previous
construction result is cleared when an element's display type
changes to none.
2015-02-27 07:44:24 +10:00
Jack Moffitt
521f60ec0d Update to latest Cocoa.
This fixes Servo in release mode on OS X.
2015-02-26 08:19:48 -07:00
Keith Yeung
d79e422a8f Moved dispatch_key_event method from script_task.rs to document.rs, fixes #4982 2015-02-26 19:14:17 +08:00
bors-servo
c1645bd10c auto merge of #5070 : luniv/servo/script-before-after-events, r=Ms2ger
Spec: https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block, sections 2.b.2 & 2.b.9
2015-02-26 01:06:51 -07:00
bors-servo
a8b55e821a auto merge of #5072 : Adenilson/servo/cleanWarnings01, r=jdm 2015-02-25 22:48:50 -07:00
Adenilson Cavalcanti
2c45eab00e Clean compilation warnings. 2015-02-25 21:43:02 -08:00
bors-servo
c7c399a26b auto merge of #5071 : glennw/servo/reftest-wait, r=jdm
This allows reftests to perform tests for incremental layout and other bugs that require rendering multiple frames.
2015-02-25 21:06:57 -07:00
bors-servo
67b78983db auto merge of #5062 : Adenilson/servo/printDisplayList01, r=pcwalton
This patch will iterate through the DisplayList after the reflow is done and print its elements (as also any sub-lists associated to a child node stacking context).
2015-02-25 20:15:56 -07:00
Adenilson Cavalcanti
b9e9d7471d Implements a DisplayList dumper.
This patch will iterate through the DisplayList after the reflow
is done and print its elements (as also any sub-lists associated
to a child node stacking context).

It adds a new CLI parameter to trigger the function to dump the display list
to console (i.e. servo --debug dump-display-list url).

Using both display list and flow tree information is helpful to debug
rendering issues.
2015-02-25 19:10:05 -08:00
Glenn Watson
93088e84f0 If root html element contains "reftest-wait" class, don't mark document as ready until it's removed.
This allows reftests to perform tests for incremental layout and other bugs that require rendering multiple frames.
2015-02-26 13:01:12 +10:00
James Gilbertson
0b085df1bc Implement 'beforescriptexecute' and 'afterscriptexecute' events.
Spec: https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block, sections 2.b.2 & 2.b.9
2015-02-25 15:37:54 -07:00
Jack Moffitt
038787a335 Change Servo release builds to include debugging.
This makes basic symbols available in release builds.
2015-02-25 10:19:46 -07:00
Dae-seon Moon
d7fab117c2 Remove ScriptMsg::Navigate (fixes #4948). 2015-02-25 15:25:02 +01:00
bors-servo
cbc4b9520e auto merge of #5061 : pcwalton/servo/fix-text-decoration, r=mbrubeck
Adds a reftest so it doesn't break again.

r? @mbrubeck
2015-02-24 19:12:50 -07:00
Patrick Walton
f188278dd2 style: Fix parsing of text decorations.
Adds a reftest so it doesn't break again.
2015-02-24 17:51:22 -08:00
Matt Brubeck
e2c0f4906e Fix incorrect comment in BlockFlow.
The behavior of this code was changed in #3631.  The parent no longer sets the
inline size to a temporary value.
2015-02-24 17:28:31 -08:00
Ms2ger
cd614bd488 Derive Debug rather than the deprecated Show for TimerControlMsg. 2015-02-24 10:50:21 +01:00
bors-servo
a3ea3eed47 auto merge of #4960 : pkondzior/servo/add-script-timers-suspend-resume-functionality, r=jdm
Adds free/thaw methods to script_task that let you send suspend/resume messages to web content timers. Fixes #4907
2015-02-23 21:45:46 -07:00
Pawel Kondzior
c2961c94b4 Add thaw/freeze messages that can suspend/resume webcontent timers #4907 2015-02-24 05:33:27 +01:00
bors-servo
99617557d4 auto merge of #4996 : jdm/servo/reportpending, r=Ms2ger
I believe this problem was introduced with the mozjs error reporting changes, since we don't see errors reported from `<script>` blocks any more.
2015-02-23 20:30:48 -07:00