- Jun 02, 2023
-
-
Natalia Csoregi authored
Backed out changeset 8752ecf83874 (bug 1804761) for causing failures on content-visibility-070.html. CLOSED TREE
-
Jihye Hong authored
Bug 1804761 - Make content-visibility: auto forces contain-intrinsic-size to gain an auto value, r=emilio,Oriol When the content having `content-visibility: auto` and the specific value for `contain-intrinsic-size` is slightly out of the viewport, its computed value keeps changing. This patch makes `content-visibilty: auto` forces `contain-intrinsic-size` to gain an auto value to solve this issue. Differential Revision: https://phabricator.services.mozilla.com/D174583
-
- Jun 01, 2023
-
-
Norisz Fay authored
Backed out changeset 9e2c7d3018de (bug 1804761) for causing wpt failures on content-visibility-068.html CLOSED TREE
-
Boris Chiou authored
Now it supports "normal" keyword. Also, offset-position doesn't create stacking context and it doesn't have offset transform, so we can simplify CompareMotionValues() a little bit. Note: We don't have to add test in [1] because Blink added one to WPT upstream repo already. [1] css/motion/parsing/offset-position-parsing-valid.html Note: the usage of offset-position is in other bugs. Differential Revision: https://phabricator.services.mozilla.com/D179623
-
Jihye Hong authored
Bug 1804761 - Make content-visibility: auto forces contain-intrinsic-size to gain an auto value, r=emilio,Oriol When the content having `content-visibility: auto` and the specific value for `contain-intrinsic-size` is slightly out of the viewport, its computed value keeps changing. This patch makes `content-visibilty: auto` forces `contain-intrinsic-size` to gain an auto value to solve this issue. Differential Revision: https://phabricator.services.mozilla.com/D174583
-
- May 31, 2023
-
-
Emilio Cobos Álvarez authored
Make the computed value of border-like properties app units (which is effectively what happens in Gecko already), and clamp at computed value time. Differential Revision: https://phabricator.services.mozilla.com/D179481
-
Emilio Cobos Álvarez authored
And add some bindings support to it, which will be used by the next patch. Differential Revision: https://phabricator.services.mozilla.com/D178768
-
- May 30, 2023
-
-
Emilio Cobos Álvarez authored
$ find servo -name '*.rs' | xargs rustup run nightly rustfmt Depends on D179380 Differential Revision: https://phabricator.services.mozilla.com/D179381
-
Emilio Cobos Álvarez authored
The std lib has had that macro for a while. Depends on D179379 Differential Revision: https://phabricator.services.mozilla.com/D179380
-
Emilio Cobos Álvarez authored
Use from_bits_retain where possible to save a few instructions here and there while at it. Differential Revision: https://phabricator.services.mozilla.com/D179379
-
- May 28, 2023
-
-
Iulian Moraru authored
-
Emilio Cobos Álvarez authored
Useless by the reason described at the end of the comment, we no longer have such a flag. Differential Revision: https://phabricator.services.mozilla.com/D179269
-
- May 25, 2023
-
-
Emilio Cobos Álvarez authored
Anything that doesn't need interior mutability doesn't need Locked<> around it. Depends on D179059 Differential Revision: https://phabricator.services.mozilla.com/D179060
-
Emilio Cobos Álvarez authored
This makes me a bit less uncomfortable about the previous changes :) Note that some of this code gets modified in the following patch. Differential Revision: https://phabricator.services.mozilla.com/D179059
-
Zach Hoffman authored
Depends on D179038 Differential Revision: https://phabricator.services.mozilla.com/D179039
-
Zach Hoffman authored
Differential Revision: https://phabricator.services.mozilla.com/D179038
-
David Shin authored
Bug 1793012: Correct style sharing handling for any element that considered `:has()` in selector matching. r=emilio For any element that anchors a `:has()` selector (i.e. Matches a selector that contains a `:has()` on its rightmost side), we prevent style sharing altogether, as evaluation of the `:has()` selector is required in the first place to determine style sharing. On the other hand, any element matching a rule containing `:has()` without anchoring it can do style sharing for siblings, but not cousins. Differential Revision: https://phabricator.services.mozilla.com/D176836
-
Zach Hoffman authored
Bug 1834674 - [css-properties-values-api] Share PropertyRule instance when cloning CssRule::Property r=emilio Differential Revision: https://phabricator.services.mozilla.com/D178892
-
- May 24, 2023
-
-
Emilio Cobos Álvarez authored
This is necessary to properly report changes in our document. The remaining failures are about change event scheduling, which is a pre-existing issue. Will fix, but in a separate bug. Differential Revision: https://phabricator.services.mozilla.com/D178917
-
Emilio Cobos Álvarez authored
If this happens again, it might be worth not matching rather than potentially crashing. Though I guess crashing is a very good way getting it reported soon... Differential Revision: https://phabricator.services.mozilla.com/D178921
-
Emilio Cobos Álvarez authored
Differential Revision: https://phabricator.services.mozilla.com/D178920
-
Emilio Cobos Álvarez authored
Bug 1833403 - Simplify some appearance code. r=stransky,mac-reviewers,handyman,devtools-reviewers,mstange I was looking into simplifying our scrollbar styles: * StyleAppearance::Resizer is not used in content, and some of the values were only for <xul:window> which are not supported anymore. * Statusbarpanel and Resizerpanel aren't used. Statusbar is only used once on macOS so we only need to keep it there. Differential Revision: https://phabricator.services.mozilla.com/D178374
-
Emilio Cobos Álvarez authored
This adds two prefs to configure the parallel traversal work item size and kick-off threshold, but otherwise shouldn't change behavior. I switched from iterator generics to just a slice while at it, mostly for simplicity, but there is a trade-off: * When switching from sequential to parallel traversal, we potentially pay the price of memmoving the VecDeque around once to make them a contiguous slice. * However we win in the common case of the smaller-than-work-unit size in which case we no longer need to copy stuff to a WorkItem. So I think overall this should be an improvement. Differential Revision: https://phabricator.services.mozilla.com/D178656
-
- May 23, 2023
-
-
Iulian Moraru authored
Backed out changeset f020820671c4 (bug 1833403) for causing reftest failures on resizer-bottomend.xhtml. CLOSED TREE
-
Emilio Cobos Álvarez authored
Bug 1833403 - Simplify some appearance code. r=stransky,mac-reviewers,handyman,devtools-reviewers,mstange I was looking into simplifying our scrollbar styles: * StyleAppearance::Resizer is not used in content, and some of the values were only for <xul:window> which are not supported anymore. * Statusbarpanel and Resizerpanel aren't used. Statusbar is only used once on macOS so we only need to keep it there. Differential Revision: https://phabricator.services.mozilla.com/D178374
-
Emilio Cobos Álvarez authored
Bug 1834144 - Make stylo thread pool size configurable via pref rather than just env. r=smaug,perftest-reviewers,jgraham,afinder Remove a variety of code which we don't use to change the pool size. We can just use the pref as needed in the future. Differential Revision: https://phabricator.services.mozilla.com/D178575
-
Butkovits Atila authored
-
- May 22, 2023
-
-
CanadaHonk authored
Added NaN/inf serialization of <number> and changed calc() code to not remove NaN/infinity in code using it. This change is unfortunately imperfect as some things using <number> still refuse to serialize NaN/infinity for some reason (scale()?), but this bug/patch is just for <number> so leaving that out of scope for this. Also added new WPT test file for number NaN/inf serialization based on existing serialization tests (all pass already!). 5 other WPT subtests now newly pass. Differential Revision: https://phabricator.services.mozilla.com/D178587
-
Norisz Fay authored
Backed out changeset e2d6154400a7 (bug 1833403) for causing reftest failures on resizer-bottomend.xhtml
-
Norisz Fay authored
-
CanadaHonk authored
Removed overflow-block optional-paged value and reftesting as it was removed from the spec in 2020: https://github.com/w3c/csswg-drafts/issues/5287 1 WPT subtest now newly passes. WPT tests: https://wpt.fyi/results/css/mediaqueries/test_media_queries.html Differential Revision: https://phabricator.services.mozilla.com/D178710
-
Emilio Cobos Álvarez authored
Bug 1833403 - Simplify some appearance code. r=stransky,mac-reviewers,handyman,devtools-reviewers,mstange I was looking into simplifying our scrollbar styles: * StyleAppearance::Resizer is not used in content, and some of the values were only for <xul:window> which are not supported anymore. * Statusbarpanel and Resizerpanel aren't used. Statusbar is only used once on macOS so we only need to keep it there. Differential Revision: https://phabricator.services.mozilla.com/D178374
-
Zach Hoffman authored
Bug 1833540 - [css-properties-values-api] Implement parsing and serialization for @property at-rule r=emilio Implemented behind the new properties-and-values pref. Support for the CSSPropertyRule WebIDL interface is also added in this patch, because until it's added, any attempt to access the rule using the CSSOM would crash the browser. Depends on D178268 Differential Revision: https://phabricator.services.mozilla.com/D178270
-
CanadaHonk authored
Added NaN/inf serialization of <number> and changed calc() code to not remove NaN/infinity in code using it. This change is unfortunately imperfect as some things using <number> still refuse to serialize NaN/infinity for some reason (scale()?), but this bug/patch is just for <number> so leaving that out of scope for this. Also added new WPT test file for number NaN/inf serialization based on existing serialization tests (all pass already!). 5 other WPT subtests now newly pass. Differential Revision: https://phabricator.services.mozilla.com/D178587
-
Butkovits Atila authored
-
Tiaan Louw authored
Bug 1815186 - Add ColorTo to InspectorUtils to convert color to other color spaces. r=emilio,layout-reviewers,supply-chain-reviewers This will allow calling `InspectorUtils.ColorTo("red", "lab")` and receive `{color: "lab(54.3 80.8 69.9)", components: [54.3, 80.8, 69.9, 1.0], adjusted: false}`. The adjusted value is always "false", because gamut checking and mapping is not supported at the moment. See: https://bugzilla.mozilla.org/show_bug.cgi?id=1823363 Differential Revision: https://phabricator.services.mozilla.com/D169942
-
Zach Hoffman authored
Bug 1833538 - [css-properties-values-api] Parsing and serialization for @property syntax descriptor r=emilio Based off of @emilio's syntax parser at <https://github.com/emilio/css-typed-om-syntax >. Co-authored-by:
Emilio Cobos Álvarez <emilio@crisal.io> Differential Revision: https://phabricator.services.mozilla.com/D178268
-
- May 21, 2023
-
-
CanadaHonk authored
Replaced usage of deprecated/discouraged std float constants (eg std::f32:INFINITY) with primitive type (eg f32::INFINITY). Differential Revision: https://phabricator.services.mozilla.com/D178592
-
- May 20, 2023
-
-
Daniel Holbert authored
Bug 1834133 part 2: Remove code that's flagged as to-be-removed once layout.css.always-repaint-on-unvisited is true. r=emilio If I'm reading the code comment correctly, this is now unreachable code, and hence can & should be removed. Differential Revision: https://phabricator.services.mozilla.com/D178570
-
- May 17, 2023
-
-
Boris Chiou authored
Per CSS shape spec, the empty path string is invalid. However, for SVG d property, the EBNF allows the path data string in the d property to be empty. We just disable the rendering of the path. Note: only offset-path and clip-path are affected. Differential Revision: https://phabricator.services.mozilla.com/D178123
-