Corey Farwell
f308ae473d
servo: Merge #8249 - 'type' attribute on HTMLInputElement should be stored as an Atom (from servo:htmlinputelement-type-atom); r=nox
...
Fixes #8180
Source-Repo: https://github.com/servo/servo
Source-Revision: 7ace7bc09087b6bfa817047640ba15df997b4a91
2015-11-07 18:37:51 +05:00
Corey Farwell
f0750533d8
servo: Merge #8389 - Add ElementContentEditable WebIDL interface (from frewsxcv:ElementContentEditable); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 440d5b5d9b043bf1964e0a0f4b8a2404cac97a2f
2015-11-07 15:13:30 +05:00
Michael Howell
8820eb4204
servo: Merge #8296 - Prepend, rather than append, SVG title elements (from notriddle:svg_title_prepend); r=nox
...
Fixes #8164
Source-Repo: https://github.com/servo/servo
Source-Revision: 3c794d0076d9f68754865c1fdaa7d2e6055bc777
2015-11-07 13:43:42 +05:00
Bobby Holley
cd9a09c9f2
servo: Merge #8341 - Fix restyle hints to handle non-last psuedo-selectors, and track pristine state values rather than changesets (from bholley:state_hint_selector_ordering); r=pcwalton
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 65c3185b202b8dd57a39e1d84872d7528723b191
2015-11-07 09:23:19 +05:00
Simon Sapin
936fce4905
servo: Merge #8343 - Fix some custom properties bugs (from servo:custom-properties); r=mbrubeck
...
Fix #7767 .
Source-Repo: https://github.com/servo/servo
Source-Revision: faf2f34772fe06396a7b8542b00f0566832bc7ef
2015-11-07 05:32:36 +05:00
Benjamin Herr
b4c4eadb49
servo: Merge #8359 - Append query string + fragment to javascript: url (from ben0x539:js-url-query-fragment); r=eefriedman
...
When loading a URL whose scheme is javascript, we should do what
https://html.spec.whatwg.org/multipage/browsers.html#javascript-protocol
says and append the URL's query and fragment components to the scheme
data, as well as percent- and utf-8-decode the whole thing, before
evaluating it as javascript.
Source-Repo: https://github.com/servo/servo
Source-Revision: 33bbed7dc1d3e4f26fbf87e02d2f821015590743
2015-11-07 03:33:35 +05:00
Alan Jeffrey
98dcc15ed5
servo: Merge #8315 - Dirty parent when removng a child node (from asajeffrey:remove_child_dirty_parent); r=pcwalton
...
Source-Repo: https://github.com/servo/servo
Source-Revision: c54558d5ef0ffbe7892ad1ba0c66bec6b0886fe1
2015-11-07 01:34:28 +05:00
David Zbarsky
0c1a50a8e9
servo: Merge #8304 - Cleanup some unneeded let bindings (from dzbarsky:borrowck); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 69e6eb4d91ab1bd8f363ee7425e4f921ca006a1e
2015-11-07 01:01:40 +05:00
Josh Matthews
969accd390
servo: Merge #8138 - Implement cancellable runnables, and make image load events cancellab… (from jdm:createelementintermittent); r=nox
...
…le. Resolves #7731 .
Source-Repo: https://github.com/servo/servo
Source-Revision: 4113302c262dc4fedb67a6d6d68284f14fe9b9bc
2015-11-06 23:06:57 +05:00
Jitendra Jain
ec0396fea1
servo: Merge #8182 - M1504: Implement support for missing XMLHttpRequest APIs (from jitendra29:overrideMimeType); r=eefriedman
...
We have completed the initial steps for "Implement support for missing XMLHttpRequest APIs"
* Implemented overrideMimeType according to XHR specifications
* Updated the test expectations
Source-Repo: https://github.com/servo/servo
Source-Revision: 9fea6d2e46dd917f16a5f1ec0f6484e8164c7a3a
2015-11-06 08:31:33 +05:00
Josh Matthews
a71aba6954
servo: Merge #8326 - Send mouse move events to the the previous layer when directing event… (from jdm:iframehover); r=glennw
...
…s to a new one for the first time. Resolves #7865 .
Source-Repo: https://github.com/servo/servo
Source-Revision: 4067960ba5d309ec6c4c6aef6e7aa231aca0e5d5
2015-11-06 05:54:59 +05:00
Abhishek Kumar
d602de3d7f
servo: Merge #8216 - M1502: Improve HTTP monitoring devtool support (from akumar21NCSU:master); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 45f07ec320b77ef8fa6511c9dc12598bc5d0f5e0
2015-11-05 22:31:48 +05:00
Ms2ger
0ff639a6b0
servo: Merge #8346 - Cleanup WebSocket::Send_Impl (from Ms2ger:send_impl); r=nox
...
Source-Repo: https://github.com/servo/servo
Source-Revision: e3484315ddb2c6f4efeec50ef5b5abc2b411601c
2015-11-05 16:51:09 +05:00
Ms2ger
5ded73fa5d
servo: Merge #8344 - Silence unused code warnings (from Ms2ger:warnings); r=saneyuki
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 8b030c5177444a5274b1c329802ae9d998cf5df9
2015-11-05 14:50:24 +05:00
Nikki
7808254b4d
servo: Merge #8218 - #8213 : Implement Blob variant of WebSocket.send (from nikkisquared:master); r=eefriedman
...
I'm working on resolving https://github.com/servo/servo/issues/8213 as per the spec online and feedback in the servo channel. Note that currently I cannot build (and thus test) my code, so this is a bit of a rough first draft. I'd still like feedback on my progress, and I hope that there is another way for my code to be tested.
Source-Repo: https://github.com/servo/servo
Source-Revision: 021f441d24893861d45fec0cef7ed88dc9e6543a
2015-11-05 09:54:27 +05:00
Eli Friedman
36a98016c0
servo: Merge #8336 - Remove HTMLTableCellElement fields with parsed attribute values (from eefriedman:tablecell-attributes); r=frewsxcv
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 0d15101323b67e06f06451e22b64b15398269d0f
2015-11-05 09:18:55 +05:00
jsharda
81f97290d9
servo: Merge #8278 - M1503: Integrate XML5 parser (from Ronak6892:master); r=eefriedman
...
Hi,
This is for NCSU fall 15 project for Mozilla.
We have included changes for initial steps in this pull request.
https://github.com/servo/servo/wiki/Integrate-xml5ever
Kindly review !
Source-Repo: https://github.com/servo/servo
Source-Revision: 65a1a28860ac8858a02be6d26b262a61d040beb1
2015-11-05 08:42:44 +05:00
Ms2ger
f65a3ec2df
servo: Merge #8332 - Remove obsolete comment ( fixes #8209 ) (from Ms2ger:8209-comment); r=frewsxcv
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1dc144d1687cc6d89b29be859454e7ef73fb341d
2015-11-05 05:55:54 +05:00
Eli Friedman
5111dd3efa
servo: Merge #8318 - Remove dead load_sync function (from eefriedman:dead-sync-load); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 50e0c36eeb8cd52b90dba24b5b3692abc25d8d4d
2015-11-05 02:51:04 +05:00
Eli Friedman
1cfcb1e199
servo: Merge #8243 - Simplify implementation of '<canvas>' 'width' and 'height' attributes (from eefriedman:canvas-width-height); r=Ms2ger
...
Strictly speaking, this affects correctness for extremely large width and height values... but that's unlikely to matter in practice.
Source-Repo: https://github.com/servo/servo
Source-Revision: b39035c60e12c0c141eedf46e169bbd973a5f495
2015-11-04 22:52:09 +05:00
Ms2ger
b23dd0e7f4
servo: Merge #7128 - Make BrowsingContext JS-managed (from Ms2ger:bc-root); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: b4d234107e7fcc02e88915f37c06bf651842c1dd
2015-11-04 22:08:51 +05:00
Ms2ger
9ee6885f3c
servo: Merge #8312 - Make DOMString a newtype around String, rather than a typedef (from Ms2ger:DOMString); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: abfd1fb1bf071961bc8a581927eaa96a2d3e2cba
2015-11-04 16:17:41 +05:00
David Zbarsky
97e45a8d2e
servo: Merge #8305 - Get rid of a bunch of explicit derefs (from dzbarsky:roots); r=Ms2ger,
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 4b9fa13f2f6a1aa38d180367426498f01f6414c9
2015-11-04 10:33:54 +05:00
Florian Merz
047f235393
servo: Merge #8265 - add get_raw_layout_value (HTMLInputElementHelpers) (from fiji-flo:password_caret); r=eefriedman
...
This resolves #8107
Previously the index of the insetion point for a password input was
calculated using the scrambled string based on the edit point in the
raw string. That could lead to a wrong position of the caret. This
commit changes this behavior to calculate the insertion point using
the raw string.
Source-Repo: https://github.com/servo/servo
Source-Revision: e91169c0e2cfe37b1a2d0feb3aab50b72c816ffc
2015-11-04 04:59:59 +05:00
rohan.prinja
f3c30d6ffd
servo: Merge #8221 - move modules around (from ajnirp:8130-reorganise); r=jdm
...
for #8130
Source-Repo: https://github.com/servo/servo
Source-Revision: daad09d44245228fba9118316937add71bec7c58
2015-11-04 02:26:02 +05:00
Matt Brubeck
f40955a353
servo: Merge #8232 - Correct event dispatching for multiple simultaneous touch points (from mbrubeck:glutin-touch); r=glennw
...
Instead of just converting the mouse into a single "touch" input, Servo can now listen for multi-touch events from Glutin, maintain a list of active touch points, and dispatch events for all of them.
r? @glennw (for the compositor changes) and @jdm (for the DOM changes)
Source-Repo: https://github.com/servo/servo
Source-Revision: 3fdaa6e3f32f6996c416e75119177b98d404adb2
2015-11-03 22:15:21 +05:00
Alan Jeffrey
98e6744083
servo: Merge #8087 - Removced unncessary call to dirty() in Document::node_and_heritage_ch… (from asajeffrey:dont_dirty_twice); r=pcwalton
...
Removed unncessary call to dirty() in Document::node_and_heritage_change, since the node is aready dirtied by force_dirty_ancestors().
Source-Repo: https://github.com/servo/servo
Source-Revision: 23efa0a36f22bc1ba06023892d7cb292f5899275
2015-11-03 20:34:39 +05:00
Ms2ger
9d3e4d5ff1
servo: Merge #8295 - Various cleanup (from Ms2ger:cleanup); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1794e5875a1d1e61f00f7d0d0592fc5f7cd278d7
2015-11-03 15:58:14 +05:00
Ms2ger
3fa576e5c3
servo: Merge #8239 - Remove unused code around ScriptReflow (from Ms2ger:ScriptReflow); r=pcwalton
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 9a800becdf7f6b3b3524d204485cb7c593b506f5
2015-11-03 14:59:17 +05:00
Eli Friedman
5701c98f6a
servo: Merge #8056 - Fix the implementation of JSTraceable for RefCell (from eefriedman:trace-refcell); r=jdm
...
The existing implementation could panic; make sure that doesn't
happen by requiring that the contents of a RefCell are trivially
traceable (i.e. the value don't contain any traceable objects).
I'm not sure whether the TriviallyJSTraceable trait is actually
worthwhile; maybe we should just never use RefCell in the DOM.
Source-Repo: https://github.com/servo/servo
Source-Revision: 4f51710ed387baa1ad0a6e4cdb0fc5eee44093d5
2015-11-03 06:37:40 +05:00
Ms2ger
9329f94aa0
servo: Merge #8294 - Remove RawLayoutHTMLInputElementHelpers (from Ms2ger:layout-input); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 5c11c88e92ccbc3013501096d5625778774c9fee
2015-11-02 19:14:51 +05:00
Emilio Cobos Álvarez
65433d6d67
servo: Merge #8291 - Add destructors to some WebGL objects, remove duplicated glutin dependency and try to enable the webgl reftests (from emilio:webgl-drop); r=jdm
...
The first commit allows to cleanup the gl resources of the webgl task earlier if they aren't being used.
Right now all resources were cleaned up when the context was destroyed, so I think this is
a slightly better approach.
The second commit bumps rust-offscreen-rendering-context to remove the duplicated glutin dependency.
The third one tries to reenable the webgl reftests.
Since the errored builds are deleted, It's the only way I can try to troubleshoot it.
Source-Repo: https://github.com/servo/servo
Source-Revision: 3282174a9941ec1f8d8821dfac44b850b77e7668
2015-11-02 18:22:33 +05:00
Eli Friedman
eb7bab7e08
servo: Merge #8245 - Use attribute getter/setter macros for misc DOM attributes (from eefriedman:misc-attribute-fixes); r=nox
...
This fixes a few minor bugs.
Source-Repo: https://github.com/servo/servo
Source-Revision: 50d51bab7faa5ce52e9f345eee3d49886433289f
2015-11-02 14:44:32 +05:00
David Zbarsky
73f9e4ad42
servo: Merge #7400 - Allow more valid use of calc expressions (from dzbarsky:angle); r=mbrubeck
...
Source-Repo: https://github.com/servo/servo
Source-Revision: e72bd1437c667d5429f2e288701ae99aac5c4b4e
2015-11-02 12:16:43 +05:00
David Zbarsky
d423ff5097
servo: Merge #8193 - Use an Atom for Event.type (from dzbarsky:event_type); r=nox
...
Depends on https://github.com/servo/string-cache/pull/113
Source-Repo: https://github.com/servo/servo
Source-Revision: 35b452660bf0759d222e8f2ac4b8c57f75529443
2015-11-02 05:27:28 +05:00
Corey Farwell
86eaa55e95
servo: Merge #7965 - Implement 'labels' attribute on 'labelable elements' (from frewsxcv:labelable-elements-label-attribute); r=nox
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 0e70a1f8a88fb1962e4ada447479b4228d09d724
2015-11-01 20:21:18 +05:00
Olivia Nordquist
9795016f0b
servo: Merge #8290 - Un-boxed ScriptReflow (from itsmeolivia:store-script-reflow); r=Ms2ger
...
As per #8238 I changed `layout_interface::Msg::Reflow` to store `ScriptReflow` rather than `Box<ScriptReflow>`
I ran the tests and believe everything passed but this is my first commit to the project so sorry if I messed up the protocol!
Source-Repo: https://github.com/servo/servo
Source-Revision: 601169c0e5b0207805bb316b21e556f5ab67df9b
2015-11-01 14:20:17 +05:00
Eli Friedman
053971ee55
servo: Merge #8287 - Fix unused variable warnings (from eefriedman:label-unused-var); r=Manishearth
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1add1185ab338709082981f226e8227cabfac866
2015-11-01 05:49:03 +05:00
KALPESH KRISHNA
76e4f8e603
servo: Merge #8260 - Implementing activation behavior for <label> (from martiansideofthemoon:my-code-fix); r=Manishearth
...
Attempt to resolve #8179
@Manishearth , could you give me some resources having more information about what each function in `Activatable` does? The code compiles on my machine but I guess a lot more is needed
Source-Repo: https://github.com/servo/servo
Source-Revision: 53d8f04ac4894480aa8bc7a6a79fb5e02ae050d1
2015-10-31 21:55:27 +05:00
Gökberk Yaltıraklı
3613bf3c33
servo: Merge #7956 - Made binary files show an info message instead of garbled text (from gkbrk:binary_mime); r=jdm
...
Content-types with the TopLevel "Application" such as
* application/octet-stream
* application/pdf
now show an info message instead of trying to view binary data as html.
Source-Repo: https://github.com/servo/servo
Source-Revision: f432c3c49f9fb10de12feb17329984aa66a2848d
2015-10-31 21:00:52 +05:00
Ms2ger
a0bf8ab52b
servo: Merge #8282 - Cleanup Document::handle_mouse_move_event a bit (from Ms2ger:handle_mouse_move_event); r=Manishearth
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 912359fcbd74ddfdfa7aaf11f28cc8c2cfbd0eac
2015-10-31 18:27:31 +05:00
nxnfufunezn
c6b8ff7ba2
servo: Merge #8262 - Removed JS::root #8251 (from nxnfufunezn:Remove_JS_root); r=Ms2ger
...
Fixes #8251
r? @Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 37c03c78165fbb77eb024f2c3376d5e33cd7e446
2015-10-31 17:54:23 +05:00
Bobby Holley
6797370361
servo: Merge #8162 - Centralize event states in rust-selectors (from bholley:centralize_event_states); r=pcwalton
...
This still needs a rev bump on rust-selectors once https://github.com/servo/rust-selectors/pull/55 gets merged.
Source-Repo: https://github.com/servo/servo
Source-Revision: 521a87180a85709f8f704df33537f79bd131bf71
2015-10-31 09:35:45 +05:00
Nova Fallen
e2941c9f91
servo: Merge #8114 - Implement DOMStringMap::SupportedPropertyNames and NamedNodeMap::SupportedPropertyNames #7695 (from nfallen:7695); r=eefriedman
...
Here is a draft for issue #7695 with web platform tests.
Thanks for reviewing!
https://dom.spec.whatwg.org/#namednodemap
https://html.spec.whatwg.org/multipage/infrastructure.html#domstringmap
Source-Repo: https://github.com/servo/servo
Source-Revision: 7512aa69c034767cfb41206180bec50b020b2b0f
2015-10-31 07:34:08 +05:00
Corey Farwell
8a0a8b0b2d
servo: Merge #8279 - Fix some rust-clippy violations (from frewsxcv:clippy-fixes); r=eefriedman
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 913ac568750502087a7f1693b3657a24cefd2460
2015-10-31 06:21:47 +05:00
Martin Robinson
8c9de89a06
servo: Merge #8276 - Snap fragment scroll points to pixel boundaries (from mrobinson:fragment-ticks); r=mbrubeck
...
These don't match hardware pixels, but work well enough when the device
pixel ratio is a whole number.
Source-Repo: https://github.com/servo/servo
Source-Revision: 84bf368c3bb8ec3550fe158a874e68e02bb0d2be
2015-10-31 05:18:00 +05:00
Michael Wu
4d86b05893
servo: Merge #8273 - Minor cleanups for DOM (from michaelwu:cleanups); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: c887aaf6943c3945aed391e6fbbc23c709a4517f
2015-10-31 00:59:25 +05:00
Ms2ger
d7ec52bd66
servo: Merge #8267 - Various improvements (from Ms2ger:cleanup); r=frewsxcv
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1dfc0481efd4687658ab34e68c883caeadd8b20f
2015-10-30 23:25:34 +05:00
Corey Farwell
e9f97531a8
servo: Merge #8261 - Use 'atom!' macro for known static strings (from frewsxcv:atom-macro-static-str); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: f85f22c04fcd32c8fc3b02032a8ab62285992bd0
2015-10-30 18:50:25 +05:00
Corey Farwell
8daab26b66
servo: Merge #8255 - Remove struct field for <font> 'face' attribute (from frewsxcv:rm-font-face-attribute-field); r=eefriedman
...
Part of #7863
Source-Repo: https://github.com/servo/servo
Source-Revision: a1939b0c6f9dfddccfa5a7fff192a4e9db285e20
2015-10-30 10:59:29 +05:00