-
-
Notifications
You must be signed in to change notification settings - Fork 893
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
fix: Better support for intrinsics, table, vertical-align, and display #1306
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1306 +/- ##
==========================================
- Coverage 64.91% 63.96% -0.95%
==========================================
Files 38 39 +1
Lines 2981 3022 +41
==========================================
- Hits 1935 1933 -2
- Misses 1046 1089 +43 ☔ View full report in Codecov by Sentry. |
context.styledElement!.style.display == Display.inlineBlock) && | ||
final style = context.styledElement!.style; | ||
final display = style.display ?? Display.inline; | ||
if (display.displayListItem || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can remove this
], | ||
style: Style(), | ||
), | ||
child: SizedBox.expand( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now allows nested tables I think, which is great! Can we still use a wrapper TagWrapExtension to make the table horizontally scrollable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question, I didn't check that in my testing. I'll look over that again and let you know!
What does this pr do? |
Sorry @Sembauke I opened this right as a flight I was waiting for started boarding, so it didn't include any details and still needs some tests written. Mainly, this fixes #1165 by properly interpreting the CSS This PR also expands the |
88079a2
to
90550dd
Compare
Any news update? I have same issue, when i use Html Widget as CupertinoAlertDialog content. |
For me, the current beta version doesn't correctly calculate the intrinsic height, so I'm using a dependency override from this branch (which works great for my needs!). When is this expected to be merged into a (pre)release? |
Hey! Any ETA when this gonna be merged and released? @Sub6Resources |
Greetings! Any update? I have the same issue... |
Hey @Sub6Resources! Really appreciate your efforts on this PR, it helps a lot to fix an existing issue for a lot of the plugin's users. Do we have any expected timeline for it to be released as we blocked by it for releasing a new feature for our company? |
No ETA? I'm facing same problem |
This PR causes a regression in nested list alignment in the following HTML snippet. <div> <ol> <li> <ul> <li>to read</li> </ul> <div> <div> <div> <div> ミルトンの <ruby>作 <rt>さく</rt> </ruby> <ruby>品 <rt>ひん</rt> </ruby>を <span>読んだ</span>ことがありますか。 </div> <div>Have you ever read Milton's works? <span>[1]</span></div> </div> </div> </div> </li> <li> <ul> <li>to recite (e.g. a sutra)</li> <li>to chant</li> </ul> </li> <li> <ul> <li>to predict</li> <li>to guess</li> <li>to forecast</li> <li>to read (someone's thoughts)</li> <li>to see (e.g. into someone's heart)</li> <li>to divine</li> </ul> <div> <div> <div> <div> <ruby>彼 <rt>かの</rt> </ruby> <ruby>女 <rt>じょ</rt> </ruby>の <ruby>心 <rt>こころ</rt> </ruby>の <ruby>動 <rt>うご</rt> </ruby>きを <span>読む</span>ことさえできなかった。 </div> <div> I could not even make a guess at the working of her mind. <span>[2]</span> </div> </div> </div> </div> </li> <li> <ul> <li>to pronounce</li> <li>to read (e.g. a kanji)</li> </ul> </li> <li> <ul> <li>to decipher</li> <li>to read (a meter, graph, music, etc.)</li> <li>to tell (the time)</li> </ul> <div> <div> <div> <div> <ruby>私 <rt>わたし</rt> </ruby>の <ruby>頭 <rt>あたま</rt> </ruby>は <ruby>楽 <rt>がく</rt> </ruby> <ruby>譜 <rt>ふ</rt> </ruby>を <span>読む</span>ようにはよく <ruby>慣 <rt>な</rt> </ruby>らされて <ruby>居 <rt>お</rt> </ruby>りますが、どうも <ruby>暗 <rt>あん</rt> </ruby> <ruby>号 <rt>ごう</rt> </ruby>を <span>読む</span>には <ruby>適 <rt>てき</rt> </ruby>しません。 </div> <div> My mind is quite accustomed to reading music, but deciphering secret codes is not its forte. <span>[3]</span> </div> </div> </div> </div> </li> <li> <ul> <li>to count</li> <li>to estimate</li> </ul> <div> <div> <div>Note</div> <div>now mostly used in idioms</div> </div> <div> <div> <div> <span>See:</span> <a> <span >さばを <ruby>読 <rt>よ</rt> </ruby>む </span> </a> </div> <div> to manipulate figures to one's advantage; to count wrongly on purpose; to inflate or deflate one's age </div> </div> </div> </div> </li> <li> <ul> <li>to read (a kanji) with its native Japanese reading</li> </ul> <div> <div> <div>Note</div> <div>also written as 訓む</div> </div> </div> </li> </ol> </div> 3.0.0-beta.2 (Expected)Result on this PR |
No description provided.