Josh Matthews
abca00009c
Add z-index support.
2014-12-18 12:54:02 -05:00
Glenn Watson
037f6c2cae
Rebase and update new css properties.
2014-12-18 12:54:02 -05:00
Glenn Watson
442c28d9f7
Fixups for rust upgrade and jsref changes.
2014-12-18 12:54:02 -05:00
Josh Matthews
5ca61c00b9
Add a ton of properties and improve a bunch of serialization.
2014-12-18 12:54:02 -05:00
Josh Matthews
755ebd6528
Improve color serialization by retaining author-specified keywords.
2014-12-18 12:54:02 -05:00
Josh Matthews
6f8a9b6d46
Implement setting element style properties. Improve serialization to return initial values when unspecified.
2014-12-18 12:54:02 -05:00
Josh Matthews
505e1855a3
Implement something like CSS value serialization. Fetch actual inline style declarations from owning elements.
2014-12-18 12:54:02 -05:00
Josh Matthews
2e14b653bf
Add a style property to HTMLElement.
2014-12-18 12:54:02 -05:00
Josh Matthews
2cfa8e85a6
Stub in some uses of getPropertyValue and sketch out its implementation.
2014-12-18 12:54:02 -05:00
Josh Matthews
4da0ca8ace
Add stub CSS2Properties type.
2014-12-18 12:54:02 -05:00
Cameron Zwarich
1c5d58180d
Add the basic CSSStyleDeclaration CSSOM interface.
...
This just includes the .webidl file (with some of the functionality
commented out) and the stub implementations for the bindings.
This is another step towards #1721 .
2014-12-18 12:54:02 -05:00
Simon Sapin
7be30dee8e
Fix some writing mode mismatch assertions errors.
...
The rendering is still wrong beause of #2795 , but at least we get a rendering.
(This test change is just for readability, it should be equivalent to before.)
2014-12-18 17:15:51 +00:00
Tetsuharu OHZEKI
135ee60f5a
style: Remove glob imports added in #4405
2014-12-19 01:49:24 +09:00
bors-servo
7df37847d3
auto merge of #4416 : mattnenterprise/servo/fire-timer-clone, r=jdm
...
I tested that it worked correctly by using running './mach run tests/html/test_timeout.html' and making sure the timers went off.
2014-12-18 09:39:56 -07:00
Matt McCoy
e4b029623f
This fixes #4407 . This removes all unnecessary clones when calling fire_timer.
2014-12-18 10:57:15 -05:00
Tetsuharu OHZEKI
a590012322
gfx: Remove glob imports added in #4405
2014-12-19 00:54:50 +09:00
Tetsuharu OHZEKI
07b1c0e652
net: Remove glob imports added in #4405
2014-12-19 00:47:09 +09:00
bors-servo
d7f38a8973
auto merge of #4412 : mbrubeck/servo/fixed-layer-resize, r=mrobinson
...
This fixes a bug where fixed-position layers are not repositioned when the
window is resized. This can be reproduced with any `position: fixed` element with a `right` or `bottom` position. I'm not sure how to reftest this, though.
r? @mrobinson
2014-12-18 08:06:54 -07:00
Matt Brubeck
8dd1a363cb
Update layer bounds on resize
...
This fixes a bug where fixed-position layers are not repositioned when the
window is resized.
2014-12-18 07:02:14 -08:00
bors-servo
eea49ee1d9
auto merge of #4420 : servo/servo/fix-warnings, r=Ms2ger
2014-12-18 04:42:50 -07:00
Simon Sapin
bf4480bb79
Simplify util::range::RangeIndex to always require std::num::Int,
...
and fix remaining warnings.
2014-12-18 11:34:23 +00:00
Simon Sapin
e689f9c160
Remove usage of deprecated HashMap::get_copy
2014-12-18 11:17:09 +00:00
Simon Sapin
084a63df45
Remove usage of the deprecated std::num::Zero trait.
2014-12-18 11:16:47 +00:00
Simon Sapin
32c721e640
Have 'mach build' pass arbitrary arguments to Cargo.
...
Duplicating all of Cargo’s argument parsing in mach is silly.
2014-12-18 11:15:42 +00:00
Ms2ger
e2b75670bd
Rename the PrototypeList enums to fix case build warnings.
2014-12-18 10:33:57 +01:00
bors-servo
d7b3900431
auto merge of #4419 : glennw/servo/fix-glutin-esc, r=metajack
2014-12-18 01:00:57 -07:00
bors-servo
e2267e0a07
auto merge of #4358 : pcwalton/servo/cursor, r=mbrubeck
...
I'm not sure how we want to handle Linux cursors, and GLFW has no
ability to set cursors (short of disabling it and managing it yourself).
If you test this in the wild you will probably hit #4357 until that PR lands.
2014-12-18 00:24:49 -07:00
Patrick Walton
7371e0b8e3
compositing: Implement cursor
per CSS3-UI § 8.1.1 in the CEF/Mac port.
...
I'm not sure how we want to handle Linux cursors, and GLFW has no
ability to set cursors (short of disabling it and managing it yourself).
2014-12-17 22:58:52 -08:00
bors-servo
6eb9ae1eff
auto merge of #4404 : pcwalton/servo/caption-side, r=mbrubeck
...
`caption-side` is used by 4% of pages by number of loads.
r? @mbrubeck
2014-12-17 23:57:52 -07:00
Patrick Walton
a3f6f4e75b
layout: Implement caption-side
per CSS 2.1 § 17.4.1.
...
`caption-side` is used by 4% of pages by number of loads.
2014-12-17 22:06:14 -08:00
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