1
0
Fork 0
mirror of https://github.com/servo/servo.git synced 2025-07-22 14:53:49 +01:00
Commit graph

8771 commits

Author SHA1 Message Date
bors-servo
95da6dbd6d
Auto merge of - tipowol:fix-23704, r=paulrouget
Update parse_length to match spec

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix 
- [x] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-04-07 08:04:39 -04:00
WPT Sync Bot
7da408021a Update web-platform-tests to revision 5254eba7f17d10211b56c0d1958649bca29e8985 2020-04-07 10:45:43 +00:00
WPT Sync Bot
4e37dd1013 Update web-platform-tests to revision d7a573df46aac1ebc338ff993c54a18f2b9ff1a4 2020-04-06 10:41:55 +00:00
WPT Sync Bot
9bf4e63ec5 Update web-platform-tests to revision 1a83e795e53c50c1306a14a7bb8e3f7ccfa7f89f 2020-04-05 10:55:39 +00:00
bors-servo
406eefb4b1
Auto merge of - servo-wpt-sync:wpt_update_04-04-2020, r=servo-wpt-sync
Sync WPT with upstream (04-04-2020)

Automated downstream sync of changes from upstream as of 04-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-04 22:34:05 -04:00
bors-servo
d64f7d427a
Auto merge of - servo:layout-2020-less-opaque, r=emilio
Make DOM own the style and layout data, in an UnsafeCell
2020-04-04 09:35:34 -04:00
Anthony Ramine
4c61baee30 Make OpaqueLayoutAndStyleData just a bit less opaque
It now stores a NonNull<dyn Any>.
2020-04-04 13:08:51 +02:00
WPT Sync Bot
136aa4015b Update web-platform-tests to revision 919ca26d28f02c636d4fa3d4e910a6038f02d993 2020-04-04 10:57:37 +00:00
Tipowol
94f08adfc7 Update parse_length to match spec 2020-04-03 21:32:02 +02:00
bors-servo
f7d3d4a447
Auto merge of - dralley:fix-motionmark, r=cbrewster,SimonSapin
Don't send empty canvases to WebRender

If any dimension of a canvas is 0, don't try to display it as it causes
problems inside webrender.

Minimal test case available here: https://github.com/servo/servo/issues/21411#issuecomment-605226547

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-04-03 13:57:33 -04:00
Daniel Alley
61fb84d6a0 Don't send empty canvases to WebRender
If any dimension of a canvas is 0, don't try to render it as it causes
problems inside webrender.
2020-04-03 11:34:04 -04:00
Josh Matthews
e1af489ea2
Create element-replacement-on-replaced-element.tentative.html.ini 2020-04-03 10:30:01 -04:00
WPT Sync Bot
018bc3f219 Update web-platform-tests to revision c063a8c9acc637e3bd72b719b46e6f2fb627da4a 2020-04-03 11:08:23 +00:00
bors-servo
e66ab111a6
Auto merge of - servo-wpt-sync:wpt_update_02-04-2020, r=jdm
Sync WPT with upstream (02-04-2020)

Automated downstream sync of changes from upstream as of 02-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-02 12:13:04 -04:00
Josh Matthews
65fd97cce9
Add mac-only failure. 2020-04-02 10:57:34 -04:00
WPT Sync Bot
6b740f0283 Update web-platform-tests to revision 6366ae15c2bc2314adca4321357c68bb468fec98 2020-04-02 11:05:54 +00:00
teapotd
779552ee7d Form constraints validation 2020-04-02 10:16:46 +02:00
bors-servo
7dcd83f488
Auto merge of - servo-wpt-sync:wpt_update_01-04-2020, r=servo-wpt-sync
Sync WPT with upstream (01-04-2020)

Automated downstream sync of changes from upstream as of 01-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-01 21:57:58 -04:00
bors-servo
516279e24f
Auto merge of - jdm:transition-fix, r=SimonSapin
Avoid infinitely looping CSS transitions.

This change addresses the long-standing issue of CSS transitions not ending appropriately. It does not fundamentally change the way we process transitions/animations.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix 
- [x] There are tests for these changes
2020-04-01 15:19:15 -04:00
Josh Matthews
2bb6ab4567 Avoid infinitely looping CSS transitions. 2020-04-01 12:13:52 -04:00
WPT Sync Bot
d8c042fbb2 Update web-platform-tests to revision 3bf30e8f1c56700c4b48508e876e72cccb7437ed 2020-04-01 10:58:32 +00:00
Simon Sapin
4bfe194486 Update WPT expectations 2020-04-01 01:00:14 +02:00
Simon Sapin
5f75f7ffdd Add expectations for newly-enabled css-ui tests 2020-03-31 23:04:07 +02:00
Simon Sapin
ff27b725a1 Enable css-ui tests, for the 'box-sizing' property 2020-03-31 23:01:55 +02:00
Simon Sapin
8350f8a08a Don’t forget to apply the inline-start margin to blocks 🤦 2020-03-31 22:59:43 +02:00
WPT Sync Bot
1dbfe69c91 Update web-platform-tests to revision 5721f7843f406054b8e02b0e33ff8e733830cc3d 2020-03-31 11:02:10 +00:00
bors-servo
f9e7c6b9dc
Auto merge of - shnmorimoto:fix_tojson_unconditionally_serializes, r=jdm
Fix tojson unconditionally serializes

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix 

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-03-31 02:33:53 -04:00
bors-servo
687156ac90
Auto merge of - dralley:fix-assertion, r=cbrewster
Fix failing assertion -- failure to pop reference frame

closes 

