Martin McNickle
c447395c66
style: Convert mask-type #defines to an enum class.
...
Differential Revision: https://phabricator.services.mozilla.com/D60987
2020-02-12 02:43:16 +01:00
Sakura Mochizuki
017d6f0416
style: Convert dominant-baseline #defines to an enum class.
...
Differential Revision: https://phabricator.services.mozilla.com/D61046
2020-02-12 02:43:16 +01:00
Emilio Cobos Álvarez
3991ab9999
style: Make direction use an enum class.
...
Differential Revision: https://phabricator.services.mozilla.com/D60857
2020-02-12 02:43:15 +01:00
Martin McNickle
55f76be5e2
style: Convert stroke-linejoin #defines to an enum class.
...
Differential Revision: https://phabricator.services.mozilla.com/D60865
2020-02-12 02:43:15 +01:00
Ting-Yu Lin
5043695c78
style: Remove moz-prefixed aliases for column-gap and CSS multi-column properties.
...
Introduce a new pref "layout.css.prefixes.columns" to guard the prefixed
aliases.
The modification to `properties-db.js` was generated by
`./mach devtools-css-db`.
Differential Revision: https://phabricator.services.mozilla.com/D59564
2020-02-12 02:43:13 +01:00
Ting-Yu Lin
07d0eea5fb
style:- Remove column-span pref in column.mako.rs.
...
Differential Revision: https://phabricator.services.mozilla.com/D58399
2020-02-12 02:43:08 +01:00
Sean Voisen
0dfbd38532
style: Add support for logical versions of overscroll-behavior.
...
Differential Revision: https://phabricator.services.mozilla.com/D57363
2020-02-12 02:43:07 +01:00
Martin Robinson
7a5a320d74
Add support for overflow:scroll and overflow:hidden to layout_2020
...
This adds clipping and interactive scrolling support, but scrolling from
script is still not functional.
2020-01-31 17:30:29 +01:00
Simon Sapin
2720c05c4b
Add the full background shorthand
2020-01-13 21:59:46 +01:00
Simon Sapin
7c1f2335d4
Add background-repeat
2020-01-13 21:59:46 +01:00
Simon Sapin
c73dc885bb
Add background-position
2020-01-13 21:59:46 +01:00
Simon Sapin
b1dcd5ecb6
Add background-size
2020-01-13 21:59:46 +01:00
Simon Sapin
649d3cb6b4
Add background-origin
2020-01-13 21:59:46 +01:00
Simon Sapin
3874946ac6
Add background-clip
2020-01-13 21:59:46 +01:00
Simon Sapin
c6ba6c40b9
Initial rendering of background-image
2020-01-13 21:59:46 +01:00
Simon Sapin
962c85b553
Apply border-radius when painting borders
2020-01-03 15:45:28 +01:00
Emilio Cobos Álvarez
7d30a7da75
Servo build fixes.
2019-12-16 14:23:56 +01:00
jeffin143
4b62e9ff2b
style: convert NS_STYLE_VISIBILITY_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D56140
2019-12-16 14:23:56 +01:00
jeffin143
e8a3a71080
style: convert NS_STYLE_POINTER_EVENTS_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D56203
2019-12-16 14:23:56 +01:00
jeffin143
e944962fe2
style: convert NS_STYLE_ISOLATION_* to an enum class in nsStyleConsts.h.
...
Differential Revision: https://phabricator.services.mozilla.com/D55378
2019-12-16 14:23:56 +01:00
Jonathan Kew
51c1dfee2d
style: Add support for parsing of the CSS text-underline-position property.
...
Differential Revision: https://phabricator.services.mozilla.com/D54722
2019-12-15 21:03:31 +01:00
jeffin143
7e3e8e1ca8
style: convert NS_STYLE_RUBY_POSITION_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D55379
2019-12-15 21:03:15 +01:00
jeffin143
24f21f375a
style: convert NS_STYLE_TEXT_SIZE_ADJUST_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D55382
2019-12-15 21:03:10 +01:00
jeffin143
5cc43940ad
style: convert NS_STYLE_RUBY_ALIGN_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D55380
2019-12-15 21:03:04 +01:00
jeffin143
519a0e7759
style: convert NS_STYLE_TOP_LAYER_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D55377
2019-12-15 21:02:56 +01:00
Anthony Ramine
22ea33cb37
Enable cursor and pointer-events in 2020
2019-12-13 17:51:06 +01:00
Simon Sapin
58b7005a9b
Make for_maybe_position_relative
take care of relative adjustment.
2019-12-13 13:13:50 +01:00
Simon Sapin
9f4b1a0f14
Implement text-align
(except justify
)
2019-12-07 14:31:45 +01:00
Anthony Ramine
48ceb56339
Implement size extremums
2019-12-04 10:32:58 +01:00
bors-servo
40fd7910a5
Auto merge of #24928 - servo:2020-images, r=SimonSapin
...
Start supporting images in layout 2020
2019-12-01 09:53:45 -05:00
Anthony Ramine
5a360ac63d
Start supporting images in layout 2020
2019-12-01 10:56:33 +01:00
jeffin143
22509ac3d0
style: convert NS_STYLE_TEXT_ORIENTATION_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D54252
2019-11-30 20:45:05 +01:00
jeffin143
1ef7c2f96b
style: convert NS_STYLE_WINDOW_SHADOW_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D53920
2019-11-30 20:45:05 +01:00
jeffin143
f777c17f3f
style: convert NS_STYLE_OBJECT_FIT_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D54153
2019-11-30 20:45:05 +01:00
jeffin143
aa1ad6036d
style: convert NS_STYLE_IME_MODE_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D54255
2019-11-30 20:45:04 +01:00
jeffin143
576883d538
style: convert NS_STYLE_TEXT_ANCHOR_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D53956
2019-11-30 20:45:02 +01:00
jeffin143
0c44382348
style: convert NS_STYLE_STROKE_LINECAP_* to an enum class in nsStyleConsts.h
...
Differential Revision: https://phabricator.services.mozilla.com/D53908
2019-11-30 20:45:02 +01:00
jeffin143
fe93be82d2
style: use Enum class for NS_STYLE_SHAPE_RENDERING instead of #define.
...
Differential Revision: https://phabricator.services.mozilla.com/D53840
2019-11-30 20:45:02 +01:00
Tim Nguyen
c04a37982c
style: Remove nsStackFrame platform code.
...
Differential Revision: https://phabricator.services.mozilla.com/D49487
2019-11-30 20:44:56 +01:00
Anthony Ramine
b3d30d284e
Start implementing text in layout 2020
2019-11-25 10:54:46 +01:00
Anthony Ramine
7e143c7a05
Make floats not parse on layout 2020
2019-11-25 10:54:46 +01:00
Boris Chiou
0624324942
style: Extend compositor properties for motion.
...
Differential Revision: https://phabricator.services.mozilla.com/D50014
2019-11-04 13:36:32 +01:00
Emilio Cobos Álvarez
fc1233f3d2
style: Remove -moz-binding, nsStyleDisplay::mBinding and similar.
...
Differential Revision: https://phabricator.services.mozilla.com/D50556
2019-11-04 13:36:32 +01:00
Emilio Cobos Álvarez
f701192e38
style: Remove old scroll-snap implementation, and scroll snapping prefs.
...
Differential Revision: https://phabricator.services.mozilla.com/D49267
2019-11-04 13:36:32 +01:00
Simon Sapin
5eb1472a33
2020: paint borders
2019-10-24 15:06:20 +02:00
Simon Sapin
59f68525c4
2020: enable CSS parsing of properties that are (somewhat) implemented
2019-10-24 10:44:31 +02:00
Savo
38e5897353
style: Replace #define NS_STYLE_FLEX_WRAP with enum class.
...
Differential Revision: https://phabricator.services.mozilla.com/D48166
2019-10-09 13:21:35 +02:00
Brian Birtles
c349dbbaa9
style: Make various border-image-* properties interpolable.
...
Differential Revision: https://phabricator.services.mozilla.com/D46724
2019-10-09 13:21:35 +02:00
Emilio Cobos Álvarez
6b674a670b
style: Use consistent naming and shared code for out-of-flow stuff.
...
Use the functions introduced in ee17eedf3a
.
2019-10-07 16:57:18 +02:00
Anthony Ramine
9cef3eee65
Uncomment more stuff related to box construction
2019-09-19 11:58:07 +02:00