Eli Friedman
69ca066802
Fully implement the "align descendants" rule for div.
...
This adds -servo-left and -servo-right to complement -servo-center.
This intentionally doesn't try to address issue #7301 .
2015-10-02 12:53:20 -07:00
bors-servo
0c64e4a2c9
Auto merge of #7764 - j3parker:input-caret-only-for-text, r=pcwalton
...
Only display text carets in text inputs
For #7756
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7764 )
<!-- Reviewable:end -->
2015-09-29 14:13:32 -06:00
bors-servo
d92e781a87
Auto merge of #7778 - paulrouget:decorationLessOption, r=jdm
...
Add a command line option to disable native titlebar
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7778 )
<!-- Reviewable:end -->
2015-09-29 13:45:57 -06:00
bors-servo
c356593fd3
Auto merge of #7582 - paulrouget:navigator.platform, r=jdm
...
implement navigator.platform
Fix #7573
I used this as a reference: http://stackoverflow.com/questions/19877924/what-is-the-list-of-possible-values-for-navigator-platform-as-of-today
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7582 )
<!-- Reviewable:end -->
2015-09-29 11:42:45 -06:00
Paul Rouget
5be60f2c79
Add a command line option to disable native titlebar
2015-09-29 08:50:39 +02:00
Paul Rouget
132724be2b
implement navigator.platform
2015-09-29 08:14:30 +02:00
bors-servo
ed0d70e234
Auto merge of #7775 - frewsxcv:tracking-issue, r=jdm
...
Link to 'ask for a reset' tracking issue
FIXME added in https://github.com/servo/servo/pull/7745
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7775 )
<!-- Reviewable:end -->
2015-09-28 21:34:19 -06:00
bors-servo
e68bd8d4ff
Auto merge of #7771 - mbrubeck:rtl-stacking-context, r=pcwalton
...
Use the correct container size in compute_overflow
Fixes #7768 - positioning of RTL stacking contexts. r? @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7771 )
<!-- Reviewable:end -->
2015-09-28 18:57:08 -06:00
Corey Farwell
2c67f89e9d
Link to 'ask for a reset' tracking issue
...
FIXME added in https://github.com/servo/servo/pull/7745
2015-09-28 18:45:55 -04:00
bors-servo
8547d132f9
Auto merge of #7745 - frewsxcv:html-option-element-selected, r=nox
...
Implement <option> 'defaultSelected' and 'selected' attributes
Continued from #7743
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7745 )
<!-- Reviewable:end -->
2015-09-28 15:46:48 -06:00
bors-servo
0fc9410f10
Auto merge of #7275 - KiChjang:fetch-refactor, r=jdm
...
Initial fetch refactor
Partial #4576
I am really unsure of how things would look like, so would really appreciate some feedback on this.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7275 )
<!-- Reviewable:end -->
2015-09-28 13:59:08 -06:00
Keith Yeung
ecf02a3656
Initial fetch refactor
2015-09-28 12:24:15 -07:00
bors-servo
a72d7a4f52
Auto merge of #7760 - aopicier:form_getter, r=Manishearth
...
Add form getters for additional elements; update test expectations
This adds form getters for fieldset, label, object, output, select and
textarea elements.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7760 )
<!-- Reviewable:end -->
2015-09-28 13:23:18 -06:00
Matt Brubeck
441cc479a3
Use the correct container size in compute_overflow
...
Fixes #7768 - positioning of RTL stacking contexts.
2015-09-28 11:57:40 -07:00
bors-servo
076f44a02d
Auto merge of #7769 - mbrubeck:notify-linux2, r=frewsxcv
...
Fix build notifications in Python 2.x on Linux
In Python 2.x on Linux, `sys.platform == 'linux2'`.
https://docs.python.org/2/library/sys.html#sys.platform
r? @frewsxcv
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7769 )
<!-- Reviewable:end -->
2015-09-28 12:47:29 -06:00
bors-servo
7933b48430
Auto merge of #7596 - pcwalton:async-web-font-loading, r=mbrubeck
...
layout: Load Web fonts asynchronously.
Improves page load times significantly.
Closes #7343 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7596 )
<!-- Reviewable:end -->
2015-09-28 12:11:50 -06:00
bors-servo
007c22737d
Auto merge of #7766 - glennw:au-tidy, r=pcwalton
...
A few clean ups for Au type
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7766 )
<!-- Reviewable:end -->
2015-09-28 11:35:04 -06:00
Philipp Hartwig
e6ea7b0feb
Update test expectations for additional form getters
2015-09-28 19:29:47 +02:00
Matt Brubeck
aa7e9ddb73
Fix build notifications in Python 2.x on Linux
...
In Python 2.x on Linux, `sys.platform == 'linux2'`.
https://docs.python.org/2/library/sys.html#sys.platform
2015-09-28 10:01:29 -07:00
Glenn Watson
5684a75187
A few clean ups for Au type
2015-09-28 16:05:16 +10:00
bors-servo
7a3d2c8cb4
Auto merge of #7765 - pcwalton:less-ambitious-low-hanging-dromaeo-fruit, r=jdm
...
script: Stop reallocating so much when converting DOM strings to JS values.
This is split out from #6900 .
`size_hint()` in `utf16_units()` seems busted, so we do it ourselves.
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7765 )
<!-- Reviewable:end -->
2015-09-27 17:47:38 -06:00
Jacob Parker
9cf43877f2
Only display text carets in text inputs
2015-09-27 19:23:20 -04:00
bors-servo
45a0c48efd
Auto merge of #7711 - aopicier:root_layout, r=pcwalton
...
Use computed `display` property for hypothetical box of root element
Closes #7558 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7711 )
<!-- Reviewable:end -->
2015-09-27 17:03:58 -06:00
Patrick Walton
f2f91886ee
script: Stop reallocating so much when converting DOM strings to JS
...
values.
`size_hint()` in `utf16_units()` seems busted, so we do it ourselves.
2015-09-27 15:40:48 -07:00
Patrick Walton
1892b27daf
layout: Do a couple of minor style cleanups.
2015-09-27 15:38:22 -07:00
Patrick Walton
9bb6acd690
layout: Load Web fonts asynchronously.
...
Improves page load times significantly.
Closes #7343 .
2015-09-27 15:38:20 -07:00
Philipp Hartwig
8d67914c7f
Add form getters for additional elements; update test expectations
...
This adds form getters for fieldset, label, object, output, select and
textarea elements.
2015-09-27 19:08:53 +02:00
bors-servo
9523283c14
Auto merge of #7643 - jdramani:extra_ptr_dref, r=jdm
...
Check for Extra pointer dereferencing
Solves issue #7640
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7643 )
<!-- Reviewable:end -->
2015-09-27 08:19:30 -06:00
bors-servo
a1fb8cfbb0
Auto merge of #7752 - tamird:fix-osx-notifications, r=nox
...
mach: fix OS X notifications
Since mach now puts everything into a virtualenv, we need to set the bundle identifier to allow sending notifications.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7752 )
<!-- Reviewable:end -->
2015-09-27 07:35:50 -06:00
bors-servo
599fd0094b
Auto merge of #7754 - Jayflux:#7744, r=nox
...
changing test_union.html to union.html fixes #7744
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7754 )
<!-- Reviewable:end -->
2015-09-27 06:25:42 -06:00
Jayflux
e6442767ed
changing test_union.html to union.html fixes #7744
2015-09-27 11:15:48 +01:00
Jaydeep
2a99915188
Check for Extra pointer dereferencing. Issue #7640 .
2015-09-26 19:33:29 -07:00
Tamir Duberstein
b6bbd75479
mach: fix OS X notifications
2015-09-26 16:14:45 -04:00
Corey Farwell
dec0031112
Implement <option> 'defaultSelected' and 'selected' attributes
...
Continued from #7743
2015-09-26 15:38:54 -04:00
bors-servo
37ce248f31
Auto merge of #7733 - nox:checked, r=Manishearth
...
Properly consider radio button groups
Radio button groups with missing or empty names are always the only element of their respective radio button group.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7733 )
<!-- Reviewable:end -->
2015-09-26 11:21:11 -06:00
bors-servo
d4f5948294
Auto merge of #7746 - eefriedman:debug-dead-code, r=nox
...
Delete dead code.
(#[cfg(debug)] is false in every normal servo configuration, and the
code in question doesn't compile.)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7746 )
<!-- Reviewable:end -->
2015-09-26 10:45:51 -06:00
bors-servo
500d509865
Auto merge of #7747 - frewsxcv:bgcolor, r=Ms2ger
...
Imlement 'bgcolor' IDL attrs for table elements
The content attributes and presentational hints were implemented in
the #4289 pull request. This just implements the relevant IDL
attributes.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7747 )
<!-- Reviewable:end -->
2015-09-26 10:02:43 -06:00
Corey Farwell
a844b080d6
Imlement 'bgcolor' IDL attrs for table elements
...
The content attributes and presentational hints were implemented in
the #4289 pull request. This just implements the relevant IDL
attributes.
2015-09-26 10:15:58 -04:00
Eli Friedman
f0da2a3701
Delete dead code.
...
(#[cfg(debug)] is false in every normal servo configuration, and the
code in question doesn't compile.)
2015-09-26 00:23:03 -07:00
bors-servo
d39c8546b6
Auto merge of #7742 - mbrubeck:update-bidi, r=Manishearth
...
Update unicode-bidi to 0.2.2
Fixes #7701 via servo/unicode-bidi#17 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7742 )
<!-- Reviewable:end -->
2015-09-25 14:23:50 -06:00
Matt Brubeck
5667dfe7b0
Update unicode-bidi to 0.2.2
...
Fixes #7701 via servo/unicode-bidi#17 .
2015-09-25 13:01:53 -07:00
bors-servo
b7c003f158
Auto merge of #7741 - Wafflespeanut:warning_fix, r=jdm
...
fixed the deprecated `as_slice` warning...
I've put its original implementation from [`core/option.rs`](http://doc.servo.org/src/core/option.rs.html#692 ) instead of the dear departed `as_slice`
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7741 )
<!-- Reviewable:end -->
2015-09-25 13:47:37 -06:00
Ravi Shankar
35d7ced89e
fixed the 'as_slice' deprecated warning
2015-09-26 00:51:04 +05:30
bors-servo
8027777e24
Auto merge of #7497 - psdh:devtest7473, r=jdm
...
tests for devtools integration with network requests/responses
Fixes #7473
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7497 )
<!-- Reviewable:end -->
2015-09-25 11:35:57 -06:00
bors-servo
0f8c1b4601
Auto merge of #7682 - ecoal95:webgl-texture2d, r=jdm
...
webgl: Support texImage2D with a canvas as an argument
This involved some refactoring of the 2d context code, which lead to some more test passed there.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7682 )
<!-- Reviewable:end -->
2015-09-25 10:52:52 -06:00
Emilio Cobos Álvarez
17a9472745
webgl: Add test for passing a canvas with no context as texture source
2015-09-25 18:47:37 +02:00
Prabhjyot Singh Sodhi
920bb5e4b8
tests for devtools integration with network requests/responses
2015-09-25 22:07:01 +05:30
Emilio Cobos Álvarez
90775a7595
script: Return a white bitmap if the canvas has a size but no context
2015-09-25 18:10:50 +02:00
Emilio Cobos Álvarez
d12dbf94f2
Refactor if let Some(a) { Some(b) } else { None }
...
Prefer `Option::map` instead.
2015-09-25 16:34:08 +02:00
Emilio Cobos Álvarez
5d7d745ab4
webgl: Add tests for canvas texturing
2015-09-25 16:20:31 +02:00