Corey Farwell
d0db054547
servo: Merge #8459 - Simplify iterating over Element attributes (from frewsxcv:namednodemap-iter); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 5e6efd62c1f19408f2d0dd50c48345b4122c0269
2015-11-11 19:49:49 +05:00
Corey Farwell
1a4c362d74
servo: Merge #8453 - Prefer Atoms over strs for comparison (from frewsxcv:atoms); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: fd5540df626508a57f6698b71d4d8ac8e95fb12e
2015-11-11 06:25:39 +05:00
Bobby Holley
7f2310076d
servo: Merge #8381 - Implement attribute restyle hints (from bholley:attr_restyle_hints); r=pcwalton
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 13226f847234cd0130820338d5a272277780d278
2015-11-11 00:57:45 +05:00
Eli Friedman
7d5ad1a7d8
servo: Merge #8431 - Move storage of bgcolor for <tr> and <tbody> (from eefriedman:table-bgcolor); r=frewsxcv
...
Source-Repo: https://github.com/servo/servo
Source-Revision: b386008623132deca21049f125ac761b20edc1dd
2015-11-10 06:28:16 +05:00
Eli Friedman
397a718894
servo: Merge #8404 - Misc cleanup for DOM attributes (from eefriedman:misc-attributes); r=nox
...
No functional change; just cleanups related to parsing attributes.
Source-Repo: https://github.com/servo/servo
Source-Revision: d8df028197505ca439363cdb05bed58fe9b4b726
2015-11-10 00:02:24 +05:00
Corey Farwell
4dddf85b6a
servo: Merge #8419 - Implement <hr> 'color' attribute (from frewsxcv:html-hr-element-color-attribute); r=eefriedman
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 3780fb7fe02ed66bd391421a0c5506b5635279dd
2015-11-09 04:58:51 +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
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
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
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
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
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
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
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
Bobby Holley
3eb79a9936
servo: Merge #8098 - Track event state changes on Document and do the dirtying from layout (from bholley:dirty_from_layout); r=jdm
...
This is a first step in fixing #6942 .
Source-Repo: https://github.com/servo/servo
Source-Revision: 285e29c06637f31a8b8a27c2e454468717924ebd
2015-10-28 23:54:53 +05:00
Tetsuharu OHZEKI
c5eb63ef20
servo: Merge #8183 - script: Element.webkitMatchesSelector() (from saneyuki:matches); r=nox
...
spec:
- 9ac9c15486
- https://github.com/whatwg/compat/issues/3
Source-Repo: https://github.com/servo/servo
Source-Revision: 47a8256c2cdd254943aaaf71e68204f9dcd70744
2015-10-25 02:47:30 -05:00
Anthony Ramine
db09beb657
servo: Merge #8041 - Introduce trait Castable (from nox:castable); r=jdm
...
Removes all those messy FooCast structures in InheritTypes.rs.
Source-Repo: https://github.com/servo/servo
Source-Revision: 674589c370d978f543e71f995d58c5b28e6e9842
2015-10-21 07:57:32 -06:00
Adam Szopa
b2986ec771
servo: Merge #8099 - Remove explicit lifetimes which can be elided (from Darktori:master); r=mbrubeck
...
Fixes https://github.com/servo/servo/issues/8069
Source-Repo: https://github.com/servo/servo
Source-Revision: 941c06eb99533c6c1d55b4ad3b51804badf48a23
2015-10-20 17:30:57 -06:00
KALPESH KRISHNA
506f43168f
servo: Merge #8068 - Implementing getAttributeNode() and similar methods (from martiansideofthemoon:my-code-fix); r=Manishearth
...
Implementing getAttributeNode() and similar methods
Attempting to solve #8066 Does it look good so far @Manishearth ?
Source-Repo: https://github.com/servo/servo
Source-Revision: 2e308e9eccb6c6d31906660bdfcf1a304f85dd56
2015-10-19 07:58:41 -06:00
Anthony Ramine
95d40680d6
servo: Merge #8060 - Implement Deref<Target=T> for JS<T> where T: Reflectable (from nox:deref-js); r=Ms2ger
...
We can only borrow `JS<T>` from rooted things, so it's safe to deref it.
The only types that provide mutable `JS<T>` things are `MutHeap<JS<T>>` and
`MutNullableHeap<JS<T>>`, which don't actually expose that they contain
`JS<T>` values.
Source-Repo: https://github.com/servo/servo
Source-Revision: 1a376aa75d5de8781b17a673850860f8afd2c28f
2015-10-19 06:32:05 -06:00
Bobby Holley
786aa62a34
servo: Merge #7935 - Move event state from Node to Element (from bholley:eventstate_element); r=nox
...
Just getting my feet wet with Rust here. Please feel free to nit the hell out of it stylistically and idiomatically. :-)
Source-Repo: https://github.com/servo/servo
Source-Revision: ff2151b8bbc62fa29c90a429b7a4f12520420b6e
2015-10-19 02:47:21 -06:00
Till Schneidereit
951525599f
servo: Merge #7415 - Improve implementation of DOMRect and implement DOMRectReadOnly (from tschneidereit:dom-rect); r=nox
...
Passes most tests from test-css. The remaining ones should pass once we have https://github.com/w3c/csswg-test/pull/834 .
r? @Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 810d28a2574cd288ddfa5737ade417ea53a4b690
2015-10-17 15:17:27 -06:00
Anthony Ramine
39c1957849
servo: Merge #8020 - Generate all Derived implementations in codegen (from nox:codegen-derived); r=Ms2ger
...
Follow-up of #7873 .
@Ms2ger r? :)
Source-Repo: https://github.com/servo/servo
Source-Revision: 417cf5738e4609f4b2e34e9e0c4f7ef68f087432
2015-10-15 12:53:08 -06:00
Anthony Ramine
c60f627416
servo: Merge #7873 - Generate the various TypeId enums in codegen (from nox:codegen-typeid); r=Ms2ger
...
This frees us forever from caring about maintaining these enums. The last commit removes their use from the initialisation of interface objects derived from Node.
Source-Repo: https://github.com/servo/servo
Source-Revision: 32daa17d5cbcad02db0713e21e52410cdc60480e
2015-10-14 12:47:48 -06:00
Corey Farwell
db77d6a8e3
servo: Merge #7841 - Implement <body>'s "text" attribute (from frewsxcv:htmlbodyelement-text); r=nox
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1029feb55d004e4417dd6cfdcb864d18871ae74a
2015-10-09 06:11:46 -06:00
Anthony Urena
4de60083e9
servo: Merge #7882 - Refactor Error enum usage to consistently be qualified (from anthgur:consistent-enum-use); r=Ms2ger
...
Closes #7869
Source-Repo: https://github.com/servo/servo
Source-Revision: f5cd90805ec67fb52f73ec4cef9cef881a67522d
2015-10-06 04:58:17 -06:00
Ms2ger
6bcabd116a
servo: Merge #7874 - Define the parsed attribute getters for HTMLTableCellElement on LayoutJS (from Ms2ger:layoutjs-tdth); r=jdm
...
This documents their intended usage and prevents script callers from using
them.
Source-Repo: https://github.com/servo/servo
Source-Revision: 50db64a20ec8a5dac6e98c4ab654ab0ceb5f8e82
2015-10-06 01:57:05 -06:00
Ms2ger
6d5ec453b8
servo: Merge #7867 - Move some methods from RawLayoutElementHelpers to LayoutElementHelpers (from Ms2ger:layoutjs); r=nox
...
This is part of a long-term plan to ensure layout never has access to
unwrapped pointers to DOM objects. The remaining methods on the
RawLayoutElementHelpers trait are harder to move, because of the lifetimes in
their signatures.
Source-Repo: https://github.com/servo/servo
Source-Revision: a350b215cc3e943985a66f1485c7eac7f4b9832e
2015-10-05 08:19:21 -06:00
Corey Farwell
230548b0d6
servo: Merge #7683 - Implement size attribute for <font> element (from frewsxcv:html-font-element-size-attr); r=nox
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 7debfd1f4c30a018f46caa1e6bffa165e1ef7515
2015-10-05 02:33:02 -06:00
Glenn Watson
5c835e208c
servo: Merge #7795 - Split Au type into separate crate, with minimal dependencies (from glennw:app-units-crate); r=SimonSapin
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 35888e5a1d48511ec54ddf8c58f1c7b0c47c5d3c
2015-09-30 15:19:33 -06:00
Patrick Walton
0582e9c404
servo: Merge #7736 - Less ambitious optimize set property (from pcwalton:less-ambitious-optimize-set-property); r=Ms2ger
...
Splitting the parts that have r+ out of #6823 .
Source-Repo: https://github.com/servo/servo
Source-Revision: d7b875170956f3a26b46e49d3d5c990fa4acc974
2015-09-24 19:57:40 -06:00
Ravi Shankar
62e8ea2732
servo: Merge #7698 - sorted the declarations in various files (from Wafflespeanut:sorting); r=frewsxcv
...
This is a direct extract from my abandoned PR for a lint (#7546 ), along with some rather clumsy modifications (only on `components/script/dom/mod.rs` and `components/style/lib.rs`), because I had to sort some of the files again to make peace with tidy, which hasn't been educated about sorting yet!
Source-Repo: https://github.com/servo/servo
Source-Revision: a7208869f2903e36f9b2f540b55b50283d7df466
2015-09-23 15:02:56 -06:00
Corey Farwell
3733d449a0
servo: Merge #7712 - Prefer element casting over mem::transmute (from frewsxcv:no-mem-transmute); r=saneyuki
...
None
Source-Repo: https://github.com/servo/servo
Source-Revision: b66dd621775f2277b2cd2424de8f4cb7d8efc9b6
2015-09-22 16:48:22 -06:00
Ali Sabil
651a741974
servo: Merge #7611 - Cache the id attribute on Element (from nox:cache-element-id); r=frewsxcv
...
Thanks to @asabil for the original work, I only rebased it.
Fixes #6359 and #7040 .
Source-Repo: https://github.com/servo/servo
Source-Revision: d1269294e6c602c91012397c7584e3c2077e21ac
2015-09-20 09:23:20 -06:00
Brandon Fairchild
704178a0dd
servo: Merge #7662 - Check for multiple import blocks separated by whitespace (from nerith:import); r=frewsxcv
...
Fixes #7381 .
Source-Repo: https://github.com/servo/servo
Source-Revision: a0d3c9223f09757124b1520c4f17e94fa8bbe249
2015-09-19 13:34:51 -06:00
Simon Sapin
38b5ea4322
servo: Merge #7555 - Custom properties, take 2 (from SimonSapin:custom-properties++); r=mbrubeck
...
Support `var()` in shorthand properties, and fix various bugs.
r? @pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 1b6d4daf85d672265824a014dba99c94c8c08814
2015-09-17 06:50:57 -06:00
Corey Farwell
3a2d745bcb
servo: Merge #7619 - Implement <font> 'face' attribute (from frewsxcv:font-face); r=nox
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 25abe646f860edc542169fdd1b53a4fd7fb615f6
2015-09-14 18:32:17 -06:00
Anthony Ramine
21dcce981a
servo: Merge #7606 - Move the type_id fields to DOMClass (from nox:move-typeid); r=jdm
...
Cc @michaelwu.
Source-Repo: https://github.com/servo/servo
Source-Revision: d5ee58caf269779e86b2efc50ddf37d3e4eba9b9
2015-09-13 11:53:42 -06:00
Anthony Ramine
ed7c59f4c3
servo: Merge #7531 - Implement <template> (from nox:template); r=Ms2ger
...
All tests using iframes can't currently pass, same for innerHTML-related tests with <template> elements. The latter contradicts the spec, see the links below.
Apart from this, they work, AFAICT.
https://github.com/servo/html5ever/issues/164
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27314
Source-Repo: https://github.com/servo/servo
Source-Revision: 5a0be12e43f92fc64b1d8f5d35f9dadaa4b53521
2015-09-08 02:29:00 -06:00
Manish Goregaokar
46699136ac
servo: Merge #7536 - More clippy fixes (from Manishearth:clippyfix); r=Ms2ger
...
Elided almost all the lifetimes and removed needless returns. Mostly done by sed + manual fixes.
r? @nox
Source-Repo: https://github.com/servo/servo
Source-Revision: c2c2646d37614ece5869af861993c3d619f6e003
2015-09-04 07:59:04 -06:00
Simon Sapin
3844781584
servo: Merge #7518 - Initial support for CSS Custom Properties (from servo:custom-properties); r=pcwalton
...
https://drafts.csswg.org/css-variables/
Missing:
* `var()` in shorthand property declarations.
* Correct handling of EOF in custom property declarations.
r? @pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 05deb3dcc8be9a0a623536467628aa68ae754918
2015-09-03 16:09:02 -06:00
Prabhjyot Singh Sodhi
fc64c48d01
servo: Merge #7511 - make AttrVal tokens() and atom() return or panic (from psdh:attrtokato); r=Ms2ger
...
Fixes #7479
Source-Repo: https://github.com/servo/servo
Source-Revision: da02dba9793f373c6c9cdc1e0bd1c3411cfcc4ba
2015-09-02 15:03:10 -06:00
Anthony Ramine
0d2abbdbca
servo: Merge #7452 - Introduce VirtualMethods::attribute_mutated() (from nox:cleanup-attributes); r=nox
...
Source-Repo: https://github.com/servo/servo
Source-Revision: eaf90c0b1c14717fb580bb0bdb8f6c4db363ace6
2015-09-02 08:14:33 -06:00
Simon Sapin
3d8a9be409
servo: Merge #7496 - Implement CSS3 Calc (from servo:calc_); r=SimonSapin
...
This is #7185 with one commit added to make it build merged with master, which got support for the `ch` unit in the meantime.
Source-Repo: https://github.com/servo/servo
Source-Revision: a547ae6826cf171c42b090408a4c20d58d1829d9
2015-09-02 02:33:18 -06:00
Simon Sapin
d67af4db2f
servo: Merge #7509 - Upgrade to rustc 1.4.0-dev (cb9323ec0 2015-09-01) (from servo:rustup_2015-09-01); r=Manishearth
...
Source-Repo: https://github.com/servo/servo
Source-Revision: f49615ca7b5d98ee603cf42f705073fbe4d414fb
2015-09-02 01:31:23 -06:00
wilmoz
b001887fd5
servo: Merge #7475 - Make test-tidy check that braces have spaces before or after them (from wilcus:checkBracesSpaces); r=jdm
...
https://github.com/servo/servo/issues/7413
Posible future/past bug fixed in components/script/timers.rs
Source-Repo: https://github.com/servo/servo
Source-Revision: 60c72f601c4dd7cfbc8a4a983099a4b323f1516a
2015-08-31 13:18:23 -06:00
Anthony Ramine
8a70682e28
servo: Merge #7416 - Make the traits for the IDL interfaces take &self (from nox:methods-ref); r=frewsxcv
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 71b277d5675556e61a82ae9dbf3105449c3a8275
2015-08-27 15:08:41 -06:00
Anthony Ramine
fa8c26b4c5
servo: Merge #7401 - Remove helper traits (from nox:rm-helpers); r=Manishearth
...
Now that `JSRef<T>` is gone, there is no need to have helper traits.
Source-Repo: https://github.com/servo/servo
Source-Revision: 909429702972d53bf02dfe9a4aa93ea0cb588cf4
2015-08-27 09:38:48 -06:00