Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-27 | Add SVG support for currentColor | Rodrigo Arias Mallo | |
The currentColor special value for the fill and stroke attributes allows an image to follow the same foreground color of the surounding text. | |||
2024-03-23 | Set forceValue when correcting a requisition | Rodrigo Arias Mallo | |
For cases where the parent widget has the width set to auto we need to go to the above parent to compute the available width. This is required to make tables with a width of 100% occupy the whole available width of the parent. In particular, fixes render/table-max-width.html test, which was relying on a {-1,-1,-1} requisition to have a value different than -1 in the width to consider that the CSS width is effective. | |||
2024-03-23 | Revert "Constraint width with min-width or max-width" | Rodrigo Arias Mallo | |
This reverts commit 24bcd67df29a5418d05600b038a9283a00e555d2. Fixes: https://github.com/dillo-browser/dillo/issues/99 | |||
2024-03-17 | Clamp width to min/max in getAvailWidthOfChild() | Rodrigo Arias Mallo | |
When the width is set to auto, a different branch is used to compute the width via getAvailWidth(true). The returned witdh needs to be clamped to be in the min/max-width CSS range if given, as otherwise it won't be corrected. Fixes: https://github.com/dillo-browser/dillo/issues/89 | |||
2024-03-17 | Prefer CSS max-width when width is set to auto. | Rodrigo Arias Mallo | |
When a widget has width to auto and the initial finalWidth is -1, set it by default to the max-width CSS value so it expands to the maximum available size. | |||
2024-01-08 | Constraint width in calcFinalWitdh() | Rodrigo Arias Mallo | |
Then min-width or max-width is given in the CSS style for the current widget, the returned width should be clamped by those values. The condition *finalValue != 1 was used to clamp with min-width, but it doesn't capture the situation when the finalValue was not yet set. Similarly, for the max-width, the finalWidth was only set when *finalValue == -1, which prevented the clamping when the width is set. The change always perform the clamp when finalWidth is not set or when the value exceeds the min or max value. When both min-width and max-width are given but width is -1, the resulting width is the min-witdh, as the max-width clamp rule won't trigger after setting the *finalValue to the min-witdh. | |||
2023-12-31 | Constraint width with min-width or max-width | Rodrigo Arias Mallo | |
When a widget has a parent, the calcFinalWidth() method was not being called to compute the limits of min-width or max-width given by CSS rules. The change makes the call to calcFinalWidth in all cases. | |||
2016-06-24 | typo | Jorge Arellano Cid | |
2016-06-17 | RTFL. | Sebastian Geerken | |
2016-06-14 | Whitespace. | Sebastian Geerken | |
2016-05-29 | Fix SRDOP related bug in Widget::sizeRequest. | Sebastian Geerken | |
2016-05-08 | RTFL. | Sebastian Geerken | |
2016-04-23 | GROWS: Fix rounding errors. | Sebastian Geerken | |
2016-04-23 | RTFL. | Sebastian Geerken | |
2016-04-23 | GROWS: new options allowDecreaseWidth and allowDecreaseHeight for size ↵ | Sebastian Geerken | |
correction. | |||
2016-04-13 | Removed Layout::queueQueueResizeList and optimized multiple (both nested and ↵ | Sebastian Geerken | |
sequential) queueResize. | |||
2016-04-04 | Fix typo in comment. | Sebastian Geerken | |
2016-04-04 | Remove old (#if 0'ed) debugging code. | Sebastian Geerken | |
2016-04-03 | WidgetReference: Widget::widgetReference. | Sebastian Geerken | |
2016-03-26 | RTFL. | Sebastian Geerken | |
2016-01-09 | Widget::calcExtraSpace is only called for size, not for extremes. | Sebastian Geerken | |
2016-01-09 | Better abort messages. | Sebastian Geerken | |
2016-01-09 | SRDOP: Extend Widget::calcExtraSpace and Widget::calcExtraSpaceImpl by ↵ | Sebastian Geerken | |
references. | |||
2016-01-01 | RTFL. | Sebastian Geerken | |
2016-01-01 | SRDOP: Consider references and positions in Widget::getExtremes. | Sebastian Geerken | |
2016-01-01 | SRDOP: Consider references and positions in Widget::sizeRequest. | Sebastian Geerken | |
2015-12-28 | SRDOP: Fix endless recursion. | Sebastian Geerken | |
2015-12-28 | RTFL messages. | Sebastian Geerken | |
2015-12-28 | RTFL messages. | Sebastian Geerken | |
2015-06-10 | SRDOP: Work on RTFL messages. | Sebastian Geerken | |
2015-06-08 | SRDOP: Positions relative to multiple references; design now considers ↵ | Sebastian Geerken | |
handling conflicts. | |||
2015-06-06 | SRDOP: Positions also for extremes. | Sebastian Geerken | |
2015-05-20 | Size requisitions depending on positions (SRDOP): added method signatures. | Sebastian Geerken | |
2015-01-23 | Interrupted drawing etc: cleanup. | Sebastian Geerken | |
2015-01-23 | Same simplifications for Widget::getWidgetAtPoint as for Widget::draw before. | Sebastian Geerken | |
2015-01-23 | StackingProcessingContext, GettingWidgetAtPointContext. | Sebastian Geerken | |
2015-01-23 | Interrupted drawing: cleanups, comments, documentation. | Sebastian Geerken | |
2015-01-23 | Simplified interrupted drawing. (Mouse events will follow.) | Sebastian Geerken | |
2015-01-08 | Merge with main repo. | Sebastian Geerken | |
2015-01-05 | Extremes::adjustmentWidth may now (again) be used for extremes correction. | Sebastian Geerken | |
2015-01-04 | Added Extremes::adjustmentWidth; fixed Textblock::mustBeWidenedToAvailWidth. | Sebastian Geerken | |
2015-01-03 | Merge with main repo. | Sebastian Geerken | |
2015-01-03 | Work on 'adjust_min_width' correction: updated RTFL. | Sebastian Geerken | |
2015-01-02 | Some more work on 'adjust_min_width' correction. | Sebastian Geerken | |
2015-01-02 | 'adjust_min_width' is now set by default. | Sebastian Geerken | |
2015-01-02 | Fixed 'adjust_min_width' correction. | Sebastian Geerken | |
2015-01-02 | Merge with main repo. | Sebastian Geerken | |
2014-12-31 | Some RTFL messages. | Sebastian Geerken | |
2014-12-26 | Minor changes (no actual code). | Sebastian Geerken | |
2014-12-21 | trim some spaces | corvid | |