summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Select: Only store UA and USER origin styles if revert is usedHEADmasterMichael Drake2022-08-291-5/+13
|
* Stylesheet: Track whether stylesheet used revert property valueMichael Drake2022-08-291-0/+6
|
* Select: Move revert style tracking to separate allocationMichael Drake2022-08-292-8/+18
| | | | It's pretty big and the selection state lives on the stack.
* Tests: Add tests for explicit defaultingMichael Drake2022-08-292-0/+1453
|
* Select: Split out duplicated revert handlingMichael Drake2022-08-291-52/+47
|
* Select: Support CSS property-wide 'revert' valueMichael Drake2022-08-291-0/+79
|
* Select: Clone UA and author styles for revertMichael Drake2022-08-292-0/+38
|
* Select: Add computed style clone functionMichael Drake2022-08-292-0/+35
|
* Select: Properties: Add copy hander to dispatch tableMichael Drake2022-08-292-0/+3
|
* Select: Properties: Implement copy handler for complex propertiesMichael Drake2022-08-298-155/+306
|
* Select: Properties: Add copy handler for simple propertiesMichael Drake2022-08-29118-507/+1778
|
* Select: Support CSS property-wide 'unset' valueMichael Drake2022-08-291-3/+18
|
* Select: Support CSS property-wide 'initial' valueMichael Drake2022-08-291-3/+6
|
* Select: Make inherit flag handling aware of other default valuesMichael Drake2022-08-2970-171/+179
|
* Parse: Nongenerated properties: Explicit defaultsMichael Drake2022-08-2931-135/+363
|
* Parse: Important: Handle new explicit defaulting valuesMichael Drake2022-08-291-1/+1
|
* Parse: Explicit default support for generated propertiesMichael Drake2022-08-291-93/+93
|
* Parse: Update code generator to support new valuesMichael Drake2022-08-291-4/+42
|
* Stylesheet: Helpers for all default property valuesMichael Drake2022-08-291-1/+33
|
* Parse: Utils: Helper to get any value from flagsMichael Drake2022-08-291-0/+29
|
* Bytecode: Flag values for explicit defaultingMichael Drake2022-08-291-4/+25
|
* Docs: Bytecode: Add all CSS-wide property valuesMichael Drake2022-08-291-8/+16
|
* Parse: Propstrings: Add unset and revertMichael Drake2022-08-292-2/+4
|
* Select: MQ: Support prefers-color-scheme in boolean contextMichael Drake2022-08-281-4/+5
| | | | | In boolean context it indicates that the browser supports this feature.
* Select: MQ: Use interned strings for media featuresMichael Drake2022-08-284-36/+63
| | | | Avoids some strcmps.
* Select: Add strings for media query featuresMichael Drake2022-08-282-0/+29
|
* Select: Split out useful stringsMichael Drake2022-08-284-289/+320
|
* Selection: Media queries: Apply prefers-color-schemeMichael Drake2022-07-311-0/+33
|
* API: Client media spec: Allow colour scheme preferenceMichael Drake2022-07-311-0/+2
|
* Parse/MQ: unknown media-types do not matchJohn-Mark Bell2022-05-242-4/+22
| | | | | | | | Per https://www.w3.org/TR/mediaqueries-4/#error-handling, "An unknown <media-type> must be treated as not matching" Ensure, however, that a rule with a condition and no type behaves as if type was all.
* Parse/MQ: reject forbidden media-type identifiersJohn-Mark Bell2022-05-246-32/+122
| | | | | | "and" / "not" / "only" / "or" are forbidden, so must be rejected Add tests for these scenarios
* Select: Hash: Fix bloom instrumentation for size != 4.Michael Drake2022-03-161-1/+1
|
* Bloom: Init: Switch to memset.Michael Drake2022-03-161-21/+2
| | | | | GCC is a bit better at optimising a memset. For clang it makes no difference.
* Bloom: Style: Align function parameters.Michael Drake2022-03-161-2/+3
|
* Bloom: Docs: Sync comments with reality.Michael Drake2022-03-161-4/+11
|
* Bloom: Docs: Fix comment typo.Michael Drake2022-03-161-1/+1
|
* Selection: Optimise bloom filter merging.Michael Drake2022-03-131-2/+3
|
* Example: Add lwc_string leak report.Michael Drake2022-03-131-0/+10
|
* Example: Fix typo.Michael Drake2022-03-131-2/+2
|
* Tests: Select test runner: Avoid forward declarations.Michael Drake2021-06-161-900/+802
|
* Squash warning on apple darwin CI.Michael Drake2021-06-141-7/+9
|
* Selection: Don't duplicate unit conversion members in media descriptor.tlsa/unitsMichael Drake2021-05-1915-79/+109
|
* Selection: Remove client callback for unit conversion.Michael Drake2021-05-1912-443/+390
| | | | | | | Now clients provide a unit conversion context and libcss provides code to perform unit conversion. This reduces the amount of common code that clients have to write.
* Units: Add support for length unit conversion to libcss.Michael Drake2021-05-195-97/+677
| | | | Currently only used for unit conversion.
* Units: Remove units that nobody supports.Michael Drake2021-05-1911-111/+37
|
* Add regression test for system font callback units.Michael Drake2021-05-192-1/+143
| | | | Thanks to Ralf Junker.
* parse: Squash leak of system font names.Michael Drake2021-05-191-0/+3
|
* parse: Perform client to parse unit conversion for system fonts.Michael Drake2021-05-191-2/+45
|
* add css 3.1 complex predefined counter styles for addative systemsVincent Sanders2021-02-157-6/+155
|
* Improve list style fallback styling and range processingVincent Sanders2021-02-141-176/+231
|