Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text layout & Sliver update & Flow Refactor #454

Open
wants to merge 42 commits into
base: main
Choose a base branch
from

Conversation

pba-cra
Copy link
Contributor

@pba-cra pba-cra commented Aug 10, 2023

  1. Refactor:FlowLayout Refactor.
    2.Feat: Text with other RenderBox layout in FlowLayout like web.
    3.Feat: Support Sliver change direction.
    4.Fix: Css Animation replay error.
    5.Fix: Sliver element delete or insert error.

@andycall andycall changed the base branch from beta/0.14.2 to main August 10, 2023 07:44
@andycall andycall force-pushed the feature/text-flow-sliver-css branch from 2ec2b48 to 4621d58 Compare August 10, 2023 07:51
@andycall andycall force-pushed the feature/text-flow-sliver-css branch from 1767140 to e6f845d Compare August 11, 2023 14:30
@pba-cra pba-cra requested a review from devjiangzhou August 17, 2023 09:29
pba-cra and others added 17 commits August 18, 2023 14:15
…ace-btween and flex main axis child margin set
	1. fix flex and flow negative margin error
	2. fix line join lineExtent not right
	3. text line box line extent error
	4. first more-line text with other text error
	5. flowlayout inline render setChildren Offset-Y baselineExtent error
	6. text more max-size, hidden error
	7. skia::text::measureTextInsideOneRun which use by TextPainer.layout(), jump the error
…ace-btween and flex main axis child margin set
	1. fix flex and flow negative margin error
	2. fix line join lineExtent not right
	3. text line box line extent error
	4. first more-line text with other text error
	5. flowlayout inline render setChildren Offset-Y baselineExtent error
	6. text more max-size, hidden error
	7. skia::text::measureTextInsideOneRun which use by TextPainer.layout(), jump the error
Copy link
Contributor

@looseyi looseyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

overflow not working, it will wrap onto a new line if content overflow

jiangzhou and others added 4 commits May 3, 2024 20:35
…w-sliver-css

# Conflicts:
#	webf/lib/src/dom/element.dart
#	webf/lib/src/dom/event.dart
#	webf/lib/src/launcher/controller.dart
#	webf/lib/src/rendering/flow.dart
#	webf/lib/src/rendering/paragraph.dart
#	webf/lib/src/rendering/text.dart
#	webf/lib/src/rendering/text_control.dart
#	webf/lib/src/widget/webf.dart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

5 participants