Michael Ragazzon
|
21a0ec2acc
Merge branch 'develop'
|
2 years ago |
Dominik Thalhammer
|
801b23945d
On-demand rendering (power saving mode) (#436)
|
2 years ago |
Michael Ragazzon
|
9e091dff46
Tweak smooth scrolling, smooth out the velocity when closing up on the scroll edge, stop the smooth scroll mode once the edge is reached
|
2 years ago |
Michael Ragazzon
|
75ab61fd9a
Propagate mouse wheel event outside context when there is nothing to scroll, see #433
|
2 years ago |
Michael Ragazzon
|
3ea69d86bd
Make smooth scrolling behavior configurable for the context
|
2 years ago |
Michael Ragazzon
|
9cf57cf037
Tweak smoothscroll velocity model
|
2 years ago |
Michael Ragazzon
|
7868be1a3b
Add smooth scrolling option to Element::ScrollIntoView
|
2 years ago |
Michael Ragazzon
|
e206617ef0
Add Element::ScrollTo, with support for smooth scrolling behavior
|
2 years ago |
Michael Ragazzon
|
c8d746192c
Scroll behavior improvements
|
2 years ago |
Michael Ragazzon
|
032791795b
Avoid autoscrolling in axis with overflow: hidden
|
2 years ago |
Michael Ragazzon
|
c501c5b549
Refactor autoscroll (scrolling with middle mouse button), enable two-axis scrolling, use quadratic velocity model with deadzone for improved feeling, see #422
|
2 years ago |
Michael Ragazzon
|
dff3104c53
Support for new display values: flow-root, inline-flex, inline-table
|
2 years ago |
Michael Ragazzon
|
e6d52f5c80
Improve stacking context such that the paint order of elements more closely follows CSS
|
2 years ago |
Michael Ragazzon
|
ad0f659677
Fixed issues with replaced elements (e.g. textarea) not rendering correctly in several situations, including when set to block display, floated, or absolutely positioned.
|
2 years ago |
Michael Ragazzon
|
72fc7bf7a8
Render local stacking context after the element's background and borders
|
2 years ago |
Michael Ragazzon
|
c6ff12ff3e
Absolutely positioned table cells
|
2 years ago |
Michael Ragazzon
|
4742dda07d
Improve and refactor layout engine, better conformance to CSS specification
|
3 years ago |
Michael Ragazzon
|
82bc9aa6ab
Fix the body element not always updating its definition
|
3 years ago |
Michael Ragazzon
|
9bba912933
Cleanup: Use appropriate types, fix unused assignments and uninitialized variables
|
3 years ago |
Michael Ragazzon
|
18b9a2a6ed
Fix missing moves and avoid some allocations
|
3 years ago |
Michael Ragazzon
|
731150ae4a
Fix unnecessary double promotion
|
3 years ago |
Michael Ragazzon
|
bd37fd2c5a
Extend Element::ScrollIntoView parameters, merges #353 with modifications
|
3 years ago |
Michael Ragazzon
|
cfae4a2351
When changing any of the top/right/bottom/left properties, we now detect if this can affect the element's size and if so dirty the layout.
|
3 years ago |
Michael Ragazzon
|
785b5e0b8a
Border-radius change should dirty decorators
|
3 years ago |
Michael Ragazzon
|
a85be1e344
Dirty styles when attributes change
|
3 years ago |
Michael Ragazzon
|
82b6bcf246
Dirty siblings when ID, class or pseudo class is changed
|
3 years ago |
Michael Ragazzon
|
0727abc99a
Add const overload to Element::GetAttribute
|
3 years ago |
Michael Ragazzon
|
4f578db6a3
Ensure selectors never match text elements
|
3 years ago |
Michael Ragazzon
|
ce85ba7596
Add 'Rml::ReleaseFontResources()' which enables garbage collection of font resources
|
3 years ago |
Michael Ragazzon
|
8b7388ecdc
Refactor ComputedValues to reduce memory usage.
|
3 years ago |