| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
These tests don't seem to time out any longer and this mechanism is
probably better served by some sort of adjustment to `RUST_LOG` in the
WPT harness.
|
|
|
|
| |
chrono::NaiveDateTime::from_timestamp_opt (#31593)
|
|
|
| |
Signed-off-by: Wepngong Maureen <maureenwepngong@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixed typo in PositioningContext
Signed-off-by: Wepngong Maureen <maureenwepngong@gmail.com>
* fixed unresolved link to unresolved link to adjust_static_position_of_hoisted_fragments function
Signed-off-by: Wepngong Maureen <maureenwepngong@gmail.com>
* fixed unresolved link to unresolved link to len() function of PositioningContext
Signed-off-by: Wepngong Maureen <maureenwepngong@gmail.com>
---------
Signed-off-by: Wepngong Maureen <maureenwepngong@gmail.com>
|
|
|
|
| |
chrono::NaiveDateTime::timestamp_millis (#31584)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix rustdoc warnings in components/layout_2020
Signed-off-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local>
* made suggested changes
Signed-off-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local>
---------
Signed-off-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local>
Co-authored-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local>
|
| |
|
|
|
|
|
|
|
| |
* clippy: fix some warnings in components/shared
* fix: unit tests
* fix: review comments
|
|
|
|
|
|
|
|
|
| |
* clippy: fix warnings in various modules in components
* fix: unit tests
* fix: build on android
* fix: all samplers use new_boxed
|
| |
|
|
|
| |
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
|
|
|
|
|
|
|
| |
* Fixed error in documentation in components>shared>embedder>lib.rs
* fixed documentation warning in compoenents>shared>net>request.rs
* Fixed the documentation (URL issue) in components>shared>script>lib.rs
|
|
|
| |
Instead of assuming `box-sizing: content-box`.
|
|
|
|
|
|
|
| |
Anonymous tables should not use legacy pseudos, as the legacy layout
engine had them inherit lots of random properites that lead to bad
layout in the new layout engine.
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix clippy warnings in components/shared/net/request.rs
Signed-off-by: mateoferon <mateo.feron@elipce.com>
* fixup! Fix clippy warnings in components/shared/net/request.rs
---------
Signed-off-by: mateoferon <mateo.feron@elipce.com>
|
|
|
|
|
| |
* Update phf_codegen and phf_shared to 0.11
* Updated the Cargo.lock With ./mach build
|
| |
|
| |
|
|
|
|
|
|
|
| |
* clippy: fix warnings in components/gfx
* refactor: switched the order of impl so that its intent is clearer
* fix: add font context default in other platforms
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* resolved clippy warnings in components/rand
Signed-off-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local>
* replaced new() with default()
Signed-off-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local>
* replaced ServoRng::new() with ServoRng::default()
Signed-off-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local>
* moved the contents of the new() method into the default() method
Signed-off-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local>
---------
Signed-off-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local>
Co-authored-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local>
|
|
|
|
|
|
|
|
|
|
|
|
| |
When exiting after load or dumping a screenshot, limit the speed that
the compositor sends tick events to the constellation (and on to the
script thread). Previously, these tick messages were sent as fast as the
winit event loop (that's really fast!), until the document was ready to
for its screenshot. rAf is meant to run at more or less the same
frequency as the refresh rate of the screen.
On my system, the massive amount of ticks was overwhelming the router
thread, preventing fonts from loading properly. This change is an attempt
to make tests with requestAnimationFrame less flaky.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* feat: do not spawn dedicated thread to decode image
* fix: change comment to docstring
Co-authored-by: Taym Haddadi <haddadi.taym@gmail.com>
---------
Co-authored-by: Taym Haddadi <haddadi.taym@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* compositor: Improve the way we wait for frames
In the newest version of WebRender it will be harder to make the
distinction between frame queued for scrolling and other kinds of
pending frames. This change makes it so that we queue frames for both
kinds of changes the same way and keeps a counting of pending frames.
This is conceptually a lot simpler.
In addition, do queue a composite even when recomposite isn't necessary
for a WebRender frame when there are active requestAnimationFrame
callbacks. Doing a composite is what triggers the callbacks to actually
run in the script thread! I believe this was a bug, but the WebRender
upgrade made it much more obvious.
These changes are in preparation for the WebRender upgrade.
* Remove spurious println
|
| |
|
|
|
| |
And remove the pref `layout.tables.enabled`.
|
|
|
|
|
|
|
|
|
|
|
| |
* Add basic support for enumerating computed styles
The old code was so broken, it was enumerating the style attribute
instead of the computed styles.
So this patch implements a basic enumeration, but not including custom
properties whose computed value is not the guaranteed-invalid value.
* Feedback
|
|
|
|
|
| |
* feat: unify convert_* functions across gpu*.rs files #31104
* chore: reorder and format
|
|
|
|
|
| |
* Fix several clippy warnings in components/bluetooth/lib
* Fix requested change while maintaining clippy rules
|
|
|
| |
Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
|
|
|
| |
The spec doesn't make much sense, this seems to match Gecko and Blink.
|
| |
|
|
|
|
|
| |
* Fix intrinsic sizing of tables
* Feedback
|
| |
|
|
|
|
| |
Instead of just taking the value from the ancestor outside the table,
combine the values when constructing the table.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The min-content size of a table track was >= the max-content size. So
- For the min-content size of a column, now we just use min-inline-size,
ignoring inline-size and max-inline-size. This matches Gecko, Blink
and WebKit.
- For the max-content size of a column, we keep matching Gecko.
Note that Blink and WebKit are different, they ignore max-inline-size.
- For both the min-content and max-content sizes of a row, now we just
use block-size. This matches Gecko, Blink and WebKit.
Also, if the computed value contains percentages, now we treat it as
the initial value, instead of resolving percentages against zero.
This matches Gecko and Blink, but not WebKit for rows.
|
|
|
|
|
|
|
|
|
| |
* Treat indefinite percentages as auto offsets in relative positioning
Instead of just resolving the percentages against zero.
The spec is not clear (https://github.com/w3c/csswg-drafts/issues/9353),
but this way we match Gecko, Blink and WebKit.
* Update test expectations
|
| |
|
|
|
| |
Instead of just crashing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix size of tables in flow layout
The contents of a table can make it bigger than what we would expect
from its 'width', 'min-width', 'height' and ' min-height' properties.
Also, 'width: auto' doesn't stretch it to fill the containing block.
We had to refactor the resolution of margins to happen after layout,
otherwise 'auto' margins wouldn't align correctly.
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Feedback
* Consistently use `containing_block_for_table` in table layout
* Update test result
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
|
| |
|
|
|
|
|
| |
* script: Implement <meta http-equiv="refresh">
* Address review comments
|
|
|
|
|
| |
100% is stored as Percent(1.), not as percent(100.)
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds a version of row height distribution that follows the
distribtuion algorithm used for tables in Blink's LayoutNG. This is just
an intermediate step toward implementing a distribution algorithm for
both rows and columns more similar to Layout NG.
The CSS Table 3 specification is often wrong with regard to web
compatability, which is why we have abandoned it in favor of the Layout
NG algorithm for row height distribution. this work.
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update Stylo to 2023-07-23
* to_shmem should be local when working with Stylo
* Fixup for https://phabricator.services.mozilla.com/D180769
* Fixup for https://phabricator.services.mozilla.com/D181125
* Fixup for https://phabricator.services.mozilla.com/D181162
* Fixup for https://phabricator.services.mozilla.com/D181798
* Fixup for https://phabricator.services.mozilla.com/D182514
* Fixup for https://phabricator.services.mozilla.com/D182539
* Update test expectations
|
|
|
|
|
| |
* Add `use-system-allocator` feature
* Allow `servo_allocator/use-system-allocator` on servoshell
|
|
|
|
|
|
|
|
|
| |
This fixed #31438. When an image is loaded from cache, it will
load a placeholder if the url is not a valid image url. This
may be unexpected when using the image cache and specifying
UsePlaceholder::No but that has no effect on loading an image
not in the cache.
Signed-off-by: Sebastian C <sebsebmc@gmail.com>
|
|
|
|
| |
(#26469)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Layout 2020 (#31436)
* layout: support setting canvas font
Signed-off-by: syvb <me@iter.ca>
* Update 2d.reset.state.font.html test
Signed-off-by: syvb <me@iter.ca>
---------
Signed-off-by: syvb <me@iter.ca>
|