Commit graph

9044 commits

Author SHA1 Message Date
bors-servo
636641f905 auto merge of #4400 : pcwalton/servo/empty-cells, r=SimonSapin
r? @SimonSapin
2014-12-17 22:33:51 -07:00
Glenn Watson
bfa2f1f3e1 Restore glutin close on escape functionality. Also fix linux compile error. 2014-12-18 15:27:42 +10:00
Patrick Walton
5675274c44 layout: Implement empty-cells per CSS 2.1 § 17.6.1.1. 2014-12-17 21:25:12 -08:00
bors-servo
59b9d14ca4 auto merge of #4415 : ChrisParis/servo/parse_html, r=jdm
For https://github.com/servo/servo/issues/4362. This is a simple fix that avoids redesigning task_state. This doesn't track nesting depth, but it wasn't clear what would use the nesting depth if we tracked it. Maybe this is enough.
2014-12-17 21:12:48 -07:00
Chris Paris
96f73d67d4 Use parse_html in DOMParser. 2014-12-17 17:40:38 -10:00
bors-servo
592c93e0c2 auto merge of #4414 : glennw/servo/fix-glutin, r=larsbergstrom 2014-12-17 20:03:48 -07:00
Glenn Watson
81aeab244c Compile fix for glutin feature after rust upgrade. 2014-12-18 12:58:19 +10:00
bors-servo
fbf42c951b auto merge of #4405 : servo/servo/rustup_20141124, r=jdm 2014-12-17 18:45:49 -07:00
Glenn Watson
1a9be88a1d Various compile fixes for android rustup (link still fails). 2014-12-18 08:08:38 +10:00
Ms2ger
466faac2a5 Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. 2014-12-17 15:19:45 -05:00
Patrick Walton
4f6c732b54 script: Fix double borrow error when going back. Closes #4402.
I have verified that back and forward work once again.
2014-12-16 21:54:43 -08:00
bors-servo
b8900782b0 auto merge of #4398 : glennw/servo/glutin-clear, r=pcwalton 2014-12-16 20:18:44 -07:00
Glenn Watson
063426fc55 Include gleam for android 2014-12-17 13:14:36 +10:00
bors-servo
df4c3ff284 auto merge of #4393 : Adenilson/servo/fixInsetOutsetColor01, r=pcwalton 2014-12-16 17:03:43 -07:00
Glenn Watson
9a52ce6464 Update gleam, clear initial framebuffer under glutin. 2014-12-17 10:03:14 +10:00
Adenilson Cavalcanti
bdb8afd351 Cropping the ref images to save some bytes (as also adjust test borders
to match results).
2014-12-16 16:00:45 -08:00
bors-servo
03666f3105 auto merge of #4397 : jdm/servo/issue_4235, r=jdm
Rebased from #4241.
2014-12-16 16:03:45 -07:00
Jerry Shih
3b4ebd7cd0 handle null for evaluating JS value. #4235 2014-12-16 17:59:23 -05:00
bors-servo
5951056973 auto merge of #4133 : mttr/servo/form_resetting, r=jdm
We can reset `<input type=text>` fields! I wish I could've done something with checkboxes, but unfortunately, that's it for now.

In addition to that, this PR implements `HTMLInputAttribute.defaultValue`, updates wpt-test to expect passing tests as a result of that implementation, and fixes an index error crash with text inputs.

edit: also includes an html example where one may lazily watch form resets in action: ` tests/html/form_reset_handsfree.html`
2014-12-16 15:03:49 -07:00
Matthew Rasmus
e4963869d3 Additional updates for newly passing WPT's 2014-12-16 13:01:36 -08:00
bors-servo
b6a593650b auto merge of #4392 : michaelwu/servo/fix-gonk-20141216, r=jdm 2014-12-16 13:31:08 -07:00
Adenilson Cavalcanti
c41fc31655 Adding tests for outset. 2014-12-16 12:16:43 -08:00
Adenilson Cavalcanti
92f4ab6394 Thanks to differences on rendering between CPU X GPU, there is a 1 pixel wide
difference in the position where the top border meets the right border (as
also the right border X bottom border).

The workaround to have a test that will work on both modes is to cover the
affected area with a white div. This patch adds inset test.
2014-12-16 12:09:31 -08:00
Adenilson Cavalcanti
0e24194d81 Inset and outset border coloring is incorrect on left side border.
This patch will fix this issue.
2014-12-16 12:01:43 -08:00
Matthew Rasmus
504f968b20 Implements :indeterminate pseudo-class
Addresses reviews
2014-12-16 11:34:04 -08:00
Matthew Rasmus
2d05ac537c Updated WPT to expect newly passing tests 2014-12-16 11:34:04 -08:00
Matthew Rasmus
0c8e1aeda3 Implements dirty value/checked flags for input
And modifies test-inputs.html to test.

