Patrick Walton
2b0e59725b
layout: Make content of display: inline-block; overflow: hidden
visible.
2014-10-13 08:03:34 -07:00
Simon Sapin
68b11a4447
Update reftests for UA stylesheet changes.
2014-10-13 12:38:07 +01: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
5b72087944
Add #[privatize] to allow enforcing private fields for struct definitions
2014-10-13 11:13:12 +02:00
Mike Blumenkrantz
5bbce40efe
handle str::from_utf8() failure, improve return calls
2014-10-13 01:46:00 -04:00
bors-servo
c87f34f877
auto merge of #3615 : pcwalton/servo/box-sizing-fix, r=glennw
...
Improves GitHub significantly.
r? @glennw
2014-10-12 23:45:45 -06:00
Glenn Watson
a70850c261
Fix selection of fallback fonts. Fixes monospace fonts in rust guide.
...
Previously, any font template that could not be found would return
an item from the last resort font family. Now, the last resort font
family is only searched if the entire list of supplied font families
is empty.
2014-10-13 15:39:53 +10:00
Mike Blumenkrantz
62deac9346
use enc.len() for cef_string_utf8_to_utf16 conversion size
2014-10-13 01:32:32 -04:00
Mike Blumenkrantz
cb5d7b98bf
remove rust-encoding usage from cef
2014-10-12 23:36:43 -04:00
Mike Blumenkrantz
f657e76e13
implement cef_string_utf16_to_utf8()
2014-10-12 06:00:01 -04:00
Mike Blumenkrantz
e794f856cf
implement cef_string_utf8_to_utf16()
2014-10-12 06:00:01 -04:00
Mike Blumenkrantz
ddbecf2882
use rust-encoding to correctly(?) set utf16 strings for cmdline args as expected
2014-10-12 06:00:01 -04:00
bors-servo
6317905342
auto merge of #3656 : Manishearth/servo/disable-type-change, r=Ms2ger
...
I haven't yet gotten to the root of this, but it's breaking the other PRs.
2014-10-12 01:48:42 -06:00
Manish Goregaokar
80efe37316
Disable html/semantics/forms/the-input-element/type-change-state.html.ini
2014-10-12 08:34:36 +05:30
Tim Taubert
5080c0d86e
Make Event::new take enumerated values instead of booleans ( fixes #3643 )
2014-10-11 16:57:00 +02:00
bors-servo
9dfd5e7fcd
auto merge of #3642 : Manishearth/servo/form-submit, r=jdm
...
This is missing a lot of parts, so it doesn't really make any real-world form submission work yet. It provides a skeleton on which the missing bits can be filled in.
What works:
- `<input>` elements except for `type=file`
- GET/POST methods
- URLencoded `enctype`s (default)
- Submission via `<form>.submit()` only
Stuff that needs to be done for most simple real-world cases to work:
- [Working text input](https://github.com/servo/servo/pull/3585 )
- Click handlers for `<submit>`
- Possibly `<textarea>` support
- Support for the other two enctypes (#3649 )
Todo:
- Correctly implement [planned navigation](https://html.spec.whatwg.org/multipage/forms.html#planned-navigation ) using `TrustedFormAddress` (#3648 )
- [Correctly implement form owners.](https://github.com/servo/servo/issues/3553 ) Requires html5ever and some discussion of the spec.
- `<input type=file>` support
- Image submit support
- Browsing contexts/targets
- Support for non-`<input>` controls
- Validation (?)
- Dirname (?)
2014-10-11 07:45:39 -06:00
Manish Goregaokar
ca2d5d328d
Update wpt expectations
2014-10-11 16:10:02 +05:30
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
bors-servo
e048f3f940
auto merge of #3639 : pcwalton/servo/rewrite-bloom-filter, r=zwarich
...
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 20:27:39 -06:00
Gilles Leblanc
b15860e531
Make sure reftests aren't passing because nothing == nothing
...
In the test harness, assert that the two images aren't all white.
Fixes #3481
2014-10-10 20:03:13 -04:00
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
bors-servo
878ece58da
auto merge of #3641 : Ms2ger/servo/wpt_20141010, r=Manishearth
2014-10-10 17:09:45 -06:00
Clark Gaebel
be6cde9322
Merge pull request #3638 from cgaebel/parallel-dom-traversal
...
Factors out DOM traversal, keeping the code in `parallel` free of traversal-specific logic.
2014-10-10 19:08:49 -04:00
Ms2ger
d06c95ee48
Update web-platform-tests.
2014-10-10 23:39:44 +02:00
Matt Brubeck
205067f10b
Merge pull request #3563 from mbrubeck/app2
...
Move windowing code out of compositor, take 2. r=larsberg
2014-10-10 13:12:37 -07:00
Clark Gaebel
24bff2416b
Factors out DOM traversal, keeping the code in parallel
free of traversal-specific logic.
...
DOM traversals and Flow traversals look very similar. This patch unifies them
with the preorder/postorder pattern. Hopefully, it also opens the door for writing
the traversal code only once, instead of the duplication we have today.
2014-10-10 14:55:18 -04:00
Matt Brubeck
77d32ee447
Move windowing code out of the compositor
...
This is mainly just moving code around, in preparation for further changes to
the "windowing" API.
2014-10-10 11:36:12 -07:00
bors-servo
bfb81a5d10
auto merge of #3637 : mbrubeck/servo/disable-link-style-reftest, r=pcwalton
2014-10-10 11:36:40 -06:00
Matt Brubeck
b9fab5d861
Disable failing reftest ( #3636 )
2014-10-10 10:34:23 -07:00
Simon Sapin
e9ebfb74fc
Rewrite the user-agent stysheet(s)
...
Based on https://html.spec.whatwg.org/multipage/rendering.html
rather than http://dev.w3.org/csswg/css2/grammar.html
2014-10-10 17:27:38 +01:00
Martin Robinson
ed2e679842
Add documentation about the scrolling model
2014-10-10 09:26:43 -07:00
Simon Sapin
1117d86b63
Add [foo=bar i] case-insensitive attribute selectors.
2014-10-10 14:29:24 +01: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