In-depth description here: https://github.com/servo/servo/issues/23438#issuecomment-605553001

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [x] These changes fix  (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___
2020-03-31 00:04:46 -04:00
Daniel Alley
3258bcaa8b Fix failing assertion -- failure to pop reference frame
closes 
2020-03-30 23:29:19 -04:00
bors-servo
77b02393fb
Auto merge of - SasiDharKM:master, r=jdm
Implementation for ImageBitmap

<!-- Please describe your changes on the following line: -->
Created the boilerplate code for the image bitmap implementation.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix 

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-03-30 19:26:39 -04:00
bors-servo
70443291c9
Auto merge of - servo-wpt-sync:wpt_update_30-03-2020, r=jdm
Sync WPT with upstream (30-03-2020)

Automated downstream sync of changes from upstream as of 30-03-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-03-30 16:49:46 -04:00
santoshpavan
8c405546a2 Implement ImageBitmap interface
Implementation of ImageBitmap

ImageBitMap webidl file added

Implementation of ImageBitmap

mentioned the correct origin link

basic new and new_inherited

updated the mod.rs file to include imagebitmap

imagebitmap implemented

changed according to Serialization

implemented serializable

get methods for width and height

basic imagebitmap

added missing crates

added Vec and missing crates

Syntax fixes

Reformatting and minor error fixes

Implementation of  ImageBitmap

tidy-test runs

Took out extra parameters in reflect_dom_object call

added comments with specification links for webidl functions

changing the code based on review comments

adding resolved changes form the pull request

Changes based on pr review

Changes based on pr review

ran test-tidy and fmt

removed the duplicate crate

removed unnecessary crates

Kept only the relevant crate import

Updated test expectations, exposed interface list, and manifest
2020-03-30 15:52:15 -04:00
bors-servo
69004e43dd
Auto merge of - szeged:webgl_draw_range_elements, r=jdm
Add support for DrawRangeElements in WebGL2

Adds initial support for the WebGL2 `DrawRangeElements` call.

<!-- Please describe your changes on the following line: -->
I have started working on this function, but not sure how could I check for the Uniform Block Backing (https://www.khronos.org/registry/webgl/specs/latest/2.0/#ACTIVE_UNIFORM_BLOCK_BACKING).
I am looking for some advice.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes

cc @mmatyas @zakorgy @jdm
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-03-30 13:59:05 -04:00
bors-servo
fd6f9140f7
Auto merge of - gterzian:enable_atomics_wait_on_dedicated_worker, r=jdm
Enable Atomics.wait in a dedicated worker agent

<!-- Please describe your changes on the following line: -->

FIX 

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-03-30 10:42:23 -04:00
Josh Matthews
8ffef3855e
Remove intermittent timeout. 2020-03-30 09:59:04 -04:00
Josh Matthews
47a97aff81
Add more missing 2020 failures. 2020-03-30 09:58:14 -04:00
Josh Matthews
8d859787c6
Restore missing 2020 failures. 2020-03-30 09:53:57 -04:00
Istvan
bfa43fbeba Add support for DrawRangeElements in WebGL2
Adds initial support for the WebGL2 `DrawRangeElements` call.
2020-03-30 13:55:01 +02:00
WPT Sync Bot
6a6caaf929 Update web-platform-tests to revision ee35e5ccfe4ffeb108e603a05d1ea44f19275e04 2020-03-30 11:14:51 +00:00
Gregory Terzian
3ce6109836 enable Atomics.wait in a dedicated worker agent 2020-03-30 15:23:04 +08:00
Shinichi Morimoto
096f3d73be updated test 2020-03-28 20:18:30 +09:00
WPT Sync Bot
f4e67a0197 Update web-platform-tests to revision cf8a15a334c6eb3b044b3db8a933436c2365819d 2020-03-28 11:05:43 +00:00
bors-servo
7d66871a9f
Auto merge of - mrobinson:arcrefcell-hoisting, r=SimonSapin
layout_2020: Use ArcRefCell to track hoisted fragments

This avoids the use of lookup tables for containing blocks when
constructing the stacking context tree.

This seems to catch some laid-out hoisted fragments that were otherwise
dropped in the previous design. The changes cause one new test to pass
and one to fail. Visual examination of the failing tests reveals that
it's a progression (list markers are appearing when they were previously
not rendered).

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-03-27 12:20:08 -04:00
Martin Robinson
19f4b708b3 layout_2020: Use ArcRefCell to track hoisted fragments
This avoids the use of lookup tables for containing blocks when
constructing the stacking context tree.

This seems to catch some laid-out hoisted fragments that were otherwise
dropped in the previous design. The changes cause one new test to pass
and one to fail. Visual examination of the failing tests reveals that
it's a progression (list markers are appearing when they were previously
not rendered).
2020-03-27 13:02:22 +01:00
WPT Sync Bot
932f14ce3a Update web-platform-tests to revision 169a1410bfe8e517d79852144555dd49ea1f597a 2020-03-27 11:07:02 +00:00
WPT Sync Bot
d23cb97662 Update web-platform-tests to revision 66e7f134c43e83a70edf4028ec4738ddfea28e15 2020-03-26 11:03:03 +00:00
Daniel Alley
cc18718152 Run py-modernize against tests/jquery/run_jquery.py
Attempt to make it py3 compatible
2020-03-25 15:10:44 -04:00
Josh Matthews
abc6fbf6bd
Add missing failure. 2020-03-25 09:06:07 -04:00
WPT Sync Bot
916ba6ef4d Update web-platform-tests to revision eb12303bec1d47bbe91ebf011d17d81ec6fce68d 2020-03-25 11:04:48 +00:00
bors-servo
4f5110f34f
Auto merge of - paulrouget:revertFillText, r=jdm
Revert fillText()

Sadly, fillText crashes our HoloLens demos. See https://github.com/servo/servo/issues/26015

/cc @kaiakz
2020-03-24 08:14:24 -04:00