Commit Graph

2142 Commits

Author SHA1 Message Date
Jonathan Kew
ea08d9b07a Bug 1950844 - Support spelling-error and grammar-error values of text-decoration-line. r=tlouw
Differential Revision: https://phabricator.services.mozilla.com/D239913
2025-02-28 12:56:58 +00:00
Emilio Cobos Álvarez
f5b2976c45 Bug 1922298 - Add a fast way of tagging frames as captured, and make that view-transition-name a stacking-context-creating property. r=view-transitions-reviewers,boris
Differential Revision: https://phabricator.services.mozilla.com/D239377
2025-02-26 12:29:49 +00:00
Cristina Horotan
5bc51022a0 Backed out 9 changesets (bug 1922300, bug 1950362, bug 1919333, bug 1950176, bug 1948058, bug 1950177, bug 1922298) for causing multiple Wr failures
Backed out changeset 54c87e09251a (bug 1919333)
Backed out changeset 813274ba35a0 (bug 1919333)
Backed out changeset a37d91fc2a7a (bug 1950362)
Backed out changeset 97f67f9048b5 (bug 1922298)
Backed out changeset 4c11b366fcaf (bug 1919333)
Backed out changeset dbde76fa73a9 (bug 1948058)
Backed out changeset ba3d9d95cd56 (bug 1922300)
Backed out changeset 0fe786bf2709 (bug 1950177)
Backed out changeset 8d9f52e91779 (bug 1950176)
2025-02-26 06:23:09 +02:00
Emilio Cobos Álvarez
90fa7916f7 Bug 1922298 - Add a fast way of tagging frames as captured, and make that view-transition-name a stacking-context-creating property. r=view-transitions-reviewers,boris
Differential Revision: https://phabricator.services.mozilla.com/D239377
2025-02-25 22:48:31 +00:00
David Shin
44a8158034 Bug 1947482: Anchor resolution takes axis, not side. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D238962
2025-02-20 21:22:10 +00:00
Alexandru Marc
3cc336f1e0 Backed out changeset 4d1903e35fc5 (bug 1947482) for causing build bustages @ ServoStyleConstsInlines.h 2025-02-20 21:34:50 +02:00
David Shin
894d84866a Bug 1947482: Anchor resolution takes axis, not side. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D238962
2025-02-20 18:26:22 +00:00
Steven Novaryo
59aed180b6 Bug 1946679 - Expose and rename style::value::specified::gecko::IntersectionObserverRootMargin. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D237514
2025-02-18 09:54:14 +00:00
David Shin
276e5aef75 Bug 1942715: Part 3 - Remove old & now-unused anchor resolution infrastructure in CalcNode. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D237096
2025-02-12 01:31:30 +00:00
David Shin
6a644421d2 Bug 1942715: Part 1 - Implement anchor resolution that takes the same code path as percentage resolution. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D237094
2025-02-12 01:31:29 +00:00
Butkovits Atila
e51ff081c6 Backed out 6 changesets (bug 1942715) for causing build bustages. CLOSED TREE
Backed out changeset 1433202bd2f3 (bug 1942715)
Backed out changeset d9ce2be09cd0 (bug 1942715)
Backed out changeset 9789581a42a3 (bug 1942715)
Backed out changeset 9a18f1aca5d5 (bug 1942715)
Backed out changeset 46bd0cb031f4 (bug 1942715)
Backed out changeset 73fec8bae045 (bug 1942715)
2025-02-12 01:45:46 +02:00
David Shin
b53ff2c280 Bug 1942715: Part 3 - Remove old & now-unused anchor resolution infrastructure in CalcNode. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D237096
2025-02-11 21:06:24 +00:00
David Shin
f8c5c040f9 Bug 1942715: Part 1 - Implement anchor resolution that takes the same code path as percentage resolution. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D237094
2025-02-11 21:06:23 +00:00
Butkovits Atila
fd3125f8e5 Backed out 6 changesets (bug 1942715) for causing build bustages. CLOSED TREE
Backed out changeset 7c5cfe6bbaeb (bug 1942715)
Backed out changeset cc5530b02046 (bug 1942715)
Backed out changeset 5a534f455cc3 (bug 1942715)
Backed out changeset ecdd7307c9f1 (bug 1942715)
Backed out changeset 05a62c484807 (bug 1942715)
Backed out changeset a9825ee69550 (bug 1942715)
2025-02-11 22:17:26 +02:00
David Shin
404499b5d8 Bug 1942715: Part 3 - Remove old & now-unused anchor resolution infrastructure in CalcNode. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D237096
2025-02-11 18:19:55 +00:00
David Shin
0e977d0dad Bug 1942715: Part 1 - Implement anchor resolution that takes the same code path as percentage resolution. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D237094
2025-02-11 18:19:54 +00:00
Jonathan Kew
b2e556747a Bug 1945641 - patch 1 - Add an oblique-only value to the font-synthesis-style property. r=firefox-style-system-reviewers,emilio
Style system support for the new oblique-only value of font-synthesis-style.
(Applying this during rendering will be the next patch.)

