bors-servo
ba340ec71b
Auto merge of #5989 - pcwalton:font-color, r=jdm
...
Improves Hacker News.
r? @Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5989 )
<!-- Reviewable:end -->
2015-05-19 18:33:03 -05:00
Patrick Walton
7d9eda916b
script: Implement the color
attribute of the <font>
element.
...
Improves Hacker News.
2015-05-19 16:31:20 -07:00
bors-servo
acb9824229
Auto merge of #5993 - pcwalton:inline-block-percentage-widths, r=mbrubeck
...
Improves Twitter.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5993 )
<!-- Reviewable:end -->
2015-05-19 16:03:15 -05:00
Patrick Walton
d5ca1a18dc
layout: Support percentage widths in inline-blocks.
...
Improves Twitter.
2015-05-19 13:35:02 -07:00
bors-servo
16793d0e24
Auto merge of #6124 - pcwalton:inline-incremental-reflow, r=mbrubeck
...
r?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6124 )
<!-- Reviewable:end -->
2015-05-19 13:51:30 -05:00
bors-servo
0a737d90f2
Auto merge of #6120 - zmike:cmap, r=larsbergstrom
...
@larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6120 )
<!-- Reviewable:end -->
2015-05-19 13:10:44 -05:00
Patrick Walton
72f031e2a1
layout: Support inline incremental reflow, and stop reconstructing all
...
flows when mousing over the document.
This exposes more "jumpiness" on sites like Hacker News, but the bug
that causes it was pre-existing.
2015-05-19 11:08:27 -07:00
bors-servo
40dded8b3a
Auto merge of #6134 - Ms2ger:fetch, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6134 )
<!-- Reviewable:end -->
2015-05-19 12:13:37 -05:00
Ms2ger
fa4fe01757
Use snake case in fetch.
2015-05-19 17:41:31 +02:00
Ms2ger
4ca6325bad
Remove an unwrap() call in HTTP fetch.
2015-05-19 17:38:56 +02:00
Matt Brubeck
0048b4f2ab
Positioning fixes for RTL floats
2015-05-18 17:25:06 -07:00
Matt Brubeck
ec5c333347
Use the correct writing mode for Floats fields
...
Fixes #6113 (assertion failures caused by floats in mixed-direction pages).
2015-05-18 17:24:43 -07:00
bors-servo
913c5677ab
Auto merge of #6118 - Ryman:gh5856, r=pcwalton
...
Fixes #5856
This stops the panic, but the empty fragments tend to be non-empty if extended by `info.range_end_including_stripped_whitespace`, so I'm unsure if it's a requirement to include that instead of skipping for correctness? Perhaps there's a testcase needed for this behaviour?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6118 )
<!-- Reviewable:end -->
2015-05-18 16:19:34 -05:00
Mike Blumenkrantz
5ce23cd36c
update glutin repo ref
2015-05-18 12:26:46 -04:00
Kevin Butler
dcf91d9eba
Skip empty fragments when justifying inline fragments.
...
Fixes #5856
2015-05-18 16:03:13 +01:00
bors-servo
90aacf00f8
Auto merge of #5824 - KiChjang:http-fetch-spec, r=jdm
...
This is a work-in-progress for the implementation of HTTP fetch. Currently, it does not compile, as I haven't figured out how to solve the issues regarding borrows and lifetimes.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5824 )
<!-- Reviewable:end -->
2015-05-18 09:23:43 -05:00
Keith Yeung
450931a171
Implemented http fetch (partial #4576 )
2015-05-18 10:23:28 -04:00
Glenn Watson
b38557a7f0
Fix android logging since the rustup
2015-05-18 10:16:03 +10:00
bors-servo
0f1f71b56f
Auto merge of #6064 - nox:characterdata-overflow, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6064 )
<!-- Reviewable:end -->
2015-05-17 13:40:30 -05:00
Keith Yeung
ea2bc0023b
Made open event in WebScoket not cancelable ( fixes #6101 )
2015-05-18 00:35:23 +08:00
bors-servo
3934831da3
Auto merge of #6081 - mbrubeck:table-wrapper-rtl, r=pcwalton
...
Fixes #6006 . r? @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6081 )
<!-- Reviewable:end -->
2015-05-15 22:46:35 -05:00
bors-servo
9f2079f6ba
Auto merge of #6067 - Jinwoo-Song:backgroundclip, r=pcwalton
...
This property determines the background painting area, which determines the area
within which the background is painted.
Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-clip
Fixes #6066 .
r? @pcwalton
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6067 )
<!-- Reviewable:end -->
2015-05-15 22:05:05 -05:00
Jinwoo Song
a51d5de860
Implement 'background-clip' property in CSS3 Background
...
This property determines the background painting area, which determines the area
within which the background is painted.
Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-clip
Fixes #6066 .
2015-05-16 09:43:46 +09:00
Matt Brubeck
179a70b305
Fix layout of RTL tables in LTR flow
...
Fixes #6006 .
2015-05-15 17:03:51 -07:00
bors-servo
0898620902
Auto merge of #6070 - Ms2ger:clone, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6070 )
<!-- Reviewable:end -->
2015-05-15 12:15:39 -05:00
Ms2ger
0067cb2101
Remove some clones.
2015-05-15 17:52:53 +02:00
bors-servo
68d135e671
Auto merge of #6033 - Jinwoo-Song:boxsizing_paddingbox, r=pcwalton
...
Spec: http://dev.w3.org/csswg/css-ui/#valdef-box-sizing-padding-box
Currently, only Firefox is supporting this value.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6033 )
<!-- Reviewable:end -->
2015-05-15 09:42:18 -05:00
bors-servo
65c30224a1
Auto merge of #6043 - mukilan:get_root_element, r=Ms2ger
...
The [current implementation](http://mxr.mozilla.org/servo/source/components/script/dom/element.rs#666 ) is wrong as it always tries to cast the furthest ancestor into an element.
When the method is invoked on an element that is in the document tree, this will be the `Document` node, which is not an element. The ```last().map(ElementCast::to_temporary)``` returns Some(None) hence the method will return ```None```, while the correct behaviour is to return the ```html``` node.
This PR interprets the line ```"furthest ancestor element node of whatever node is being discussed"``` in the spec to mean ```"find the furthest ancestor that is an element node"```.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6043 )
<!-- Reviewable:end -->
2015-05-15 03:35:37 -05:00
bors-servo
8c40272824
Auto merge of #6046 - Jinwoo-Song:background_origin, r=pcwalton
...
This property determines the background positioning area, that is the position of
the origin of an image specified using the 'background-image' CSS property.
'background-origin' is ignored when background-attachment is fixed.
Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-origin
Fixes #6045 .
r? @pcwalton
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6046 )
<!-- Reviewable:end -->
2015-05-14 20:53:02 -05:00
bors-servo
a97f81b83d
Auto merge of #6016 - zmike:embedding-windowing, r=larsbergstrom
...
Depends on glutin PR #21
@glennw @larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6016 )
<!-- Reviewable:end -->
2015-05-14 20:06:04 -05:00
Jinwoo Song
b1b22c0c53
Implement 'background-origin' property in CSS3 Background
...
This property determines the background positioning area, that is the position of
the origin of an image specified using the 'background-image' CSS property.
'background-origin' is ignored when background-attachment is fixed.
Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-origin
Fixes #6045 .
2015-05-15 10:02:58 +09:00
Anthony Ramine
d0f62c7b73
Fix overflow in CharacterData
2015-05-15 01:59:59 +02:00
bors-servo
74ef5d6aa8
Auto merge of #6055 - pcwalton:paint-flashing, r=mbrubeck
...
r? @mbrubeck (or whoever)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6055 )
<!-- Reviewable:end -->
2015-05-14 18:00:52 -05:00
Patrick Walton
a0980091cf
gfx: Implement paint flashing, which will be useful for debugging
...
invalidation.
2015-05-14 15:45:41 -07:00
bors-servo
5bdf20e94e
Auto merge of #6054 - larsbergstrom:android_refixup, r=mbrubeck
...
It appears that https://github.com/servo/servo/pull/6012 reverted our attempts to update the android submodule - probably a bad rebase. This re-fixes it and also updates the debugging code to modern Rust.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6054 )
<!-- Reviewable:end -->
2015-05-14 16:56:25 -05:00
Lars Bergstrom
2521bc551b
Update the environment variable debug code for new Rust
2015-05-14 16:51:47 -05:00
bors-servo
8faa9f877d
Auto merge of #5902 - nox:length, r=jdm
...
Blocked by https://github.com/w3c/testharness.js/pull/124 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5902 )
<!-- Reviewable:end -->
2015-05-14 13:37:10 -05:00
bors-servo
5a737bae1a
Auto merge of #6049 - mbrubeck:position-rtl, r=pcwalton
...
`BaseFlow::position` is relative to the parent flow's margin box in the inline direction. We need to use the parent's `position` as the container size when translating it to physical coordinates, or we get incorrect results for non-LTR content.
r? @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6049 )
<!-- Reviewable:end -->
2015-05-14 12:52:27 -05:00
Anthony Ramine
d9619853e2
Fix length value of interface methods
2015-05-14 19:11:10 +02:00
Anthony Ramine
0e8bd5dd98
Partially implement getter of Document
2015-05-14 18:28:43 +02:00
Anthony Ramine
69220dfc10
Make HTMLFormElement name attribute use an atom
2015-05-14 18:28:42 +02:00
Anthony Ramine
70e67d5e11
Make HTMLImageElement name attribute use an atom
2015-05-14 18:28:40 +02:00
Anthony Ramine
b86672af0c
Implement HTMLAppletElement.name
2015-05-14 18:28:39 +02:00
Anthony Ramine
2176aab642
Import string_cache::Atom into the attributes' macros
2015-05-14 18:28:38 +02:00
Matt Brubeck
dc19806b15
Fix positioning of RTL blocks with margins.
...
`BaseFlow::position` is relative to the parent flow's margin box in the inline
direction. We need to use the parent's `position` as the container size when
translating it to physical coordinates, or we get incorrect results for
non-LTR content.
2015-05-14 09:23:15 -07:00
Mukilan Thiyagarajan
3c56c58e38
Fix implementation of Element::get_root_element
2015-05-14 18:22:28 +05:30
bors-servo
7bda431e61
Auto merge of #6044 - Ms2ger:cleanup, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6044 )
<!-- Reviewable:end -->
2015-05-14 07:16:42 -05:00
Ms2ger
d84c3e7a30
Fix some overlong lines.
2015-05-14 13:26:13 +02:00
Ms2ger
40a91d6227
Use HTMLDataListElementCast in HTMLFormElement.
2015-05-14 13:11:49 +02:00
Ms2ger
db61c54858
Remove an unused import.
2015-05-14 13:10:56 +02:00