Manish Goregaokar
79cb1af12a
Address review comments
2014-10-14 21:24:36 +05:30
Manish Goregaokar
d03120b3a4
Filter out buttons which aren't the submitter while constructing the dataset
2014-10-14 21:24:36 +05:30
Manish Goregaokar
749e2394c5
Add click handler for <input type=submit>
2014-10-14 21:24:36 +05:30
Rohan Prinja
05134e6d1f
Add form submission via input element
2014-10-14 21:24:36 +05:30
Manish Goregaokar
c92d58980c
Create an almost-correct form_owner() for convenience
2014-10-14 21:24:36 +05:30
Ms2ger
16e071168c
Don't borrow CharacterData.data from layout.
...
This should fix the most frequent intermittent wpt failure.
2014-10-14 10:49:33 +02:00
bors-servo
f350879574
auto merge of #3666 : ttaubert/servo/issue/3644-privatize-dom, r=Manishearth
...
This PR removes public fields from all (hope I didn't miss any) DOM structs. Should |Page| be privatized as well? This PR additionally introduces a #[privatize] lint to ensure nobody accidentally re-introduces a public field.
All changesets compile separately if applied in the same order. Hope that helps reviewing but I can of course squash them before merging.
2014-10-13 22:00:37 -06:00
bors-servo
293e06fd7c
auto merge of #3651 : ttaubert/servo/issue/3643-event-new-enums, r=Manishearth
...
r? @jdm
2014-10-13 19:12:38 -06:00
bors-servo
0ded2bb1ec
auto merge of #3632 : Ms2ger/servo/bindings-conf, r=Manishearth
...
We have no reason to support non-default type names, and this commit corrects
the computations for callbacks (which needed the override until now).
2014-10-13 17:00:47 -06:00
Tim Taubert
cbe50f1f14
Privatize Element
2014-10-13 13:25:44 +02:00
Tim Taubert
cd9de05088
Privatize Event
2014-10-13 13:25:44 +02:00
Tim Taubert
28061b1c91
Privatize Node
2014-10-13 13:25:44 +02:00
Tim Taubert
da7590d108
Privatize Window
2014-10-13 13:25:44 +02:00
Tim Taubert
8825296869
Privatize Document
2014-10-13 13:25:43 +02:00
Tim Taubert
d0addd36bb
Privatize ProcessingInstruction
2014-10-13 13:25:43 +02:00
Tim Taubert
ad6649d102
Privatize File
2014-10-13 13:25:43 +02:00
Tim Taubert
df60f8b2c5
Privatize EventTarget and EventListenerEntry
2014-10-13 13:25:43 +02:00
Tim Taubert
ba073d7e99
Privatize DocumentType
2014-10-13 13:25:43 +02:00
Tim Taubert
e15f8cb37f
Privatize Comment
2014-10-13 13:19:05 +02:00
Tim Taubert
78fef7eec5
Privatize Attr
2014-10-13 13:18:57 +02:00
Glenn Watson
eb5532c781
Expose user agent option to DOM navigator interface.
2014-10-13 19:53:41 +10:00
Tim Taubert
9a52bb8310
Privatize InheritTypes
2014-10-13 11:13:12 +02:00
Tim Taubert
acd98a73a4
Simple privatizations
2014-10-13 11:13:12 +02:00
Tim Taubert
5080c0d86e
Make Event::new take enumerated values instead of booleans ( fixes #3643 )
2014-10-11 16:57:00 +02:00
Manish Goregaokar
76219df816
Address review comments
2014-10-11 16:10:02 +05:30
Manish Goregaokar
10d9a66ce1
Correct <input>.value
2014-10-11 16:10:01 +05:30
Manish Goregaokar
b28a4c8858
Implement extremely basic form submission ( fixes #3554 )
2014-10-11 16:00:16 +05:30
Manish Goregaokar
cc6e81103f
Fix <input>.checked
2014-10-11 09:48:16 +05:30
Manish Goregaokar
8a2c746e61
Add type IDL attr for submittable elements
2014-10-11 09:48:15 +05:30
Patrick Walton
2a790d06dd
Use Gecko's simpler Bloom filter instead of one based on hash
...
stretching.
This preserves the usage of the Bloom filter throughout style recalc,
but the implementation is rewritten. Provides a 15% improvement on
Guardians of the Galaxy.
2014-10-10 17:02:27 -07:00
Ms2ger
76ba40d5cb
Remove support for {return,native,concrete}Type overrides in Bindings.conf.
...
We have no reason to support non-default type names, and this commit corrects
the computations for callbacks (which needed the override until now).
2014-10-10 13:13:43 +02:00
Clark Gaebel
d12c6e7383
Incremental Style Recalc
...
This patch puts in the initial framework for incremental reflow. Nodes' styles
are no longer recalculated unless the node has changed.
I've been hacking on the general problem of incremental reflow for the past
couple weeks, and I've yet to get a full implementation that actually passes all
the reftests + wikipedia + cnn. Therefore, I'm going to try to land the different
parts of it one by one.
This patch only does incremental style recalc, without incremental flow
construction, inline-size bubbling, reflow, or display lists. Those will be coming
in that order as I finish them.
At least with this strategy, I can land a working version of incremental reflow,
even if not yet complete.
r? @pcwalton
2014-10-09 12:55:21 -04:00
Tim Taubert
35f8270c64
Remove unnecessary deref()
s ( fixes #3586 )
2014-10-09 15:01:54 +02:00
bors-servo
a127fcd854
auto merge of #3577 : ttaubert/servo/issue/3193-named-element-mangle, r=jdm
...
Should probably use HashMap::entry() but that doesn't seem to be available with servo's current rust snapshot.
r? @Ms2ger
2014-10-08 13:15:32 -06:00
bors-servo
94731270df
auto merge of #3605 : Manishearth/servo/form-stuff, r=jdm
2014-10-08 03:42:34 -06:00
Manish Goregaokar
1484acb7af
Address review comments
2014-10-08 14:37:22 +05:30
Tim Taubert
b9e23563bb
Support [*|attr], attribute selectors in any namespace ( fixes #1558 )
2014-10-08 11:01:31 +02:00
Manish Goregaokar
3a1f9bd7fb
Use macro setters everywhere else
2014-10-07 22:22:54 +05:30
Manish Goregaokar
8cba6c7580
Add macro for reflecting URLs
2014-10-07 22:22:48 +05:30
Manish Goregaokar
e9f654d60a
Use macro setters for <img>
2014-10-07 21:29:26 +05:30
Manish Goregaokar
65e9ab8ece
Use macro setters for <input>
2014-10-07 21:22:03 +05:30
Manish Goregaokar
332c94b730
Implement most of HTMLFormElement's webidl
2014-10-07 21:12:55 +05:30
Manish Goregaokar
98d1ddfcd3
Add setter macros, improve getter macros
2014-10-07 19:49:43 +05:30
Gilles Leblanc
3a5a66d54e
Take the prefix from createElementNS into account for HTML elements
...
Fixes #3139
2014-10-06 22:49:49 -04:00
Tim Taubert
a338fbc4b5
Use HashMap::find_with_or_insert_with in DocumentHelpers::register_named_element ( fixes #3193 )
2014-10-06 03:28:15 +02:00
Manish Goregaokar
427b3b7733
Remove Traceable/Untraceable entirely
2014-10-05 22:58:00 +05:30
Manish Goregaokar
b7c3a1cd5d
Remove Untraceable from utils.rs
2014-10-05 22:53:52 +05:30
Manish Goregaokar
dcbb941300
Remove Traceable from callback.rs
2014-10-05 22:53:52 +05:30
Manish Goregaokar
707a2870fa
Remove Traceable/Untraceable from page.rs
2014-10-05 22:53:50 +05:30
Manish Goregaokar
22567762a0
Remove Traceable/Untraceable from window.rs
2014-10-05 22:39:24 +05:30