| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Some css parser tests were relying on the parser preserving
some units. Update them. The numbers look uglier this way,
but they are the same numbers the css machinery was using
anyway.
|
|
|
|
| |
We now print colors differently in some places.
|
|
|
|
| |
Some of the expected output needs to be updated.
|
|
|
|
|
|
|
|
| |
We weren't correctly ending the ( ) block when encountering an error.
Testcases added.
Fixes #2281
|
|
|
|
| |
This reverts part of 91497348bf1ea90ef1056bdc8727bbea645c21e3
|
|
|
|
|
|
|
| |
This change was lost during the parser changes, but the newly added test
exposes it.
And fix the expected error, the syntax has changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bug was introduced in commit:
9b7640b8 by Benjamin Otte, 2012-03-26 17:24:02
styleproperty: Make _gtk_style_property_parse_value() return a CssValue
In that commit, `values` changed from `GValue*` to `GtkCssValue**`,
but one `!G_IS_VALUE (&values[8])` was left untouched. As a result,
if `border` shorthand contains anything after color, it might crash,
depending on memory layout.
New test included.
Fixes: #751
|
|
|
|
|
|
|
|
|
|
| |
The expander icon is renamed from "arrow" to "expander".
The expander widget itself is renamed from "expander" to
"expander-widget" (Better ideas welcome).
This makes it possible to have an "expander" icon in more places then
the GtkExpander widget (in particular in tree lists) and not
confuse it with arrows.
|
|
|
|
| |
And incidentally make the CSS node docs correct again.
|
| |
|
|\
| |
| |
| |
| | |
testsuite: Remove dangling references to box-packing tests
See merge request GNOME/gtk!997
|
| |
| |
| |
| |
| |
| | |
These were removed in commit c47abb5f, before 3.96.0.
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|/
|
|
| |
Makes a lot more sense than the intermediate box just for its layout.
|
| |
|
| |
|
| |
|
|
|
|
| |
This surprisingly decodes data URLs.
|
|
|
|
| |
I did somethig wrong there. Whoops
|
| |
|
|
|
|
| |
Testcases included.
|
|
|
|
|
|
| |
Otherwise we infinitely end up with the error again.
Testcases added.
|
|
|
|
| |
... instead of g_spawn(). Avoids having to create a temp file, too.
|
|
|
|
| |
We have more accurate section printouts now and they are used here.
|
|
|
|
|
|
|
| |
Instead of just checking that the line of the error message is correct,
assert that start and end position are on the correct character offset.
Also fix all the tests to conform to this.
|
|
|
|
|
|
| |
Make the test use an actual integer property that accepts negative
numbers (opacity) instead of one that wants units (margin-top) or
can't deal with negative numbers (everything else).
|
|
|
|
| |
Now that we have GtkCssLocation, actually use it.
|
|
|
|
|
| |
Some errors are now properly detected as unknown values when previously
they were just treated as syntax errors.
|
| |
|
|
|
|
|
|
| |
This way, the arguments can now really be speicified in any order.
A new testcase testing all the ordering possibilities has been added.
|
|
|
|
|
| |
This conforms to what Pango does and to the CSS4 spec. And it makes the
parsing code easier. So let's go for it.
|
|
|
|
|
|
|
|
|
|
| |
This library is meant to be the new CSS library that gets used from GDK,
GSK and GTK for string printing and parsing.
As a first step, move GtkCssProviderError into it.
While doing so, split it into GtkCssParserError (for critical problems)
and GtkCssParserWarning (for non-critical problems).
|
|
|
|
|
|
|
|
|
|
| |
The `buttons` test for CSS nodes sets the second RadioButton as the
active one, whereas the first RadioButton is not set as active.
Nevertheless, the reference output says that the first radio button
should match the `:checked` selector, whereas the second radio button
should not.
The fact that the test currently passes is a mystery.
|
|
|
|
|
| |
Run the UI files through `gtk-builder-tool simplify --3to4` to update
the layout properties.
|
|
|
|
| |
Run gtk4-builder-tool simplify --3to4 over all ui files.
|
|
|
|
|
|
| |
It was unused through all of GTK 3, so it is not worth supporting.
The best Windows themes do not make use of it at all.
|
| |
|
| |
|
|
|
|
| |
Flat is gone.
|
|
|
|
| |
The entries have changed. Reflect that.
|
|
|
|
|
| |
These now show images as children of the switch,
as expected.
|
|
|
|
|
| |
Testing the correct css order for mixed pack-start/pack-end cases
doesn't make sense if boxes don't have a notion of pack-type anymore.
|
|
|
|
| |
We don't technically hide the arrow nodes anymore.
|
| |
|
|
|
|
|
| |
Make :first-child always be the first child, i.e. the leftest one in LTR
and the rightest one in RTL.
|
| |
|
|
|
|
|
|
| |
the -gtk-scaled() change in the previous commit makes it so
that we now print out the scale factors. Update the expected
output of affected tests to take that into account.
|
|
|
|
|
|
|
| |
The CSS color spec version 4 introduces this, support has hit Safari,
Chrome and Firefox, so this looks like a feature that's here to stay.
https://drafts.csswg.org/css-color/#hex-notation
|
| |
|
| |
|
| |
|