Josh Matthews
d888ed368d
Make new test use local resources only.
2016-04-20 12:38:38 -04:00
Ravi Shankar
16096f1a9c
Added 'about:sslfail' and a reftest for SSL failure
2016-04-20 12:38:37 -04:00
Emilio Cobos Álvarez
5eb59935e3
webgl: Add test for Texture2d's ArrayBufferView overload
2016-04-19 13:25:43 +02:00
Corey Farwell
07209c75db
Rename net.mime.sniff
pref to network.mime.sniff
.
...
Gecko uses the `network` prefix for network related items. Might be good
to mirror that here.
2016-04-17 16:15:24 -04:00
Matt Brubeck
782e713472
Update margins when merging inline fragments
...
Fixes #10633 .
2016-04-16 14:13:16 -07:00
bors-servo
86778a0d71
Auto merge of #10644 - pcwalton:absolute-ib-split, r=mbrubeck
...
layout: Make absolutely-positioned blocks not generate {ib} splits.
Improves YouTube.
Closes #10642 .
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/10644 )
<!-- Reviewable:end -->
2016-04-16 06:58:47 +05:30
Patrick Walton
e840c7aaa0
layout: Make absolutely-positioned blocks not generate {ib} splits.
...
Improves YouTube.
Closes #10642 .
2016-04-15 17:27:25 -07:00
Michael Howell
2ecadc913a
Add reftest for #10625
2016-04-15 16:01:32 -07:00
Patrick Walton
f69931552b
layout: Disallow margins from collapsing through block formatting
...
contexts per CSS 2.1 § 8.3.1.
Closes #10449 .
2016-04-14 17:24:26 -07:00
Patrick Walton
a3fd226341
layout: Disallow margins from collapsing through blocks with clearance
...
per CSS 2.1 § 8.3.1.
Fixes the test failure in #10458 .
2016-04-14 17:24:24 -07:00
bors-servo
84f01d1d7b
Auto merge of #10579 - notriddle:overflow_premature_clip, r=pcwalton
...
Propogate transformed clipping regions to nested flows.
Fixes #10559
<!-- 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/10579 )
<!-- Reviewable:end -->
2016-04-14 03:32:33 +05:30
Michael Howell
3c2210c5fc
Propogate transformed clipping regions to nested flows.
...
Fixes #10559
2016-04-13 11:50:50 -07: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
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
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
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
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
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
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
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
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
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
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
Michael Howell
2b75ef09f7
Whitespace stripping should not result in a dangling, open border.
2016-04-05 11:39:49 -07:00
bors-servo
0ff8adb097
Auto merge of #9811 - paulrouget:forceTouch, r=mbrubeck
...
forcetouch events
https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html
Not sure how we want to land that yet. Maybe reproduce the webkit events (as in this PR), or as touch/mousemouse events.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9811 )
<!-- Reviewable:end -->
2016-04-05 21:07:05 +05:30
Paul Rouget
df6e7394d4
forcetouch events support
...
This enables Apple forcetouch DOM events. It requires the preference dom.forcetouch.enabled.
The DOM events are described here:
- https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html
The Cocoa mechanism is documented here:
- https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/#//apple_ref/doc/uid/20000016-SW274
2016-04-05 18:42:28 +08:00
Arnaud Marant
95c077af46
Issue #10348 Implement StringMozPreference, string preferences, WPT tests
...
I'm not exactly sure of the wanted semantics with boolean values.
2016-04-03 21:28:17 +02:00
Emilio Cobos Álvarez
70229b1720
webgl: Add test for WebGL vertex attributes out of bounds.
2016-04-03 01:22:52 +02:00
bors-servo
8b32e63db8
Auto merge of #10215 - ConnorGBrewster:webgl_finish, r=emilio
...
WebGL: Finish, Flush, DetachShader, GenerateMipmap
Implements #10212 and #10213
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/10215 )
<!-- Reviewable:end -->
2016-04-03 00:08:47 +05:30
Connor Brewster
3fd7634f54
webgl: finish, flush, detachShader, generateMipmap, Uniform1i
2016-04-02 12:31:47 -06:00
bors-servo
0489280ded
Auto merge of #10347 - mbrubeck:incremental-selection, r=pcwalton
...
Fix incremental reflow of text selection changes
r? @emilio or @pcwalton
CC @paulrouget: This fixes a bug in the browser.html URL bar auto-completion.
<!-- 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/10347 )
<!-- Reviewable:end -->
2016-04-02 19:54:50 +05:30
Matt Brubeck
776aae6399
Fix incremental reflow of text selection changes
...
Also replace force_relayout methods with direct Node::dirty calls, for
clarity.
2016-04-01 22:00:05 -07:00
bors-servo
4e21517796
Auto merge of #10331 - pcwalton:simplify-complex-clipping-regions, r=glennw
...
gfx: Simplify complex clipping regions as we construct them.
This allows WebRender to correctly render complex clipping regions that
can be reduced to single rounded rectangles. WebRender still can't
render rounded rectangles with arbitrary intersections yet, but this
allows it to handle many more cases.
Closes servo/webrender#241 .
r? @glennw
<!-- 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/10331 )
<!-- Reviewable:end -->
2016-04-02 05:03:07 +05:30
James Graham
78369e95cf
Update web-platform-tests to 5582e4d2bfcfd1fa9f105406b143170ee2af7db1
2016-04-01 13:38:57 +02:00
Patrick Walton
22a1c112d5
gfx: Simplify complex clipping regions as we construct them.
...
This allows WebRender to correctly render complex clipping regions that
can be reduced to single rounded rectangles. WebRender still can't
render rounded rectangles with arbitrary intersections yet, but this
allows it to handle many more cases.
Closes servo/webrender#241 .
2016-03-31 19:36:40 -07:00
bors-servo
f335586ff5
Auto merge of #10292 - jdm:cssom, r=jdm
...
Initial steps for CSSOM
Squashed and rebased #10133 .
<!-- 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/10292 )
<!-- Reviewable:end -->
2016-04-01 04:29:08 +05:30
Mohamed Albashir
b7a57ef487
Initial steps for CSSOM API
2016-03-31 18:17:30 -04:00
bors-servo
f10c01cd39
Auto merge of #10249 - canaltinova:master, r=jdm
...
Make input elements not inherit parent containers alignment
Fixes #10234 .
<!-- 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/10249 )
<!-- Reviewable:end -->
2016-03-31 22:50:29 +05:30
Nazım Can Altınova
c13ea8a253
Make input elements not inherit parent containers alignment
...
Added a reftest for input element's alignment
Added float: left beacause text-align: center centers the input's itself.
Removed 'rtl' alignment
2016-03-31 01:35:36 +03:00
bors-servo
77444d00be
Auto merge of #10279 - notriddle:issue_10258, r=mbrubeck
...
Fix #10258
Respect border-box when computing the relative sizes of children.
<!-- 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/10279 )
<!-- Reviewable:end -->
2016-03-30 12:48:40 +05:30
bors-servo
80d903a897
Auto merge of #10019 - rebstar6:htmllabelclick, r=jdm
...
Fix htmllabelelement click to activate correct element
Address https://github.com/servo/servo/issues/9928
Pass on label click to the label element's labeled control
<!-- 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/10019 )
<!-- Reviewable:end -->
2016-03-30 05:41:00 +05:30
Rebecca
e813f4a85a
Add test for HtmlLabelElement clicks
2016-03-29 18:49:56 -04:00
Michael Howell
38f683fcbc
Add test case for #10258
2016-03-29 14:37:53 -07:00