Commit Graph

305 Commits

Author SHA1 Message Date
Olivier Philippon
e70f8a4333 [tests][e2e] Add a test for Widget#scroll_to_widget() 2022-05-11 10:10:11 +01:00
Will McGugan
8f38ea4494 span refinements 2022-05-10 17:37:27 +01:00
Will McGugan
f8c7566ecd Merge branch 'css' into compositor-granularity 2022-05-10 16:06:00 +01:00
Will McGugan
295273c974 fix for test 2022-05-10 13:40:47 +01:00
Will McGugan
7508bd4d84 Merge branch 'css' into scroll_to_widget 2022-05-10 13:38:05 +01:00
Olivier Philippon
e37036c816 [css] Add a "Did you mean" suggestion when the value of a color is wrong but we can find a close one 2022-05-10 11:13:38 +01:00
Will McGugan
20c3220d73 improved compositor granularity 2022-05-10 10:30:16 +01:00
Olivier Philippon
72c9622b82 [layouts] Address feedback on "Fix vertical layout bug with centered content" PR 2022-05-10 09:12:55 +01:00
Will McGugan
580edb4f4b comment and tests 2022-05-06 16:39:03 +01:00
Olivier Philippon
7843683f5c [layouts] make integration test pass on Windows 2022-05-06 16:32:50 +01:00
Olivier Philippon
2d25807f49 [layouts] Fix vertical layout bug with centered content 2022-05-06 12:16:13 +01:00
Olivier Philippon
a92f0f7ec5 [tests] Working on an integration test for the vertical layout 2022-05-06 10:35:52 +01:00
Darren Burns
43f65d73ae Pass Rich Style object into Textual render method 2022-05-06 10:20:05 +01:00
Darren Burns
e473e4873a Add style param to Widget render method 2022-05-05 16:06:49 +01:00
Will McGugan
bc497e0abe added auto height 2022-05-05 14:38:22 +01:00
Will McGugan
e382fc14b1 add new can_focus_children attribute 2022-05-05 10:36:59 +01:00
Will McGugan
7ae4c73a7a Merge pull request #458 from Textualize/tab-focus
Tab focus
2022-05-04 14:15:40 +01:00
Will McGugan
caaf44b738 Added focusable_children property 2022-05-04 13:50:05 +01:00
Will McGugan
66fabe00db Merge pull request #464 from Textualize/windows-ci
Windows CI
2022-05-04 13:38:13 +01:00
Darren Burns
7ba8272318 Merge branch 'css' into windows-ci 2022-05-04 12:31:19 +01:00
Darren Burns
d23154b391 Skip devtools tests on Windows too due to connection issue 2022-05-04 12:30:17 +01:00
Darren Burns
07c14c6e64 Fix broken overflow, add regression test 2022-05-04 12:11:12 +01:00
Will McGugan
eaf5d11fed Merge pull request #461 from Textualize/devtools-macos-ci-skip
Skip CI-based MacOS devtools tests
2022-05-04 11:31:00 +01:00
Will McGugan
740c4ce61b move tint 2022-05-04 11:26:59 +01:00
Will McGugan
df3cb0510f test for tint 2022-05-04 11:25:42 +01:00
Will McGugan
8eff1aa01e Add test 2022-05-04 11:18:28 +01:00
Will McGugan
fa664d36e7 Merge branch 'css' into tab-focus 2022-05-04 11:04:38 +01:00
Will McGugan
4337da8019 docstrings 2022-05-04 11:02:33 +01:00
Will McGugan
a2da5546bd focus traversal 2022-05-04 10:54:20 +01:00
Darren Burns
b973234433 Fix skipif expression 2022-05-04 10:48:27 +01:00
Darren Burns
5e220b9468 Remove unused imports 2022-05-04 10:31:11 +01:00
Darren Burns
4a6b5a31f4 Merge pull request #459 from Textualize/expanded-css-hex-support
Support 3 and 4 character hex strings for colours
2022-05-04 10:23:54 +01:00
Darren Burns
74540d0f6c Skip CI-based MacOS devtools tests 2022-05-04 10:21:31 +01:00
Darren Burns
bee66d4955 Use fstrings instead, test 3 and 4 character css hex colours 2022-05-04 09:55:41 +01:00
Darren Burns
568f183862 Fix test asserting that we dont support hex3 values 2022-05-03 17:32:25 +01:00
Olivier Philippon
26f138e69b [css] Address "did you mean" PR feedback 2022-05-03 15:40:06 +01:00
Olivier Philippon
f5aac5d028 [css] Use a HelpText for unknown CSS property name errors 2022-05-03 14:52:32 +01:00
Olivier Philippon
2c03f8cfe1 [css] Add a "did you mean" suggestion when an unknown CSS property is spotted
So using "bckgroundu: red" in a CSS file will report _"unknown declaration 'bckgroundu'; did you mean 'background'?"_
2022-05-03 14:52:32 +01:00
Will McGugan
23fdfa39c3 typing fix 2022-04-29 14:57:18 +01:00
Will McGugan
547e515017 debug feature 2022-04-29 14:32:14 +01:00
Will McGugan
cbbcf72823 features tests 2022-04-29 14:20:43 +01:00
Will McGugan
1a3f65bb76 Merge branch 'css' into style-error-improvements 2022-04-29 10:56:27 +01:00
Will McGugan
dd8b11be87 Merge branch 'css' into add-web-colors-management-and-prefix-ansi-ones 2022-04-29 10:47:40 +01:00
Will McGugan
8e821d4113 lazy parse_rules 2022-04-29 10:34:35 +01:00
Will McGugan
233c2c4075 fix css reload 2022-04-29 10:20:32 +01:00
Olivier Philippon
005943e79b Merge pull request #436 from Textualize/bugfix-display-none-is-being-ignored-in-vertical-and-horizontal-layouts
[layout][bugfix] Horizontal & Vertical layouts shouldn't display children that have `display: none`
2022-04-28 15:01:20 +01:00
Olivier Philippon
eedec6c863 [colors] Merge the first 16 ANSI colors with the named Web ones, add "transparent" 2022-04-28 15:00:26 +01:00
Olivier Philippon
a304334628 [colors] Add management of named Web colors to our CSS processing, prefix ANSI ones with ansi_ 2022-04-28 14:21:02 +01:00
Olivier Philippon
72555f4a77 [dom] Simplify the implementation of the displayed_children property 2022-04-28 12:26:30 +01:00
Olivier Philippon
d0b8cacc35 [css][bugfix] CSS colors can now have digits at the end of their names 2022-04-28 10:44:05 +01:00