Commit graph

9347 commits

Author SHA1 Message Date
Josh Matthews
8fe51b49b4
Remove 2020 failure. 2020-07-30 10:08:02 -04:00
WPT Sync Bot
53a530d4c0 Update web-platform-tests to revision fd5a851b2e6bd60ff49060f1b42197c976273728 2020-07-30 10:34:51 +00:00
bors-servo
6a3c3a4e18
Auto merge of #26447 - jdm:white-space-2020, r=nox
Layout 2020: Implement basic white-space: pre support

With these changes `<pre>` and `<br>` preserve spaces and force line breaks appropriately.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26440
- [x] There are tests for these changes
2020-07-29 10:29:30 -04:00
WPT Sync Bot
720d8a12b8 Update web-platform-tests to revision 43ef1ad9afcc9d9d922a5a96bc12b4eaf950960b 2020-07-29 10:41:25 +00:00
bors-servo
b41f5f97f2
Auto merge of #27388 - Manishearth:clip-2020, r=SimonSapin
Layout 2020: Implement `clip: rect`

This implements `clip: rect`

Unfortunately, none of the tests pass yet, they are all broken due to https://github.com/servo/servo/issues/27387

Additionally, currently `clip` does not seem to clip the element itself, only its children. I'm not quite sure what to do about that, I patterned this off of the code in the layout 2013 which handled clip immediately after scroll overflow.
2020-07-28 11:44:38 -04:00
Manish Goregaokar
354c6647ac Update wpt results in CSS2 2020-07-28 07:36:02 -07:00
WPT Sync Bot
1ad22043ab Update web-platform-tests to revision 9a28e2c8d072c358bd94b97bc8bff6db8388b6b1 2020-07-28 10:27:55 +00:00
Manish Goregaokar
b026dae8ac Only apply clip() to positioned elements 2020-07-27 23:26:30 -07:00
Manish Goregaokar
0bc10b8073 Update wpt results 2020-07-27 20:08:55 -07:00
Manish Goregaokar
d0670d4845 Enable clip WPT tests for 2020 2020-07-27 19:59:08 -07:00
Josh Matthews
260347e5dc Simplify control flow of whitespace handling. 2020-07-27 20:06:55 -04:00
Josh Matthews
d8b4dab4e3 Implement basic white-space: pre support for layout 2020. 2020-07-27 20:06:53 -04:00
Manish Goregaokar
965dded825 Update tests 2020-07-27 09:48:37 -07:00
Josh Matthews
4015aa4467
Remove 2020 failure. 2020-07-27 11:04:42 -04:00
WPT Sync Bot
967591d635 Update web-platform-tests to revision fc8c0bf79b24b7fac1c1b54fd78c293005d0d4a8 2020-07-27 10:50:22 +00:00
WPT Sync Bot
7aa6c54799 Update web-platform-tests to revision e2364b32eb46c41c242f6f728b3cb937f5d92328 2020-07-26 10:44:28 +00:00
WPT Sync Bot
c6de66cc49 Update web-platform-tests to revision d047c507f134899be6f0bde7a48c630ab67fe34a 2020-07-25 10:33:17 +00:00
bors-servo
59c9606dea
Auto merge of #27390 - servo-wpt-sync:wpt_update_24-07-2020, r=servo-wpt-sync
Sync WPT with upstream (24-07-2020)

Automated downstream sync of changes from upstream as of 24-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-24 22:23:57 -04:00
bors-servo
9864e4ce6c
Auto merge of #27385 - servo:list, r=Manishearth
Add Layout 2020 support for `display: list-item`
2020-07-24 21:18:16 -04:00
bors-servo
b83433fb14
Auto merge of #27299 - avr1254:master, r=jdm
Implemented get element target algorithm

Added check for area and anchor element

Finished issue: Implemented get target and no opener algorithm

Implemented get element target and get element noopener algorithms.

<!-- Please describe your changes on the following line: -->
Used the algorithms in html spec to implement target and no opener algorithms.

---
<!-- 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 #27253 (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-07-24 17:30:38 -04:00
Arjun Ramachandrula
2d5c30d042 Implemented get element target and get element noopener algorithms
and refactored into functions.
2020-07-24 16:50:46 -04:00
WPT Sync Bot
bd0b0ea24a Update web-platform-tests to revision 593d7eb21e1c3ac161aa51cce914056eb9182962 2020-07-24 10:57:09 +00:00
Simon Sapin
b91e293819 Add layout support for list markers 2020-07-24 09:31:24 +02:00
WPT Sync Bot
b64dc1ed97 Update web-platform-tests to revision 59cec4f843d5c86d5d2e99d636e465e09807cafb 2020-07-23 10:53:21 +00:00
WPT Sync Bot
4c80634acb Update web-platform-tests to revision aa86bfbb569fee92a3176bae68e3b7ec54140a6d 2020-07-22 10:22:06 +00:00
bors-servo
a242913629
Auto merge of #26710 - AbhishekSharma102:issue_26571, r=jdm,gterzian
Compile external scripts off the main thread

