Repository navigation
layout: Draw the insertion point in input elements. - #7644
Conversation
|
This is a really nice series of self-contained commits. Nicely done! |
|
Reviewed 1 of 1 files at r1, 1 of 1 files at r2, 1 of 1 files at r3, 3 of 3 files at r4, 6 of 6 files at r5, 1 of 1 files at r6, 1 of 1 files at r7, 1 of 1 files at r8, 4 of 4 files at r9. components/layout/construct.rs, line 723 [r5] (raw file): Really we shouldn't be rendering generated content in Perhaps enum TextContent {
Text(String),
GeneratedContent(Vec<ContentItem>),
}Comments from the review on Reviewable.io |
Gecko has a `Dump()` routine in a similar spirit.
repeating the literal value everywhere. Factoring this value out into a public constant makes it easier to create `Au` constants in other modules.
caret in an input element.
throughout layout for input elements.
|
Changed that method. @mbrubeck r? |
|
Reviewed 6 of 6 files at r10. Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
📌 Commit 757e2cf has been approved by |
layout: Draw the insertion point in input elements. Known issues: * The caret doesn't show up if there's no text present, because we don't create text runs in that case. This should be a followup. * Text runs don't support decomposing ligatures into their constituent subglyphs for advance computation, so the caret won't appear inside a ligature. This is a text run bug. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7644) <!-- Reviewable:end -->
|
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
Known issues:
r? @mbrubeck