Differential Revision: https://phabricator.services.mozilla.com/D236912
2025-02-07 10:29:26 +00:00
Jonathan Kew
a0e8acbf5c Bug 1945637 - Remove the separate 'normal' value of font-style types, as it is a synonym for 'oblique 0deg'; always serialize 'oblique 0deg' as 'normal'. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D236733
2025-02-06 19:38:57 +00:00
Alexandru Marc
8c93644e3b Backed out changeset 46540ac0fc04 (bug 1945637) for causing multiple failures CLOSED TREE 2025-02-06 04:37:03 +02:00
Emilio Cobos Álvarez
1d2560847e Bug 1946161 - Remove unused tab-scroll-arrow-* appearance values. r=stransky
Noticed while looking around this code.

Differential Revision: https://phabricator.services.mozilla.com/D236906
2025-02-05 22:05:39 +00:00
Emilio Cobos Álvarez
32fcd9b466 Bug 1946161 - Simplify spinner-related appearance values. r=stransky,mac-reviewers,spohl
* Spinner and spinner-textfield are totally unused.
 * up/down buttons are only used for <input type=number>. The only
   number inputs we have in our UI use the non-native theme already (the
   print preview dialog).
 * Windows already always uses non-native spinner up/down unconditionally, and
   linux does it on mismatched color scheme.

We can probably live without native theme support for these. It's
completely unused right now.

Differential Revision: https://phabricator.services.mozilla.com/D236904
2025-02-05 22:05:38 +00:00
Jonathan Kew
900aaa6a8d Bug 1945637 - Remove the separate 'normal' value of font-style types, as it is a synonym for 'oblique 0deg'; always serialize 'oblique 0deg' as 'normal'. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D236733
2025-02-05 17:07:26 +00:00
Stanca Serban
d8376bba5c Backed out changeset 3c90c2d82cf4 (bug 1945637) for causing build bustages in gfxFontUtils.h. CLOSED TREE 2025-02-05 17:14:07 +02:00
Jonathan Kew
e15e183ff3 Bug 1945637 - Remove the separate 'normal' value of font-style types, as it is a synonym for 'oblique 0deg'; always serialize 'oblique 0deg' as 'normal'. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D236733
2025-02-05 12:49:05 +00:00
Goloman Adrian
59aeae3ed7 Backed out changeset e8acbf46ade0 (bug 1945637) for causing mass failures @ServoStyleConstsInlines.h. CLOSED TREE 2025-02-05 01:10:44 +02:00
Jonathan Kew
556a433073 Bug 1945637 - Remove the separate 'normal' value of font-style types, as it is a synonym for 'oblique 0deg'; always serialize 'oblique 0deg' as 'normal'. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D236733
2025-02-04 18:29:37 +00:00
Jonathan Kew
143c12f00d Bug 1521723 - Add style-system support for the hyphenate-limit-chars property (not yet hooked up to layout). r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D135046
2025-01-29 17:01:54 +00:00
Martin Robinson
dc4498fe40 Bug 1942006 - Upstream a variety of Servo-specific code from Servo's downstream fork of Stylo r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D234469
2025-01-23 11:36:52 +00:00
David Shin
44ac9641b8 Bug 1923763: Part 3 - Implement anchor function resolution in math functions from Rust side. r=firefox-style-system-reviewers,emilio
`has_anchor_function` in `CalcLengthPercentage` will be used to avoid traversing
the calc tree if we know the calc node tree does not have any anchor function.

Anchor resolution is done in a separate phase, because layout code queries for
`auto` insets without having a full context for the percentage basis.

Differential Revision: https://phabricator.services.mozilla.com/D231257
2025-01-21 15:11:24 +00:00
David Shin
af77990161 Bug 1923763: Part 2 - Implement Anchor function resolution functions from Rust side. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D231256
2025-01-21 15:11:23 +00:00
David Shin
0360dacf7c Bug 1923763: Part 1 - Enable sharing StylePositionProperty between C++ and Rust. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D231255
2025-01-21 15:11:23 +00:00
Emilio Cobos Álvarez
9b3e0ffaaa Bug 1942816 - Simplify computed/specified url split. r=dshin
This was only needed because computed images serialized differently, but
we fixed that in bug 1738693.

Differential Revision: https://phabricator.services.mozilla.com/D234968
2025-01-21 15:02:57 +00:00
Stanca Serban
4a35296e0c Backed out 7 changesets (bug 1923763) for causing build bustages in nsStyleStruct.cpp. CLOSED TREE
Backed out changeset d55070e64ced (bug 1923763)
Backed out changeset a92a0bc6047f (bug 1923763)
Backed out changeset 2203e2c5268e (bug 1923763)
Backed out changeset 0cc5e744c01a (bug 1923763)
Backed out changeset d2139afa933b (bug 1923763)
Backed out changeset 93e59980eac1 (bug 1923763)
Backed out changeset 8018734b5491 (bug 1923763)
2025-01-21 11:10:22 +02:00
David Shin
c0e1ab035b Bug 1923763: Part 3 - Implement anchor function resolution in math functions from Rust side. r=firefox-style-system-reviewers,emilio
`has_anchor_function` in `CalcLengthPercentage` will be used to avoid traversing
the calc tree if we know the calc node tree does not have any anchor function.

