Commit graph

879 commits

Author SHA1 Message Date
bors-servo
bc7b5b35b4 auto merge of #4234 : tterribe/servo/issue4158, r=metajack
This makes these parameters self-documenting.
This patch does not attempt to push those enums into the data
structures that feed calls to this function.

Fixes #4158.
2014-12-05 17:34:03 -07:00
bors-servo
d5c62ac2c4 auto merge of #4256 : ema-fox/servo/password_input, r=jdm 2014-12-05 17:13:05 -07:00
bors-servo
a369dcfa01 auto merge of #4152 : mttr/servo/textview, r=jdm
Fixes #3918 

Can be tested in `tests/html/textarea.html`. Also implemented some content reflecting IDL attributes for HTMLTextAreaElement while I was in there.

There are some major problems with TextInput when Multiple is enabled that I haven't addressed here, but I'm prepared to open up a follow-up issue.
2014-12-05 16:25:07 -07:00
Timothy B. Terriberry
65575bf8a7 Change time::profile's meta booleans to enums.
This makes these parameters self-documenting.
This patch does not attempt to push those enums into the data
structures that feed calls to this function.

Fixes #4158.
2014-12-05 14:23:27 -08:00
Emanuel Rylke
1ecbe021ff Make the password input element show the correct number of dots for multibyte chars. 2014-12-05 22:03:02 +01:00
Matthew Rasmus
c97a4d999e Handle default uint attributes properly
...and passing a whole bunch of new tests.
2014-12-05 12:31:32 -08:00
Matthew Rasmus
f5bd8f830a HTMLTextArea: Implements a dirty value flag 2014-12-05 12:31:31 -08:00
Matthew Rasmus
ed37b53a62 Updates WPT to expect newly passing tests
Addresses reviews

More review addressing
2014-12-05 12:31:31 -08:00
Matthew Rasmus
29241699fd Implements multi line text input for TextArea 2014-12-05 12:21:31 -08:00
Matthew Rasmus
fd65b5f438 Implements some HTMLTextAreaElement attributes
These attributes all reflect their own related content values, with the
exception of defaultValue, which acts as an alias for its IDL
textContent attribute.

Many of these do have default values and constraints which are currently unimplemented.
2014-12-05 12:21:31 -08:00
Emanuel Rylke
0316100785 Make TextInput correctly handle multibyte chars. 2014-12-05 21:02:15 +01:00
bors-servo
c6aadc5bcc auto merge of #4247 : wenderen/servo/delete-one-char, r=jdm
fix #4243
2014-12-05 08:43:12 -07:00
Rohan Prinja
9c26cf7ea9 allow deleting last char 2014-12-05 17:06:34 +05:30
bors-servo
6bd9bf979b auto merge of #4198 : Manishearth/servo/hyper-droid, r=Manishearth
This is the Hyper pull request, plus the set up for OpenSSL on Android to make it merge.

Sean's commits have been reviewed in #4065 (My Android changes were reviewed by Glenn)
2014-12-05 04:16:11 -07:00
bors-servo
66d4acef8d auto merge of #4245 : Ms2ger/servo/lazy-getters, r=Manishearth 2014-12-05 03:46:07 -07:00
bors-servo
0065c230da auto merge of #4230 : jdm/servo/errorreporter, r=jdm
Rebased from #3822.
2014-12-05 02:28:09 -07:00
Manish Goregaokar
00a0f1527c Set up openssl on Android 2014-12-05 01:03:43 -08:00
Matt Brubeck
cddc6923d4 Implement the HTMLScriptElement.src setter
Fixes #1113.
2014-12-04 21:27:34 -08:00
Ronak Nisher
cbed366bea added ErrorEvent WebIDL and errorevent.rs 2014-12-04 21:22:15 -08:00
Eduard Burtescu
b328c57caa devtools: handle script task panics gracefully in ConsoleActor. 2014-12-05 02:57:32 +02:00
Sean McArthur
b7de46970f adjust WPT since hyper fixed some 2014-12-04 10:12:04 -08:00
Sean McArthur
4ee8c3a60b convert script crate to use hyper 2014-12-04 10:06:41 -08:00
Sean McArthur
1dc67f0c76 convert msg crate to use hyper 2014-12-04 10:06:41 -08:00
Sean McArthur
12727d4dd0 convert net crate to use hyper 2014-12-04 10:06:39 -08:00
Ms2ger
d9993ebcc3 Use MutNullableJS::or_init in Window. 2014-12-04 15:57:05 +01:00
Ms2ger
c66cefa313 Use MutNullableJS::or_init in Document. 2014-12-04 15:50:13 +01:00
Ms2ger
d26283c065 Implement MutNullableJS::or_init.
This will make it easier to implement lazy getters.
2014-12-04 15:49:29 +01:00
Ms2ger
9416e9b11a Cleanup Document::GetElementsByName. 2014-12-04 11:40:44 +01:00
Ms2ger
d22964792a Cleanup Document::SetBody. 2014-12-04 11:38:54 +01:00
Ms2ger
2ce4c6c529 Cleanup Document::GetDocumentElement. 2014-12-04 09:44:01 +01:00
Ms2ger
41395412eb Cleanup Document::GetDoctype. 2014-12-04 09:43:40 +01:00
bors-servo
90b0369cdf auto merge of #4217 : cmr/servo/issue/4196, r=jdm
Closes  #4196.

