Repository navigation
Create text-cutoff-reflow-lf4ym8 - #2447
WilcoFiers wants to merge 2 commits into
Conversation
Split from #2429. Original work by Helen Burge. Co-authored-by: HelenBurge <41951878+HelenBurge@users.noreply.github.com>
❌ Deploy Preview for act-rules failed.
|
|
Following up on my reflow data for #2446: this draft has no reviews yet, so here's what I found running its examples with the same setup (each example as its own page in Chrome 156, measured at 1280×1024 and 320×256, plus floorcheck's reflow check at 320px). 1. Most failed examples fail by scrolling, not by cutting text off. Failed Examples 1, 3, 4, 5 and 8 make the whole page scroll sideways at 320px (by 288, 188, 95, 118 and 8px), and in each of them all the text can be reached by scrolling. In Failed Example 1, for instance, 2. Two failed examples look the same at 1280×1024. Failed Example 2 (a 200px box with an ellipsis) is truncated the same way at 1280×1024, and the two paragraphs in Failed Example 7 overlap by 8px at both sizes. Wilco suggested on #2445 scoping the rule to content that is visible in the wide view and hidden in the narrow view. If that applies here too, these two need something that only happens at the narrow size, like a media query. Failed Example 6 is the clean case: the paragraph fits on one line at 1280, and at 320 its second line is cut at the 40px edge. 3. Passed and inapplicable examples overlap.
Smaller things:
Happy to rerun these whenever the examples change. I used an AI assistant to help run the checks and draft this comment. I verified the results myself. |
First draft of the text-cutoff-reflow rule: text is not cutoff at 320 CSS pixels.
Split from #2429 so each reflow rule can be reviewed independently. Original work by @HelenBurge.
Related to #2424.
Need for Call for Review:
This will require a 2 weeks Call for Review
Pull Request Etiquette
When creating PR:
developbranch (left side).After creating PR:
Rule,DefinitionorChore.When merging a PR:
How to Review And Approve
Made with Cursor