Anchor resolution is done in a separate phase, because layout code queries for
`auto` insets without having a full context for the percentage basis.

Differential Revision: https://phabricator.services.mozilla.com/D231257
2025-01-20 23:54:49 +00:00
David Shin
21151aff9d Bug 1923763: Part 2 - Implement Anchor function resolution functions from Rust side. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D231256
2025-01-20 23:54:49 +00:00
David Shin
e451932b52 Bug 1923763: Part 1 - Enable sharing StylePositionProperty between C++ and Rust. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D231255
2025-01-20 23:54:48 +00:00
longsonr
67f4b34001 Bug 1934525 - Implement new path data API r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D231736
2025-01-10 20:18:12 +00:00
Nicolas Chevobbe
1b887da267 Bug 1935181 - [devtools] Only return anchor-center in list_self_position_keywords when layout.css.anchor-positioning.enabled is true. r=dshin.
Differential Revision: https://phabricator.services.mozilla.com/D233257
2025-01-07 06:34:33 +00:00
Jonathan Kew
24f94d5353 Bug 1900530 - Allow gradient defined by a single color stop. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D233218
2025-01-06 19:50:26 +00:00
Nico Burns
175559996c Bug 1939791: Make methods to access LengthPercentage calc pointer public (r=emilio)
Differential Revision: https://phabricator.services.mozilla.com/D233126
2025-01-06 11:45:06 +00:00
Tiaan Louw
b2d6de1dc1 Bug 1940029 - Allow color components as division denominators. r=layout-reviewers,emilio
Division denominators used to be assumed as resolvable numbers, but now
with color components we can have "numbers" that are only resolved
later, so we should handle that.

Differential Revision: https://phabricator.services.mozilla.com/D233236
2025-01-06 11:27:37 +00:00
Stanca Serban
75cc92debc Backed out changeset c4d38568e31a (bug 1939791) for causing build bustages in ServoStyleConstsInlines.h. CLOSED TREE 2025-01-06 13:32:28 +02:00
Stanca Serban
54fac177ce Backed out 2 changesets (bug 1939791) for causing build bustages. CLOSED TREE
Backed out changeset 1635a42fc205 (bug 1939791)
Backed out changeset f48d5b6b6d8b (bug 1939791)
2025-01-06 13:18:55 +02:00
Nico Burns
57f445144b Bug 1939791: Align CalcLengthPercentage to 16 bytes (r=emilio)
This allows for 4 tag bits in tagged pointer representations that point
to this value.

Signed-off-by: Nico Burns <nico@nicoburns.com>

Differential Revision: https://phabricator.services.mozilla.com/D233128
2025-01-06 10:55:48 +00:00
Nico Burns
306cb91c19 Bug 1939791: Make methods to access LengthPercentage calc pointer public (r=emilio)
Differential Revision: https://phabricator.services.mozilla.com/D233126
2025-01-06 10:45:36 +00:00
Jonathan Kew
0813b3e111 Bug 1887465 - Use the containing block's writing mode to resolve logical values for CSS float and clear properties. r=layout-reviewers,emilio
And don't resolve them prematurely; the computed value should remain
logical, and only be mapped to physical sides at use time.

Differential Revision: https://phabricator.services.mozilla.com/D229998
2024-11-25 22:58:46 +00:00
Alexandru Marc
ed1511635d Backed out 2 changesets (bug 1887465) for causing build bustages @ WritingModes.h . CLOSED TREE
Backed out changeset 5203c09eceb4 (bug 1887465)
Backed out changeset 0507fcccf575 (bug 1887465)
2024-11-25 18:47:23 +02:00
Jonathan Kew
64fa9b6bb6 Bug 1887465 - Use the containing block's writing mode to resolve logical values for CSS float and clear properties. r=layout-reviewers,emilio
And don't resolve them prematurely; the computed value should remain
logical, and only be mapped to physical sides at use time.

Differential Revision: https://phabricator.services.mozilla.com/D229998
2024-11-25 14:02:26 +00:00
Emilio Cobos Álvarez
ebe0ec0cbc Bug 1388910 - Remove -moz-user-modify property. r=dshin
We successfully unshipped it in bug 1920118.

Differential Revision: https://phabricator.services.mozilla.com/D229530
2024-11-19 19:35:35 +00:00
David Shin
d3774cf0e2 Bug 1923955: Part 3 - Add anchor-size() to math functions as CalcNode. r=firefox-style-system-reviewers,boris
Differential Revision: https://phabricator.services.mozilla.com/D229038
2024-11-15 20:56:03 +00:00