r? @jdm
2014-12-04 00:06:55 -07:00
bors-servo
28a132a8f4 auto merge of #4213 : jdm/servo/sepreadwrite, r=jdm
Rebased from #4211.
2014-12-03 22:48:59 -07:00
Corey Richardson
4d55ab8157 Don't categorize HTMLInputElement as a TableCellFragment
Closes  #4196.
2014-12-03 21:44:18 -08:00
bors-servo
0b5cc3f4aa auto merge of #4214 : jdm/servo/modifyattr, r=jdm
Rebased from #4197.
2014-12-03 20:28:00 -07:00
Shanil Puri
72a5ae7210 Implemeneted ModifyAttribute handler to update DOM elements. 2014-12-03 18:58:44 -08:00
Sagar Muchhal
75ffda9fb8 Support for Separated Read Write 2014-12-03 18:45:05 -08:00
Glenn Watson
f2100ec676 Update skia submodule to get android build fix. 2014-12-03 17:59:23 -08:00
bors-servo
92cc423709 auto merge of #4202 : zwarich/servo/remove-libgreen, r=larsbergstrom 2014-12-03 18:27:57 -07:00
bors-servo
736d542beb auto merge of #4187 : cgaebel/servo/issue-4127, r=SimonSapin
This will avoid drawing Arcs if there's no border-radius property set.

Fixes #4127
2014-12-03 17:48:56 -07:00
Cameron Zwarich
e3b7aeb531 Remove libgreen support. 2014-12-03 15:32:15 -08:00
nkdalmia
f6fb9f862d Implement Window.sessionStorage: Storage Task, Storage Methods (excluding Storage event, QuotaExceededError) 2014-12-03 18:31:50 -05:00
Patrick Walton
1c1c507c03 layout: Implement opacity per CSS-COLOR § 3.2.
This adds the infrastructure necessary to support stacking contexts that
are not containing blocks for absolutely-positioned elements. Our
infrastructure did not support that before. This minor revamp actually
ended up simplifying the logic around display list building and
stacking-relative position computation for absolutely-positioned flows,
which was nice.
2014-12-03 14:17:16 -08:00
Simon Sapin
2f413c8937 Move the servo crate from root to components/servo 2014-12-02 18:03:39 -08:00
Clark Gaebel
85856d0072 code review 2014-12-02 17:30:54 -08:00
Clark Gaebel
7d1e85f774 Fixed #4127: Added a fast path to border-radius.
This will avoid drawing Arcs if there's no border-radius property set.
2014-12-02 16:28:26 -08:00
bors-servo
ed45aa9efd auto merge of #4156 : Michael03/servo/master, r=Ms2ger
This fixes issue #4122
2014-12-02 05:24:49 -07:00
Clark Gaebel
ffcf0bf394 [gfx/style] Implement border-radius.
This patch is a first stab at implementing border-radius. It looks fine as long as
the border isn't an ellipse (that might not even parse yet), and the border-widths
around a border-radius are the same.

Here's a cool screenshot!

![](https://www.dropbox.com/s/gdtmgjrlnf82gzz/Screenshot%202014-11-12%2018.03.29.png?dl=0)

r? @pcwalton @SimonSapin
2014-12-01 16:10:35 -08:00
bors-servo
9afdce4405 auto merge of #4162 : pcwalton/servo/text-align-flags, r=kmcallister
Fixes the blank spaces showing up in Wikipedia.

r? @kmcallister
2014-12-01 12:12:55 -07:00
Patrick Walton
803624c51e layout: Stop having text alignment stomp on layerization flags.
Fixes the blank spaces showing up in Wikipedia.
2014-12-01 10:55:13 -08:00