Michael Ragazzon
|
ce949d2d5b
Refactor Property units and Box enums, and introduce NumericValue [breaking change]
|
2 years ago |
Michael Ragazzon
|
7492876298
The great formattening - format all library source code and documents
|
2 years ago |
Michael Ragazzon
|
2be642f969
Change document positioning so that inset properties now properly set the margin position of the document
|
2 years ago |
Michael Ragazzon
|
4742dda07d
Improve and refactor layout engine, better conformance to CSS specification
|
3 years ago |
Michael Ragazzon
|
82b6bcf246
Dirty siblings when ID, class or pseudo class is changed
|
3 years ago |
Michael Ragazzon
|
8b7388ecdc
Refactor ComputedValues to reduce memory usage.
|
3 years ago |
Michael Ragazzon
|
001ef4c2e9
Make a public ElementDocument::GetStyleSheetContainer function.
|
4 years ago |
Michael Ragazzon
|
f9276da68a
Add a 'theme' media query for activating and deactivating media blocks
|
4 years ago |
Michael Ragazzon
|
742894e123
Add a virtual method on elements for responding to recompilation of style sheets. Eg. new style sheets may change sprites, such as in decorators and img elements.
|
4 years ago |
Michael Ragazzon
|
79fb3b5405
- Decorators and font effects are now parsed by separate property parsers.
|
4 years ago |
Michael Ragazzon
|
dc3d23dccc
- Add a property 'resolution' to spritesheets, defines the "native" scaling of the image source.
|
5 years ago |
Michael Ragazzon
|
f0a0480e9b
Sharing style sheet containers is dangerous, clean up accordingly.
|
4 years ago |
Michael Ragazzon
|
6247f3e297
Avoid style sheet copies during load, and only compile style sheet when active media blocks change. Cleanup.
|
4 years ago |
Maximilian Stark
|
dd99820ecd
Media queries (#169)
|
4 years ago |
Maximilian Stark
|
35d373d5dd
Fix templates not refreshing their stylesheet (#171)
|
4 years ago |
Michael Ragazzon
|
9ed2af527d
Fix some issues with tabbing focus.
|
4 years ago |
Michael Ragazzon
|
6935810e12
Performance improvement when dirtying vw and vh units
|
4 years ago |
Michael Ragazzon
|
3877e3dbad
Remove unnecessary references in arguments. Add conversion between vector types.
|
4 years ago |
Maximilian Stark
|
48eda79d2c
Added VH and VW units (#162)
|
4 years ago |
Michael Ragazzon
|
baed8d6420
ElementDocument::ReloadStyleSheet: More detailed description, pass nullptr context to avoid any potential use of it which will not be cleaned up.
|
5 years ago |
Lucien Catonnet
|
01d821b76f
Remove unnecessary call to UnloadDocument in ReloadStyleSheet
|
5 years ago |
Lucien Catonnet
|
698df0ae7a
Add method to reload ElementDocument's stylesheet
|
5 years ago |
actboy168
|
b8ef1e01ab
Scripts and RCSS are now loaded in declared order, regardless of whether they are inline or external (#144)
|
5 years ago |
Michael Ragazzon
|
3cae6dadb5
Minor cleanup.
|
5 years ago |
Michael Ragazzon
|
f3287b50bb
Ignore dirtied layout during document formatting. Layouting must not require re-iteration.
|
5 years ago |
Michael Ragazzon
|
81a0d0671c
Move stylesheet property optimization into the stylesheet factory so that decorators are cached. This should make loading documents with shared stylesheets faster.
|
5 years ago |
Michael Ragazzon
|
f9aee4533a
Fix some keydown events which should stop propagation, see #124.
|
5 years ago |
Michael Ragazzon
|
f587d3abf4
Some cleanup in the layout engine.
|
5 years ago |
Michael Ragazzon
|
b2c8d8bc91
Enable focusing on the document by tabbing (with `tab-index: auto`)
|
5 years ago |
Rokas Kupstys
|
c261c1ff81
Add ability for user to override container types.
|
5 years ago |