aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into flex_layoutYuri Kobets2024-01-314-2/+25
|\
| * reverted whitespace-only changesMichelCalonder2023-12-282-6/+4
| |
| * used string_id instead of stringMichelCalonder2023-12-261-5/+5
| |
| * support for counter_s_MichelCalonder2023-12-252-1/+2
| |
| * included siblings in search so exapmple 2 (H1/H2, not nested) works tooMichelCalonder2023-12-211-2/+4
| |
| * moved m_counter_values and corresponding functions to element.hMichelCalonder2023-12-202-7/+12
| |
| * started support int values for counter-reset and counter-incrementMichelCalonder2023-12-131-2/+4
| |
| * moved isnumber to html helper functions for later reuseMichelCalonder2023-12-131-1/+3
| |
| * fixed issue after merge (due to beautifying, type change from ↵MichelCalonder2023-12-082-4/+4
| | | | | | | | elements-vector to elements-list was not auto-merged)
| * Merge branch 'master' into css_counters_basicYuri Kobets2023-12-0822-307/+588
| |\
| * | basic implementaion for css countersMichelCalonder2023-12-082-1/+14
| | |
* | | flexbox: some tests are resolvedYuri Kobets2024-01-311-0/+11
| | |
* | | flexbox rendering fixesYuri Kobets2024-01-281-4/+20
| | |
* | | flex: refactoring flexbox rederingYuri Kobets2024-01-254-86/+258
| | |
* | | flex: support for auto-margins in the cross directionYuri Kobets2024-01-111-8/+16
| | |
* | | flex: added support for align-items: baselineYuri Kobets2024-01-097-14/+44
| | |
* | | flex: support for items max-width/max-height and auto-marginsYuri Kobets2024-01-061-4/+12
| | |
* | | flex: fix auto-shrink testsYuri Kobets2024-01-041-10/+8
| | |
* | | flex: fixes in rendering of the justify-content css propertyYuri Kobets2023-12-291-2/+9
| | |
* | | Scale borders radius to prevent corner overlapYuri Kobets2023-12-291-0/+30
| | | | | | | | | | | | | | | | | | Ref: https://www.w3.org/TR/css-backgrounds-3/#corner-overlap Also changes in cairo_linux container to support corners with different radius.
* | | flex: more flex tests passedYuri Kobets2023-12-281-7/+27
| | |
* | | flex: fixed rendering issuesYuri Kobets2023-12-251-1/+1
| | |
* | | flex: added support for align-content propertyYuri Kobets2023-12-231-1/+3
| | |
* | | flex: added order property supportYuri Kobets2023-12-235-1/+30
| | |
* | | added support row-reverse and column-reverse for flex-directionYuri Kobets2023-12-221-3/+5
| | |
* | | added support for start, end values for align_items css propertyYuri Kobets2023-12-211-1/+4
| | |
* | | flex layout: support for flex-direction: columnYuri Kobets2023-12-171-0/+55
| | |
* | | flex layout: small refactoringYuri Kobets2023-11-071-21/+0
| | |
* | | flex layout - the first implementationYuri Kobets2023-11-054-21/+9
| |/ |/|
* | Added support for caption-side CSS propertyYuri Kobets2023-08-014-7/+35
| |
* | Added tags figure and fugcaption into master cssYuri Kobets2023-08-011-0/+12
| |
* | refactor render_item based classesYuri Kobets2023-06-138-221/+282
| | | | | | | | All render_item based classes are moved into the own headers
* | fixed rendering of ::before and ::after elementsYuri Kobets2023-06-081-1/+0
| | | | | | | | | | | | | | * now ::before and ::after elements are created if content is not defined * styles ::before and ::after without other selectors are applied to the already created before/after elements
* | optimization: elements_vector replaced with elements_listYuri Kobets2023-06-075-16/+19
| | | | | | | | | | Also added element::children() method. Closes issue #27
* | Process align attribute for table tag via master.cssYuri Kobets2023-06-071-0/+13
| | | | | | | | Fixes issue #114
* | Fixed calculating min with for elements with floatsYuri Kobets2023-06-073-4/+4
| | | | | | | | Fixes issue #99
* | Optimizing floating boxes renderingYuri Kobets2023-06-065-50/+80
| | | | | | | | | | | | | | | | | | * is_floats_holder function is renamed to is_block_formatting_context * All floating boxes related functions are moved to new class formatting_context * The class formatting_context was passed as argument to the render function * render function is now is wrapper for _render. The render function creates formatting_context when required
* | blocks re-rendering refactorYuri Kobets2023-05-281-2/+2
| | | | | | | | | | | | moved display property based re-rendering from render_item_block::render to the top functions: place_float, place_inline and render_item_block_context::_render_content
* | fixed floating boxes rendering, apply box-sizing to min/max width/heightYuri Kobets2023-05-132-9/+17
| |
* | changed signature of document_container::set_clipYuri Kobets2023-05-121-1/+1
| | | | | | | | Removed arguments valid_x and valid_y because they are always true
* | fixed rendering elements with position absoute and fixedYuri Kobets2023-05-121-6/+6
| | | | | | | | | | | | | | | | Also: * refactoring: have_parent is replaced with is_root in render_item * fixed: The tag <body> is not floats holder by default * expanding <html> and <body> elements auto-expanding up to client rectangle
* | fixed rendering of <html> and <body> tagsYuri Kobets2023-05-124-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | * Removed "width: 100%; height: 100%" from <html> style * extend <html> and <body> elements to the client rectangle if width/height is auto * Reverse inherit for <html> background is working again * Always draw <html> element background into document clipping area to fill entire "browser window". * Added document::content_width and document::content_height. These methodts return the document size without <html> and <body> tags for using in tests and other applications
* | refactoring: rename have_parent to is_rootYuri Kobets2023-05-101-2/+3
| |
* | Rendering refactoringYuri Kobets2023-05-092-62/+82
| | | | | | | | | | | | | | | | | | * max_width argument removed from _render function * added render_width into containing_block_context structure. This member should be used to render element instead of max_width * _render protected function is replaced with render function * apply auto-margins from parent element. Auto margins must not be applied inside render function
* | fix re-render table into returned min width in block contextYuri Kobets2023-04-251-1/+1
| |
* | fixed support for box-sizing: border-boxYuri Kobets2023-04-241-0/+30
| |
* | Fixed: (min/max) width/height calculating with percent units.Yuri Kobets2023-03-294-30/+85
| |
* | remove background.cppstasoid2023-02-251-1/+10
|/
* fix: "inherit" doesn't workstasoid2023-02-251-0/+6
|
* support multiple background imagesstasoid2023-02-258-62/+144
|