Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bytecode: Change unit representation, so that length has a bit set. | Michael Drake | 2020-11-15 | 1 | -100/+100 |
| | | | | This means that we can use a mask to check the unit class. | ||||
* | tests: Add test for dodgy media block | Daniel Silverstone | 2019-12-01 | 2 | -0/+10 |
| | | | | | | | To ensure we don't regress and fail on media blocks which end with selectors with no ruleset, add a test to that effect. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Tests: Add test for non-inherited properties. | Michael Drake | 2019-05-12 | 1 | -0/+128 |
| | | | | | | | These were broken before the uncommon extension block was dropped. Based on test provided by: https://bugs.netsurf-browser.org/mantis/view.php?id=2641 | ||||
* | Tests: Update for new API for media queries. | Michael Drake | 2019-05-04 | 1 | -13/+14 |
| | | | | Signed-off-by: Michael Drake <Michael Drake tlsa@netsurf-browser.org> | ||||
* | Tests: fix illegal display value test. | John-Mark Bell | 2019-03-10 | 1 | -1/+1 |
| | | | | | | | | | Recovery from malformed property values involves matching the various nesting mechanisms. Thanks to the bug in the parseAny state machine, this code was never run. The test data contained mismatched open parentheses, causing the recovery logic to continue reading until EOF. Fix the test input to match the expectations of the test assertions. | ||||
* | Media Queries: API for stylesheet import doesn't take media now. | Michael Drake | 2019-03-10 | 2 | -6/+2 |
| | |||||
* | Tests: Passing NULL to memcmp is undefined. | Michael Drake | 2018-07-28 | 1 | -1/+2 |
| | | | | test/parse2-auto.c:222:39: runtime error: null pointer passed as argument 2, which is declared to never be null | ||||
* | Tests: Fix undefined behaviour in css_fixed printing. | Michael Drake | 2018-07-28 | 1 | -1/+1 |
| | | | | test/number.c:137:22: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself | ||||
* | Tests: add tests for new length units. | Lucas Neves | 2017-11-13 | 5 | -0/+2550 |
| | |||||
* | Tests: Fixes sizing of font-size: smaller in selection test. | Lucas Neves | 2017-10-21 | 2 | -2/+2 |
| | |||||
* | Tests: Remove invalid lines from selection test. | Lucas Neves | 2017-10-21 | 1 | -4/+0 |
| | |||||
* | Fixes use of spaces instead of tabs for whitespace. | Lucas Neves | 2017-10-21 | 1 | -61/+61 |
| | |||||
* | Tests: Add support and selection tests for the flexbox properties. | Lucas Neves | 2017-10-21 | 2 | -0/+6490 |
| | |||||
* | Tests: Add support and parsing tests for the flexbox properties. | Lucas Neves | 2017-10-21 | 3 | -15/+1933 |
| | |||||
* | Unit tests: Add non-integer NUMBER parsing test. | Michael Drake | 2017-09-20 | 1 | -0/+8 |
| | |||||
* | Strip trailing whitespace. | Michael Drake | 2017-09-04 | 11 | -222/+222 |
| | |||||
* | Tests: Add box-sizing selection tests. | Michael Drake | 2017-04-27 | 1 | -0/+200 |
| | |||||
* | Tests: Dump box-sizing property in selection tests. | Michael Drake | 2017-04-27 | 2 | -0/+69 |
| | |||||
* | Tests: Add parser tests for box-sizing. | Michael Drake | 2017-04-27 | 1 | -0/+33 |
| | |||||
* | Tests: Add support for dumping the box-sizing property. | Michael Drake | 2017-04-27 | 1 | -0/+11 |
| | |||||
* | Tests: Add box-sizing bytecode unit tests. | Michael Drake | 2017-04-27 | 1 | -0/+58 |
| | |||||
* | Remove option to support not storing data on DOM nodes. | Michael Drake | 2016-11-19 | 5 | -31/+14 |
| | | | | It was complicating lifetimes and ownership. | ||||
* | Intern partial styles. | Michael Drake | 2016-11-19 | 1 | -1/+4 |
| | | | | | Note this changes the public API. We can't compose directly over child style now, since it may be interned. | ||||
* | After composing styles, intern the result in the style sharing arena. | Michael Drake | 2016-11-19 | 1 | -1/+1 |
| | | | | | Note this changes the API. Selection tests updated. | ||||
* | Change how presentational hints are handled. | Michael Drake | 2016-02-02 | 1 | -6/+7 |
| | | | | | | | | | | | | | | | Previously, we performed normal selection from CSS sources, and then iterated over all the properties in the populated computed style. If the properties were unset or their values were not from either a UA stylesheet or user stylesheet with !important set, then we asked the client program (e.g. NetSurf) if there were any presentational hints for that node, for each such property. In the worst case this triggered N_PROPERTIES * N_NODES calls back to the client program, even for properties that can't be set via HTML attributes. The new API asks the client to supply a list of all the presentational hints that apply to the given node. For most nodes on modern documents, this is 0. Any presentational hints are applied before selection from CSS sources. | ||||
* | Testutils: undef assert before use | John-Mark Bell | 2015-07-18 | 1 | -0/+1 |
| | |||||
* | Fix build with gcc2. | Adrien Destugues | 2015-03-21 | 1 | -3/+4 |
| | |||||
* | Implement absolutification for column-rule-width. | Michael Drake | 2015-01-10 | 1 | -47/+47 |
| | |||||
* | Sync public getter wrapper's absolutification handling. | Michael Drake | 2015-01-10 | 1 | -111/+111 |
| | |||||
* | Ensure letter and word spacing are always absolutified. | Michael Drake | 2015-01-02 | 1 | -32/+32 |
| | |||||
* | Fix up test data. | Michael Drake | 2014-12-31 | 1 | -1551/+1551 |
| | |||||
* | Make it compose styles. | Michael Drake | 2014-12-31 | 1 | -6/+37 |
| | |||||
* | Add break-* property selection tests. | Michael Drake | 2014-12-29 | 1 | -0/+309 |
| | |||||
* | Dump break-* properties from computed styles, and update test data. | Michael Drake | 2014-12-29 | 2 | -0/+240 |
| | |||||
* | Add test case. | Michael Drake | 2014-12-29 | 1 | -2/+102 |
| | |||||
* | Update test data for uncommon property default value fixes. | Michael Drake | 2014-12-29 | 1 | -122/+122 |
| | |||||
* | Add test for column-* properties. | Michael Drake | 2014-12-06 | 1 | -44/+143 |
| | |||||
* | Add column-width to computed style dumping, and update test data. | Michael Drake | 2014-12-06 | 2 | -0/+70 |
| | |||||
* | Add column-span to computed style dump and update test data. | Michael Drake | 2014-12-06 | 2 | -0/+62 |
| | |||||
* | Add column-rule-width to computed style dump, and update unit tests. | Michael Drake | 2014-11-16 | 2 | -0/+76 |
| | |||||
* | Add column-rule-style to computed style dumper, and update unit tests. | Michael Drake | 2014-11-16 | 2 | -0/+86 |
| | |||||
* | Fix column-fill computed style offset. | Michael Drake | 2014-11-16 | 1 | -22/+22 |
| | |||||
* | Add column-rule-color to computed style dumper and update unit tests. | Michael Drake | 2014-11-15 | 2 | -0/+60 |
| | |||||
* | Add column-gap dumping to test rig, and update test data. | Michael Drake | 2014-11-07 | 2 | -0/+70 |
| | |||||
* | Add dumping of column-fill property to selection test rig. Update test data. | Michael Drake | 2014-11-07 | 2 | -0/+62 |
| | |||||
* | Improve output when selection test fails. | Michael Drake | 2014-10-04 | 1 | -0/+38 |
| | | | | Makes it easier to spot where the difference is. | ||||
* | Update computed style dumper to dump column-count, and update test data. | Michael Drake | 2014-10-04 | 2 | -3/+66 |
| | |||||
* | Improve src/parse/important.c coverage to 98.4% | Michael Drake | 2014-07-24 | 2 | -0/+449 |
| | |||||
* | Add support for CSS3 overflow-x and overflow-y properties. | Michael Drake | 2014-06-01 | 6 | -58/+262 |
| | | | | | | | | Now, overflow is a shorthand property setting both overflow-x and overflow-y. The getter for the computed overflow has been removed, and replaced with two for overflow-x and overflow-y. | ||||
* | print size_t values in a portable way | David Tardon | 2014-01-13 | 1 | -5/+7 |
| | | | | Signed-off-by: John-Mark Bell <jmb@netsurf-browser.org> |