bors-servo
5f6a740190
Auto merge of #5913 - glennw:bounding-rect, r=pcwalton
...
* Fix queries involving stacking contexts
* The code was double accumulating stacking context origins.
* Handle queries of inline elements.
* The node addresses being compared were incorrect (CharacterData vs. Span)
* Handle ScriptQuery reflows correctly.
* The layout task was skipping the compute absolute positions traversal, so failed before window.onload.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5913 )
<!-- Reviewable:end -->
2015-05-01 13:15:23 -05:00
Glenn Watson
a5a5214783
Various fixes to getClientBoundingRect()
...
* Fix queries involving stacking contexts
* The code was double accumulating stacking context origins.
* Handle queries of inline elements.
* The node addresses being compared were incorrect (CharacterData vs. Span)
* Handle ScriptQuery reflows correctly.
* The layout task was skipping the compute absolute positions traversal, so failed before window.onload.
2015-05-01 12:40:37 +10:00
Nicholas Nethercote
092507d23c
Add a profile_traits
crate to reduce compile times.
...
A rebuild after touching components/profile/mem.rs now takes 48 seconds (and
only rebuilds `profile` and `servo`) which is much lower than it used to be.
In comparison, a rebuild after touching components/profile_traits/mem.rs takes
294 seconds and rebuilds many more crates.
This change also removes some unnecessary crate dependencies in `net` and
`net_traits`.
2015-04-30 17:58:47 -07:00
bors-servo
88ed4e58e1
Auto merge of #5725 - pgonda:dispatch-mousedown-mouseup, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5725 )
<!-- Reviewable:end -->
2015-04-30 12:22:03 -05:00
Ms2ger
bbd7cac371
Run absolute position reftests as part of test-wpt.
2015-04-30 17:44:59 +02:00
Ms2ger
c55b52b69d
Sort the css tests in our wptrunner manifest.
2015-04-30 17:44:30 +02:00
Ms2ger
031d4f0c2c
Start running reftests with wptrunner.
...
CC #5618 .
2015-04-30 14:49:06 +02:00
bors-servo
9ff2587685
Auto merge of #5901 - Ms2ger:update-wptrunner, r=jgraham
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5901 )
<!-- Reviewable:end -->
2015-04-30 06:37:30 -05:00
Prabhjyot Singh Sodhi
1d0976c192
TextEncoder::Constructor should not trim whitespaces or lowercase labels #5900
...
Fixes #5900
2015-04-30 16:51:02 +05:30
bors-servo
15c4372a8b
Auto merge of #5839 - nox:range, r=Manishearth
...
The actual boundary points are behind a Rc<_> value to let nodes be able to store weak references to them in the future.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5839 )
<!-- Reviewable:end -->
2015-04-30 05:59:55 -05:00
Anthony Ramine
184fb7bd86
Implement base machinery of Range
...
The actual boundary points are behind a Rc<_> value to let nodes be able to store
weak references to them in the future.
2015-04-30 12:53:40 +02:00
Anthony Ramine
5386cb31d0
Enable range tests
2015-04-30 12:53:38 +02:00
bors-servo
2c17779440
Auto merge of #5896 - nox:stringifier-proxy, r=jdm
...
The proxy stringifiers called through {}.toString.call() (obj_toString) shouldn't use the stringifier.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5896 )
<!-- Reviewable:end -->
2015-04-30 04:33:32 -05:00
Ms2ger
0c85a84059
Update wptrunner.
2015-04-30 10:44:47 +02:00
Peter
c069d1753e
added dispatching for mousedown and mouseup events, fixes #5705
2015-04-29 21:32:18 -04:00
Ms2ger
14e48d959c
Update web-platform-tests to revision fef3eb9bbb033d1d7150f4c70ecc1a5f59bcf115
2015-04-29 22:07:51 +02:00
Anthony Ramine
3b82cba011
Implement trivial stringifiers
2015-04-29 19:07:09 +02:00
Matt Brubeck
50f982bb0c
Fix text-align left/right in RTL layout
2015-04-29 07:07:58 -07:00
Matt Brubeck
81e8f18662
Support text-align: start
and end
2015-04-29 07:07:58 -07:00
Ms2ger
107e57809d
Add a non-ASCII test to CharacterData-deleteData.html.
2015-04-28 23:40:04 +02:00
Ms2ger
de12dc814a
Rewrite CharacterData-deleteData.html to be more extensible.
2015-04-28 23:40:01 +02:00
Ms2ger
6efab116e7
Add a non-ASCII test to CharacterData-insertData.html.
2015-04-28 23:39:59 +02:00
Ms2ger
61e8351f28
Rewrite CharacterData-insertData.html to be more extensible.
2015-04-28 23:39:56 +02:00
Ms2ger
51b06bcbaf
Test a non-ASCII argument to CharacterData#appendData.
2015-04-28 23:39:54 +02:00
Ms2ger
173c9721c5
Extend semantics/interfaces.html.
2015-04-28 23:39:52 +02:00
Ms2ger
474a4a5dcb
Make semantics/interfaces.html more extensible.
2015-04-28 23:39:47 +02:00
Ms2ger
f69a315123
Remove createElement_script.html.
...
This test is coevered by old-tests/submission/Opera/script_scheduling/016.html
in web-platform-tests.
2015-04-28 23:39:45 +02:00
bors-servo
b6fc83cf2b
Auto merge of #5887 - pcwalton:border-collapse-missing-cells, r=mbrubeck
...
This was seen in Twitter and the Google SERPs (sometimes).
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5887 )
<!-- Reviewable:end -->
2015-04-28 15:32:31 -05:00
Patrick Walton
577f1ea109
layout: Don't panic in border collapse when a row has fewer cells than
...
its previous sibling.
This was seen in Twitter and the Google SERPs (sometimes).
2015-04-28 13:16:01 -07:00
Matt Brubeck
cad5d8b670
Ignore border-spacing for tables with zero cells
2015-04-28 10:30:47 -07:00
bors-servo
32b9c0962b
Auto merge of #5831 - pcwalton:amazon-table-sizing, r=mbrubeck
...
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5831 )
<!-- Reviewable:end -->
2015-04-28 11:44:39 -05:00
Patrick Walton
44a30054a1
layout: Make margin: auto
work properly with tables.
...
Improves the Amazon home page.
2015-04-28 09:26:08 -07:00
bors-servo
ae98f76048
Auto merge of #5883 - servo:dialog, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5883 )
<!-- Reviewable:end -->
2015-04-28 10:56:06 -05:00
Dave Hodder
50ea68206d
Add attributes to the HTMLDialogElement interface.
2015-04-28 17:47:37 +02:00
bors-servo
01925f0f8f
Auto merge of #5845 - snf:defineProperty_fix, r=jdm
...
This patch should get rid of #5223 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5845 )
<!-- Reviewable:end -->
2015-04-28 07:51:31 -05:00
bors-servo
2fd5ecf3d7
Auto merge of #5694 - pcwalton:anonymous-table-objects, r=mbrubeck
...
Improves Facebook Timeline.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5694 )
<!-- Reviewable:end -->
2015-04-28 07:13:53 -05:00
bors-servo
adec683333
Auto merge of #5878 - pcwalton:intrinsic-style-specified-width, r=mbrubeck
...
Improves the front page of Google.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5878 )
<!-- Reviewable:end -->
2015-04-28 05:02:32 -05:00
bors-servo
cac6ef8077
Auto merge of #5874 - nox:hasfeature, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5874 )
<!-- Reviewable:end -->
2015-04-28 01:30:51 -05:00
Patrick Walton
a92baf7683
layout: Make the style-specified width affect minimum width.
...
Improves the front page of Google.
2015-04-27 18:32:28 -07:00
snf
cdcd6670ba
fix defineproperty for cases with namedsetter
2015-04-27 23:47:22 +01:00
Patrick Walton
f0954f8799
layout: Generate anonymous table objects as necessary per CSS 2.1 §
...
17.2.1.
Improves Facebook Timeline.
2015-04-27 14:12:44 -07:00
Anthony Ramine
6e75889e41
Fix DOMImplementation.hasFeature()
2015-04-27 23:11:53 +02:00
bors-servo
9ec2ce0dec
Auto merge of #5868 - nox:document-legacy, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5868 )
<!-- Reviewable:end -->
2015-04-27 13:06:29 -05:00
bors-servo
8a4555cc53
Auto merge of #5870 - SimonSapin:border-collapse, r=SimonSapin
...
Fixes #5300 , which it is a rebase of.
Known issues:
* Collapsed borders do not correctly affect the border-box of the table
itself.
* The content widths of all cells in a column and the content height of
all cells in a row is the same in this patch, but not in Gecko and
WebKit.
* Corners are not painted well. The spec does not say what to do here.
* Column spans are not handled well. The spec does not say what to do
here either.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5870 )
<!-- Reviewable:end -->
2015-04-27 12:29:15 -05:00
Ms2ger
93b883e1db
Update web-platform-tests to revision acdb8bf3e4714528b6b5f9ff038dc80ee4fb7dcf
2015-04-27 18:48:44 +02:00
Patrick Walton
48299a53cb
layout: Implement most of border-collapse
per CSS 2.1 § 17.6.2.
...
Known issues:
* Collapsed borders do not correctly affect the border-box of the table
itself.
* The content widths of all cells in a column and the content height of
all cells in a row is the same in this patch, but not in Gecko and
WebKit.
* Corners are not painted well. The spec does not say what to do here.
* Column spans are not handled well. The spec does not say what to do
here either.
2015-04-27 17:12:07 +02:00
Anthony Ramine
16973624c8
Implement Body.bgColor and Document.bgColor
2015-04-27 15:28:37 +02:00
bors-servo
50eb08bcf7
Auto merge of #5841 - jdm:compositeopflaky, r=Ms2ger
...
...further investigation.
#5803 has been frustrating recently.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5841 )
<!-- Reviewable:end -->
2015-04-25 09:45:04 -05:00
Josh Matthews
43ec47fa6e
Disable canvas_compositing_globalcompositeoperation_001-ref.htm pending further investigation.
2015-04-25 10:34:09 -04:00
bors-servo
1f9de5ee2c
Auto merge of #5779 - nox:css-escape, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5779 )
<!-- Reviewable:end -->
2015-04-25 05:42:41 -05:00