Fixes wpt breaking mistake
2014-12-16 11:34:04 -08:00
Matthew Rasmus
38e4d86b14 Implements DefaultChecked and resets of checkboxes 2014-12-16 11:34:04 -08:00
Matthew Rasmus
a5c0bb708d htmltextarea: Fixed some value_changed issues
Also modified tests/html/textarea.html to allow for the testing of the
textarea's dirty value flag.
2014-12-16 11:34:04 -08:00
Matthew Rasmus
4d0a6a6bd6 Implements reset button 2014-12-16 11:34:04 -08:00
Matthew Rasmus
7e0c39a82d Implements FormControl for HTMLTextAreaElement 2014-12-16 11:34:04 -08:00
Matthew Rasmus
a3b3295d80 Adds reset method to FormControl 2014-12-16 11:34:04 -08:00
Matthew Rasmus
f0ce2af89c Implements basic form resetting
What can this do? Reset `<input type=text>` fields back to their default
value through a call to a form's reset method. That's all for now!

Fixes compile error after rebase
2014-12-16 11:33:56 -08:00
bors-servo
fcaa45fb67 auto merge of #4380 : mttr/servo/textarea_rows_and_cols, r=jdm
...with a bit of a caveat: sizing has the same problem as seen in #4378, and it is _significantly_ more noticeable when using `rows`.

Fixes #4291
2014-12-16 12:09:50 -07:00
Matthew Rasmus
f932a6947a Implements HTMLInputElement.defaultValue
...and changes SetValue to update the input text instead of the content
attr.

Also includes a comment summarizing everything I currently know with
respect to an input elements checkedness vs its IDL attributes vs its
content attributes.
2014-12-16 11:06:56 -08:00
Matthew Rasmus
f686943eb4 Fix crash in textinput 2014-12-16 11:06:55 -08:00
Matthew Rasmus
fc0748f50e Makes layout respect <textarea> rows attribute
review addresssing
2014-12-16 11:02:01 -08:00
Matthew Rasmus
2c7f6076d1 Makes layout respect <textarea> cols attribute 2014-12-16 10:44:15 -08:00
Michael Wu
f6cc413a48 Update Cargo.lock to fix gonk build 2014-12-16 13:30:32 -05:00
bors-servo
905c30d697 auto merge of #4390 : Ms2ger/servo/derefs, r=jdm 2014-12-16 09:22:02 -07:00
bors-servo
508924771e auto merge of #4389 : Ms2ger/servo/transmute, r=jdm 2014-12-16 08:54:51 -07:00
Ms2ger
ac95d12037 Remove some manual deref() / deref_mut() calls. 2014-12-16 16:41:33 +01:00
bors-servo
cd1ccacf5e auto merge of #4386 : glennw/servo/update-cocoa, r=metajack 2014-12-16 08:24:49 -07:00
Ms2ger
eafa8b48fc Fix bogus transmute. 2014-12-16 15:15:00 +01:00
bors-servo
746b262ff4 auto merge of #4374 : thiagopnts/servo/dispatch-event, r=Ms2ger
servo/pull/4369 with the right commit.
2014-12-16 06:36:47 -07:00
thiagopnts
79487252ca Add auxiliary method to EventTargetHelpers for events without target
fixup! Add auxiliary method to EventTargetHelpers for events without target
2014-12-16 10:01:38 -02:00
bors-servo
38a4e71502 auto merge of #4387 : ebalint/servo/codegen, r=Ms2ger
If we added a "readonly attribute Uint8ClampedArray arrayAttribute" in a webidl, codegen created the binding method like this: "fn ArrayAttribute(self) -> * mut JSObject;" but called it with a "*mut JSContext" parameter.
2014-12-16 04:06:56 -07:00
Edit Balint
3036c8d21d Fixed codegen error regarding Uint8ClampedArray 2014-12-16 11:03:01 +01:00
Glenn Watson
748de2f7ac Update cocoa (needed for newer glutin) 2014-12-16 14:48:41 +10:00
bors-servo
fb5c1bef6f auto merge of #4385 : pcwalton/servo/page-double-borrow, r=jdm
This was my fault. It comes up on almost any page after scrolling a bit.

r? @jdm
2014-12-15 20:54:44 -07:00