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
bors-servo
b84f620b26
auto merge of #5100 : Ms2ger/servo/descriptorProvdider, r=Manishearth
2015-02-28 08:45:54 -07: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
bors-servo
07b918f731
auto merge of #5098 : servo/servo/int-util, r=Ms2ger
...
This leaves range.rs alone.
2015-02-28 07:21:53 -07: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
Manish Goregaokar
6e765e6f16
Add explicit mention of mach run for Running
2015-02-28 13:23:10 +05:30
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
yodalee
e45b104721
add test case of dom characterdata
2015-02-28 10:21:35 +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
bors-servo
60ce6c3b0f
auto merge of #5091 : dhneio/servo/5090, r=jdm
...
We no longer need these header implementations as they are included in hyper. Fixes #5090 .
2015-02-27 09:48:58 -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
e4d607e537
auto merge of #5087 : bjwbell/servo/remove-borders-test-wa, r=jdm
...
The borders_a.html ref test had a WA to avoid displaying a spurious
black pixel at (0,0). Details are at
https://github.com/servo/servo/issues/2879
The WA can be removed since the bug is no longer reproducible.
2015-02-27 07:57:56 -07:00
Bryan Bell
0f407804fe
Remove WA for borders ref test
...
The borders_a.html ref test had a WA to avoid displaying a spurious
black pixel at (0,0). Details are at
https://github.com/servo/servo/issues/2879
The WA can be removed since the bug is no longer reproducible.
2015-02-27 00:40:53 -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
bors-servo
24139a21e8
auto merge of #5078 : metajack/servo/cocoa-hotifx, r=jdm
...
This fixes Servo in release mode on OS X.
2015-02-26 08:39:54 -07: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
bors-servo
071941da59
auto merge of #5031 : KiChjang/servo/refactor-dispatch-key-event, r=jdm
...
Fixes #4982
2015-02-26 06:15:56 -07:00
bors-servo
3fc2478c38
auto merge of #5074 : acgtyrant/servo/patch-1, r=Manishearth
...
Fixes #5056
2015-02-26 05:33:49 -07:00
Isaac Ge
b80593c09e
Make test-wpt supports --release argument
...
Fixes #5056
2015-02-26 20:29:04 +08: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
Glenn Watson
f8ca60e74e
Update WPT expectations for reftest-wait change.
2015-02-26 13:30:53 +10: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
bors-servo
259792e481
auto merge of #5069 : metajack/servo/rel-debug, r=larsbergstrom
...
This makes basic symbols available in release builds.
2015-02-25 12:04:04 -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
bors-servo
862c66e78e
auto merge of #5052 : dhneio/servo/5042, r=Manishearth
...
This warning is no longer applicable due to a change in cargo's behavior, see https://github.com/servo/servo/issues/5042
2015-02-25 08:52:18 -07:00
bors-servo
a568846685
auto merge of #5068 : servo/servo/navigate-msg, r=Ms2ger
2015-02-25 07:49:08 -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
bors-servo
213b90fdac
auto merge of #5060 : mbrubeck/servo/comment, r=pcwalton
...
The behavior of this code was changed in #3631 . The parent no longer sets the inline size to a temporary value.
r? @pcwalton or @SimonSapin
2015-02-24 18:30:57 -07:00