<!-- 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
- [ ] These changes fix #26571  (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-07-21 18:29:47 -04:00
AbhishekSharma102
1119dd119e Added off thread compilation
Co-authored-by: Gregory Terzian <2792687+gterzian@users.noreply.github.com>
Co-authored-by: Abhishek Sharma <20724848+AbhishekSharma102@users.noreply.github.com>
2020-07-21 16:20:51 -04:00
WPT Sync Bot
757411a74c Update web-platform-tests to revision d62995e62ca8653b4cf565e61c309471b544fab8 2020-07-21 10:51:44 +00:00
bors-servo
c02da14847
Auto merge of #27339 - Manishearth:flex-align-items, r=pcwalton
flexbox 2020: Implement `align-items` and `align-self`, excluding `baseline`

This PR is based on https://github.com/servo/servo/pull/27334 for ease of testing

`baseline` is tricky and involves keeping track of a "baseline set"

https://drafts.csswg.org/css-flexbox/#flex-baselines

Part of https://github.com/servo/servo/issues/26639
2020-07-21 02:36:48 -04:00
bors-servo
c0778ff3c5
Auto merge of #27313 - jdm:layer-idl, r=asajeffrey
Update XRWebGLLayer to match specification.

This unbreaks most of the webxr WPT tests.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #27312
- [x] There are tests for these changes
2020-07-21 01:38:08 -04:00
Manish Goregaokar
f2bfa08a85 Add manual test for align-self 2020-07-20 20:16:23 -07:00
Manish Goregaokar
1cedf40376 Update wpt expectations 2020-07-20 20:16:23 -07:00
Josh Matthews
c34e587140 Update XRWebGLLayer to match specification. 2020-07-20 15:52:16 -04:00
Patrick Walton
5b36d211b4 Add an implementation of the core float and clear placement logic in layout
2020, not yet wired to the rest of layout.

This commit implements an object that handles the 10 rules in CSS 2.1:

https://www.w3.org/TR/CSS2/visuren.html#float-position

The implementation strategy is that of a persistent balanced binary search tree
of float bands. Binary search trees are commonly used for implementing float
positioning; e.g. by WebKit.  Persistence enables each object that interacts
with floats to efficiently contain a snapshot of the float list at the time
that object was laid out. That way, incremental layout can invalidate and start
reflow at any point in a containing block.

This commit features extensive use of
[QuickCheck](https://github.com/BurntSushi/quickcheck) to ensure that the rules
of the CSS specification are followed.

Because this is not yet connected to layout, floats will not actually be laid
out in Web pages yet.

Note that unit tests as set up in Servo currently require types that they
access to be public. Therefore, some internal layout 2020 types that were
previously private have been made public. This is somewhat unfortunate.

Part of #25167.
2020-07-20 12:42:34 -07:00
Manish Goregaokar
6914c51195 Handle flex item box sizing and minmax for flexbox in 2020 2020-07-20 12:22:06 -07:00
Josh Matthews
08b4ed752b
Add 2020 flexbox failure. 2020-07-20 09:03:18 -04:00
WPT Sync Bot
dcfcbcf2ad Update web-platform-tests to revision 8ef40c4007d5da834b25e79197cb8cb4c0a86a42 2020-07-20 10:26:50 +00:00
bors-servo
bfb7bea704
Auto merge of #27320 - servo-wpt-sync:wpt_update_19-07-2020, r=jdm
Sync WPT with upstream (19-07-2020)

Automated downstream sync of changes from upstream as of 19-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-19 11:28:59 -04:00
bors-servo
086556e706
Auto merge of #27026 - CYBAI:dynamic-module, r=jdm
Introduce dynamic module

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25439
- [x] There are tests for these changes
2020-07-19 09:29:50 -04:00
Josh Matthews
7538680b80
Add 2020 failure. 2020-07-19 08:47:16 -04:00
WPT Sync Bot
870553b695 Update web-platform-tests to revision b47352d6c9860ff13c014fda37f35f88e8d935cb 2020-07-19 10:51:06 +00:00
WPT Sync Bot
64b58d76c6 Update web-platform-tests to revision 5934bd3aca20a07917ad46fe7cebe10c68d5e497 2020-07-18 10:41:28 +00:00
CYBAI
c2feaf14d5 Update test expectation 2020-07-18 00:43:35 +09:00
Josh Matthews
1aef31bb2f checkpoint - dynamic load inside of a module and classic script works. 2020-07-18 00:43:34 +09:00
WPT Sync Bot
986610f6ed Update web-platform-tests to revision 8ba782c9d5a545b850cd8920032cb14cfbab2c35 2020-07-17 10:13:18 +00:00
WPT Sync Bot
244e6ca8c2 Update web-platform-tests to revision 765a5cba3fd8477f430cbd8bc3489b474097ee0e 2020-07-16 10:20:56 +00:00
WPT Sync Bot
2863a4690c Update web-platform-tests to revision 237fce47cec56baeb64392506c0c21c0c9615e18 2020-07-15 11:17:31 +00:00
bors-servo
1e182cd185
Auto merge of #27266 - jdm:hubs-stubs3, r=Manishearth
Hide Window extension methods by default and add helper Window.js_backtrace method

Fixes #26858.
2020-07-14 22:40:20 -04:00
Josh Matthews
e6cdfddea6 dom: Hide debugging extension methods behind a pref. 2020-07-14 22:39:59 -04:00
bors-servo
12d4c0d5eb
Auto merge of #27264 - jdm:hubs-stubs, r=Manishearth
Implement Navigator.languages

Fixes #27210.
2020-07-14 15:10:56 -04:00