bors-servo
66c20b2ced
Auto merge of #10557 - emilio:inline-block-max-width, r=pcwalton
...
layout: Take in account max and min inline size for inline fragments
Improves MDN.
r? @mbrubeck or @pcwalton
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10557 )
<!-- Reviewable:end -->
2016-04-14 00:09:52 +05:30
Josh Matthews
dd5e28e0e6
Do not support XHR.responseXML in worker globals. Fixes #8931 .
2016-04-13 13:56:07 -04:00
bors-servo
9053721a32
Auto merge of #10558 - frewsxcv:tr-SectionRowIndex, r=KiChjang
...
Implement `sectionRowIndex` property on `<tr>`.
Fixes https://github.com/servo/servo/issues/10509 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10558 )
<!-- Reviewable:end -->
2016-04-13 19:33:26 +05:30
bors-servo
3ad1b9134f
Auto merge of #10512 - KiChjang:base-element-attr, r=Ms2ger
...
Implement HTMLBaseElement attributes
The remaining test failure in `base_multiple.html` looks like there's a problem with the test itself (it does not have a `<base>` tag at all).
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10512 )
<!-- Reviewable:end -->
2016-04-13 18:51:42 +05:30
Keith Yeung
4a1eb47937
Implement HTMLBaseElement attributes
2016-04-13 08:57:17 -04:00
Josh Matthews
fa42b452a0
Use origin for document.domain.
2016-04-13 12:07:04 +02:00
Emilio Cobos Álvarez
3d4aa46bcf
layout: tests: Add tests for max/min inline block size
...
And update existing expectations
2016-04-13 05:44:27 +02:00
Corey Farwell
0ee9521848
Implement sectionRowIndex
property on <tr>
.
...
Fixes https://github.com/servo/servo/issues/10509 .
2016-04-12 23:17:20 -04:00
bors-servo
7e63c1be63
Auto merge of #10486 - notriddle:overflow_premature_clip, r=pcwalton
...
Take transform:translate into account when computing clipping regions.
Note that this only works for translation; a more general fix would
require major changes to how display lists work.
Closes #10431 ?
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10486 )
<!-- Reviewable:end -->
2016-04-13 07:12:38 +05:30
bors-servo
9fb5703c6d
Auto merge of #10510 - frewsxcv:rowindex, r=KiChjang
...
Implement `rowIndex` property on `<tr>`.
Part of https://github.com/servo/servo/issues/10509 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10510 )
<!-- Reviewable:end -->
2016-04-13 04:25:20 +05:30
Michael Howell
6c9efbf383
Take transform:translate into account when computing clipping regions.
...
Note that this only works for translation; a more general fix would
require major changes to how display lists work.
Closes #10431 ?
2016-04-12 14:39:13 -07:00
bors-servo
421dcc92f0
Auto merge of #10538 - izgzhen:performance_timing, r=Ms2ger
...
Improve PerformanceTiming Interface
Solving https://github.com/servo/servo/issues/10428
- Fix timing precision in old `update_with_current_time`
- Correct time unit in `navigation_start`
- Add `LoadEventStart` and `LoadEventEnd` timing properties
There are still many properties left unimplemented. I tend to leave the for future PRs.
Welcome comments!
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10538 )
<!-- Reviewable:end -->
2016-04-13 01:45:10 +05:30
bors-servo
85f4e58285
Auto merge of #10543 - jdm:imageload, r=jdm
...
Implement image request concept for HTMLImageElement. Implement HTMLI…
…mageElement.currentSrc.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10543 )
<!-- Reviewable:end -->
2016-04-13 01:04:28 +05:30
Corey Farwell
23eb15c820
Implement rowIndex
property on <tr>
.
...
Part of https://github.com/servo/servo/issues/10509 .
2016-04-12 14:58:17 -04:00
akhan7
90359b1cba
Implement image request concept for HTMLImageElement. Implement HTMLImageElement.currentSrc.
2016-04-12 14:11:31 -04:00
Zhen Zhang
7169a08a34
fix performance timing precision and navigation_start unit; add LoadEventStart and LoadEventEnd timing
2016-04-13 01:30:02 +08:00
Yoav Alon
5e3dcae71f
Implement the table section IDL attributes for HTML tables
2016-04-12 18:35:55 +03:00
Ms2ger
299ad0f9d0
Update web-platform-tests to revision d011702f368b88b3bae86e7a8fd2ddd22e18b33c
2016-04-12 10:47:32 +02:00
bors-servo
f9608022ca
Auto merge of #10535 - frewsxcv:hr-align, r=mbrubeck
...
Implement 'align' IDL attribute on '<hr>'.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10535 )
<!-- Reviewable:end -->
2016-04-12 11:18:14 +05:30
bors-servo
61865f66b5
Auto merge of #10505 - amarant:10491-HTMLInputElement-attr, r=KiChjang
...
Issue #10491 add HTMLInputElement attributes that reflect content ide…
…ntically
it uses a new version of string-cache https://github.com/servo/string-cache/pull/148
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10505 )
<!-- Reviewable:end -->
2016-04-12 05:58:16 +05:30
bors-servo
f0014bd9cd
Auto merge of #10224 - emilio:shader-type-validations, r=jdm
...
webgl: Add attribute validations and other nits
Fixes https://github.com/servo/servo/issues/9958
Depends on a bunch of prs, and needs a test.
r? @jdm
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10224 )
<!-- Reviewable:end -->
2016-04-12 05:18:49 +05:30
Corey Farwell
3ebf43af3a
Add WPT test for 'align' attribute on '<hr>'.
2016-04-11 19:47:44 -04:00
Corey Farwell
bd74844537
Implement 'align' IDL attribute on '<hr>'.
2016-04-11 19:46:57 -04:00
bors-servo
65120756c0
Auto merge of #10493 - pcwalton:inline-font-size-zero, r=mbrubeck
...
gfx: Clamp the font size we supply to Core Text to 0.01pt.
Core Text treats a font size of 0.0 as 12.0, which is obviously not what
we want.
Improves Twitter.
Improves Reddit /r/rust.
Closes #10492 .
r? @mbrubeck
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10493 )
<!-- Reviewable:end -->
2016-04-12 04:39:37 +05:30
Arnaud Marant
9b8f183cba
Issue #10491 add HTMLInputElement attributes that reflect content identically
...
it uses a new version of string-cache https://github.com/servo/string-cache/pull/148
2016-04-12 00:15:57 +02:00
Daniel Robertson
3580f91291
Implement flexbox reordering
...
Add style property for order and implement reordering by this property
in flex flow. Based on previous work by @zentner-kyle.
2016-04-11 16:55:16 -04:00
Patrick Walton
18fbf8cf30
gfx: Clamp the font size we supply to Core Text to 0.01pt.
...
Core Text treats a font size of 0.0 as 12.0, which is obviously not what
we want.
Improves Twitter.
Improves Reddit /r/rust.
Closes #10492 .
2016-04-11 13:52:41 -07:00
bors-servo
608533cb4a
Auto merge of #10490 - danlrobertson:correct-size, r=SimonSapin
...
Add tests and clean up `FlexFlow::(block|inline)_mode_assign_inline_sizes`
Clean up `block_mode_assign_inline_sizes` and `inline_mode_assign_inline_sizes` and add extra css tests.
r? @SimonSapin
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10490 )
<!-- Reviewable:end -->
2016-04-11 22:11:07 +05:30
bors-servo
3b7e426d33
Auto merge of #10485 - ConnorGBrewster:navigator_plugins, r=Ms2ger
...
Implement stub for NavigatorPlugins
This PR implements stub for NavigatorPlugins as outlined in #9991 .
r? @jdm
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10485 )
<!-- Reviewable:end -->
2016-04-11 21:17:16 +05:30
Connor Brewster
e83d29a7eb
Implemented stub for NavigatorPlugins
2016-04-11 09:14:46 -06:00
bors-servo
07304235cc
Auto merge of #10502 - KiChjang:fix-open-url-base, r=Ms2ger
...
Add API base url method to global objects
This adds an `api_base_url` function to global objects, which fixes `open-url-base.htm` under XMLHttpRequest.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10502 )
<!-- Reviewable:end -->
2016-04-11 17:57:02 +05:30
Keith Yeung
c75079eff3
Add API base url method to global objects
2016-04-11 07:49:31 -04:00
shubham_jain
6626c5cfd4
issue #10141 : Document::location set null for documents without a browsing context. r=Ms2ger
2016-04-09 22:54:07 +05:30
bors-servo
32e53b80e2
Auto merge of #10086 - KiChjang:table-rows, r=Manishearth
...
Implement HTMLTableElement#rows
Fixes #8084 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10086 )
<!-- Reviewable:end -->
2016-04-09 16:36:40 +05:30
Shiroy
ee9bb1f3c6
Avoid script execution when not found
...
Fix #8391
2016-04-09 09:57:35 +02:00
Daniel Robertson
e0454e0b65
Add tests and clean up *_mode_assign_inline_sizes
...
Clean up block_mode_assign_inline_sizes and
inline_mode_assign_inline_sizes and add extra css tests.
2016-04-09 01:13:30 -04:00
bors-servo
c191dff04e
Auto merge of #10361 - mbrubeck:empty-caret, r=pcwalton
...
Fixes for insertion point caret rendering
This contains several fixes for the code to position and render the insertion point. The main effect is that the insertion point is now rendered correctly when in an empty input field. See the individual commit messages for more detais. r? @pcwalton
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10361 )
<!-- Reviewable:end -->
2016-04-08 06:01:17 +05:30
bors-servo
c0aa049b0a
Auto merge of #9688 - KiChjang:worker-terminate, r=jdm
...
Implement Worker#terminate() (fixes #4427 ).
Adds support for terminating DOM workers. A closing flag was added to
WorkerGlobalScope per the spec.
Rebased #6652 , with some comments addressed.
Fixes #4427 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9688 )
<!-- Reviewable:end -->
2016-04-08 05:01:18 +05:30
Matt Brubeck
e72ae2c25a
Basic insertion point reftest
2016-04-07 16:09:44 -07:00
Matt Brubeck
32aad0838e
Draw insertion point even for empty input fields
...
This allows text layout to generate an empty text fragment if the fragment
contains the insertion point for a text input box.
2016-04-07 16:09:35 -07:00
Joe Wilm
229b176321
Implement Worker#terminate() ( fixes #4427 ).
...
Adds support for terminating DOM workers. A closing flag was added to
WorkerGlobalScope per the spec.
2016-04-07 18:54:32 -04:00
Keith Yeung
54f139c5cf
Implement HTMLTableElement#rows
2016-04-07 18:37:42 -04:00
bors-servo
eda8784c34
Auto merge of #10438 - KiChjang:text-decoration-fix, r=mbrubeck
...
Properly inherit text decorations
Fixes #8684 .
Fixes #8783 .
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10438 )
<!-- Reviewable:end -->
2016-04-08 03:39:41 +05:30
Keith Yeung
b8971867f8
Properly inherit text decorations
2016-04-07 17:16:45 -04:00
Ms2ger
7deaeea707
Update CSS tests to revision aac1cd51245c0c469325988a0446985a2f1e476c
2016-04-07 15:10:43 +02:00
bors-servo
c631fcf96f
Auto merge of #10388 - autrilla:dom-legend-form, r=emilio
...
Added .form property for legend tag
r? @emilio
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10388 )
<!-- Reviewable:end -->
2016-04-06 22:30:25 +05:30
Adrian Utrilla
a8f9887d86
Added .form property for legend tag
2016-04-06 17:42:24 +02:00
bors-servo
cb943b016f
Auto merge of #10419 - notriddle:whitespace_border, r=mbrubeck
...
Whitespace stripping should not result in a dangling, open border.
No open issue (found it while working on #7681 ).
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10419 )
<!-- Reviewable:end -->
2016-04-06 15:30:51 +05:30
bors-servo
e36e3be855
Auto merge of #10351 - stjepang:impl-url-searchparams, r=Manishearth
...
Implement URL.searchParams
Spec: https://url.spec.whatwg.org/#dom-url-searchparams
Closes #10335 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10351 )
<!-- Reviewable:end -->
2016-04-06 14:27:30 +05:30
bors-servo
6171188f59
Auto merge of #10319 - Mylainos:Issue-#10284, r=emilio
...
Issue #10284 Ignore alternate stylesheets
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10319 )
<!-- Reviewable:end -->
2016-04-06 12:21:27 +05:30